Holds data of multiple channels.
More...
List of all members.
Public Types |
enum | MappingTypes { LinearMinMax,
LinearCentered
} |
| Legt fest, wie die Daten nach [0, 1] gemappt werden sollen. LinearMinMax: Einfache Lineare Interpolation ( min -> 0, max -> 1 ) LinearCentered: Lineare Interpolation, wobei 0 -> 0.5 und ( min -> 0 oder max -> 1 )
More...
|
Public Member Functions |
| FlowData () |
| Initializes a new instanze of the FlowData class.
|
bool | loadDataset (string filename) |
| Loads a dataset, returns true if everything successful. You have to specify the byte order used in the data.
|
int | createChannel () |
| creates a new channel and returns it's address in the channels array (line 28)
|
void | deleteChannel (int i) |
| deletes the channel and all it's data at given adress
|
FlowChannel | getChannel (int i) |
| returns a pointer to the instance of channel at given adress. This is the only way to access the channels storage (at line 28)
|
int | createChannelGeometry (int dimension) |
| creates a new channel containing the geometrical information of the given dimension (x = 0, y = 1). Returns address of the created channel in the channels array (line 28)
|
int | createChannelVectorLength (int chX, int chY, int chZ) |
| creates a new channel containing the vector lengths for the given channels (channels given by IDs). Returns address of the created channel in the channels array (line 28)
|
int | createChannelVectorLength (FlowChannel chX, FlowChannel chY, FlowChannel chZ) |
| creates a new channel containing the vector lengths for the given channels (channels given by reference). Returns address of the created channel
|
void | writeToTexture (int[] channels, Texture2D target, int maxSize, MappingTypes mapping) |
| Tastet eines oder mehrere Kanäle regelmäßig ab, ohne dass keine Dimension den Parameter maxSize übertrifft und speichert das Ergebnis nach entsprechenden Mapping in eine Textur.
|
int | getChannelCount () |
| Gibt an, wieviele Channels verfügbar sind.
|
Properties |
int | NumTimesteps [get] |
| Returns the number of timesteps.
|
Detailed Description
Holds data of multiple channels.
Member Enumeration Documentation
Legt fest, wie die Daten nach [0, 1] gemappt werden sollen. LinearMinMax: Einfache Lineare Interpolation ( min -> 0, max -> 1 ) LinearCentered: Lineare Interpolation, wobei 0 -> 0.5 und ( min -> 0 oder max -> 1 )
Constructor & Destructor Documentation
FlowMarkt::FlowData::FlowData |
( |
) |
[inline] |
Initializes a new instanze of the FlowData class.
Member Function Documentation
int FlowMarkt::FlowData::createChannel |
( |
) |
[inline] |
creates a new channel and returns it's address in the channels array (line 28)
- Returns:
int FlowMarkt::FlowData::createChannelGeometry |
( |
int |
dimension ) |
[inline] |
creates a new channel containing the geometrical information of the given dimension (x = 0, y = 1). Returns address of the created channel in the channels array (line 28)
- Parameters:
-
- Returns:
int FlowMarkt::FlowData::createChannelVectorLength |
( |
int |
chX, |
|
|
int |
chY, |
|
|
int |
chZ |
|
) |
| [inline] |
creates a new channel containing the vector lengths for the given channels (channels given by IDs). Returns address of the created channel in the channels array (line 28)
- Parameters:
-
- Returns:
creates a new channel containing the vector lengths for the given channels (channels given by reference). Returns address of the created channel
- Parameters:
-
- Returns:
void FlowMarkt::FlowData::deleteChannel |
( |
int |
i ) |
[inline] |
deletes the channel and all it's data at given adress
- Parameters:
-
FlowChannel FlowMarkt::FlowData::getChannel |
( |
int |
i ) |
[inline] |
returns a pointer to the instance of channel at given adress. This is the only way to access the channels storage (at line 28)
- Parameters:
-
- Returns:
int FlowMarkt::FlowData::getChannelCount |
( |
) |
[inline] |
Gibt an, wieviele Channels verfügbar sind.
- Returns:
- Anzahl an Channels, die geladen wurden
bool FlowMarkt::FlowData::loadDataset |
( |
string |
filename ) |
[inline] |
Loads a dataset, returns true if everything successful. You have to specify the byte order used in the data.
- Parameters:
-
- Returns:
void FlowMarkt::FlowData::writeToTexture |
( |
int[] |
channels, |
|
|
Texture2D |
target, |
|
|
int |
maxSize, |
|
|
MappingTypes |
mapping |
|
) |
| [inline] |
Tastet eines oder mehrere Kanäle regelmäßig ab, ohne dass keine Dimension den Parameter maxSize übertrifft und speichert das Ergebnis nach entsprechenden Mapping in eine Textur.
- Parameters:
-
channels | Menge an Channels die abgearbeitet werden sollen |
target | Gibt an, wo Daten gesetzt werden sollen |
maxSize | Stellt sicher, dass die Texturgröße nicht ausartet |
mapping | Left fest, wie die Daten gemappt werden sollen |
Property Documentation
int FlowMarkt::FlowData::NumTimesteps [get] |
Returns the number of timesteps.
The documentation for this class was generated from the following file:
- D:/Matthias/studium/6sem/visualisierung/workdir/Vislucsgl/FlowMarkt/FlowData.cs