\hypertarget{class_flow_channel}{
\section{FlowChannel Class Reference}
\label{class_flow_channel}\index{FlowChannel@{FlowChannel}}
}
Handles one scalar field of floats defined for each cell.  


{\tt \#include $<$FlowChannel.h$>$}

Collaboration diagram for FlowChannel:\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
\hypertarget{class_flow_channel_5565385d047b21f3e0594f66f806952f}{
void \hyperlink{class_flow_channel_5565385d047b21f3e0594f66f806952f}{setValue} (int vtxID, float val, int timestep=0)}
\label{class_flow_channel_5565385d047b21f3e0594f66f806952f}

\begin{CompactList}\small\item\em sets the value of the given vertex \item\end{CompactList}\item 
void \hyperlink{class_flow_channel_034093ee665df2c4997ba77b4ce6e2f6}{copyValues} (float $\ast$rawdata, int vtxSize, int offset, int timestep=0)
\begin{CompactList}\small\item\em takes an array containing all attributes for a vertex and copies the j-th attribute to this channel \item\end{CompactList}\item 
\hypertarget{class_flow_channel_28c78cb9aa7ebc16c962c7536d7bec26}{
float \hyperlink{class_flow_channel_28c78cb9aa7ebc16c962c7536d7bec26}{getValue} (vec3 pos, int timestep=0) const }
\label{class_flow_channel_28c78cb9aa7ebc16c962c7536d7bec26}

\begin{CompactList}\small\item\em returns the value at given position in data set coordinates (from 0 to dimX or dimY) \item\end{CompactList}\item 
\hypertarget{class_flow_channel_9d051783fc46ef9eff17c3e5d76e78e9}{
float \hyperlink{class_flow_channel_9d051783fc46ef9eff17c3e5d76e78e9}{getValue} (int vtxID, int timestep=0) const }
\label{class_flow_channel_9d051783fc46ef9eff17c3e5d76e78e9}

\begin{CompactList}\small\item\em returns the value of the given vertex \item\end{CompactList}\item 
\hypertarget{class_flow_channel_9fd2bb2b2fd933f0b6f8a929737597dc}{
float \hyperlink{class_flow_channel_9fd2bb2b2fd933f0b6f8a929737597dc}{getValueNormPos} (float x, float y, int timestep=0) const }
\label{class_flow_channel_9fd2bb2b2fd933f0b6f8a929737597dc}

\begin{CompactList}\small\item\em returns the value at given position in normalized coordinates for each dimension $<$0..1$>$ \item\end{CompactList}\item 
\hypertarget{class_flow_channel_a145c2a5a928fced8dd4664f833d3f69}{
float \hyperlink{class_flow_channel_a145c2a5a928fced8dd4664f833d3f69}{normalizeValue} (float val) const }
\label{class_flow_channel_a145c2a5a928fced8dd4664f833d3f69}

\begin{CompactList}\small\item\em scales the value according to the channel minimim and maximum, so that it lies inside of $<$0,1$>$ \item\end{CompactList}\item 
\hypertarget{class_flow_channel_8ea46429894b9fab7ad839821e0ac580}{
float \hyperlink{class_flow_channel_8ea46429894b9fab7ad839821e0ac580}{getMin} () const }
\label{class_flow_channel_8ea46429894b9fab7ad839821e0ac580}

\begin{CompactList}\small\item\em returns the minimum value found in the channel \item\end{CompactList}\item 
\hypertarget{class_flow_channel_8a158c1784d2fb075ee919389fe5b675}{
float \hyperlink{class_flow_channel_8a158c1784d2fb075ee919389fe5b675}{getMax} () const }
\label{class_flow_channel_8a158c1784d2fb075ee919389fe5b675}

\begin{CompactList}\small\item\em returns the maximum value found in the channel \item\end{CompactList}\item 
\hypertarget{class_flow_channel_aeffb57cd2213515596a9b687e77f3b7}{
float \hyperlink{class_flow_channel_aeffb57cd2213515596a9b687e77f3b7}{getRange} () const }
\label{class_flow_channel_aeffb57cd2213515596a9b687e77f3b7}

\begin{CompactList}\small\item\em returns the range = max - min \item\end{CompactList}\item 
\hypertarget{class_flow_channel_5565385d047b21f3e0594f66f806952f}{
void \hyperlink{class_flow_channel_5565385d047b21f3e0594f66f806952f}{setValue} (int vtxID, float val, int timestep=0)}
\label{class_flow_channel_5565385d047b21f3e0594f66f806952f}

\begin{CompactList}\small\item\em sets the value of the given vertex \item\end{CompactList}\item 
\hypertarget{class_flow_channel_034093ee665df2c4997ba77b4ce6e2f6}{
void \hyperlink{class_flow_channel_034093ee665df2c4997ba77b4ce6e2f6}{copyValues} (float $\ast$rawdata, int vtxSize, int offset, int timestep=0)}
\label{class_flow_channel_034093ee665df2c4997ba77b4ce6e2f6}

\begin{CompactList}\small\item\em takes an array containing all attributes for a vertex and copies the j-th attribute to this channel \item\end{CompactList}\item 
\hypertarget{class_flow_channel_28c78cb9aa7ebc16c962c7536d7bec26}{
float \hyperlink{class_flow_channel_28c78cb9aa7ebc16c962c7536d7bec26}{getValue} (vec3 pos, int timestep=0) const }
\label{class_flow_channel_28c78cb9aa7ebc16c962c7536d7bec26}

\begin{CompactList}\small\item\em returns the value at given position in data set coordinates (from 0 to dimX or dimY) \item\end{CompactList}\item 
\hypertarget{class_flow_channel_9d051783fc46ef9eff17c3e5d76e78e9}{
float \hyperlink{class_flow_channel_9d051783fc46ef9eff17c3e5d76e78e9}{getValue} (int vtxID, int timestep=0) const }
\label{class_flow_channel_9d051783fc46ef9eff17c3e5d76e78e9}

\begin{CompactList}\small\item\em returns the value of the given vertex \item\end{CompactList}\item 
\hypertarget{class_flow_channel_9fd2bb2b2fd933f0b6f8a929737597dc}{
float \hyperlink{class_flow_channel_9fd2bb2b2fd933f0b6f8a929737597dc}{getValueNormPos} (float x, float y, int timestep=0) const }
\label{class_flow_channel_9fd2bb2b2fd933f0b6f8a929737597dc}

\begin{CompactList}\small\item\em returns the value at given position in normalized coordinates for each dimension $<$0..1$>$ \item\end{CompactList}\item 
\hypertarget{class_flow_channel_a145c2a5a928fced8dd4664f833d3f69}{
float \hyperlink{class_flow_channel_a145c2a5a928fced8dd4664f833d3f69}{normalizeValue} (float val) const }
\label{class_flow_channel_a145c2a5a928fced8dd4664f833d3f69}

\begin{CompactList}\small\item\em scales the value according to the channel minimim and maximum, so that it lies inside of $<$0,1$>$ \item\end{CompactList}\item 
\hypertarget{class_flow_channel_8ea46429894b9fab7ad839821e0ac580}{
float \hyperlink{class_flow_channel_8ea46429894b9fab7ad839821e0ac580}{getMin} () const }
\label{class_flow_channel_8ea46429894b9fab7ad839821e0ac580}

\begin{CompactList}\small\item\em returns the minimum value found in the channel \item\end{CompactList}\item 
\hypertarget{class_flow_channel_8a158c1784d2fb075ee919389fe5b675}{
float \hyperlink{class_flow_channel_8a158c1784d2fb075ee919389fe5b675}{getMax} () const }
\label{class_flow_channel_8a158c1784d2fb075ee919389fe5b675}

\begin{CompactList}\small\item\em returns the maximum value found in the channel \item\end{CompactList}\item 
\hypertarget{class_flow_channel_aeffb57cd2213515596a9b687e77f3b7}{
float \hyperlink{class_flow_channel_aeffb57cd2213515596a9b687e77f3b7}{getRange} () const }
\label{class_flow_channel_aeffb57cd2213515596a9b687e77f3b7}

\begin{CompactList}\small\item\em returns the range = max - min \item\end{CompactList}\end{CompactItemize}


\subsection{Detailed Description}
Handles one scalar field of floats defined for each cell. 

\subsection{Member Function Documentation}
\hypertarget{class_flow_channel_034093ee665df2c4997ba77b4ce6e2f6}{
\index{FlowChannel@{FlowChannel}!copyValues@{copyValues}}
\index{copyValues@{copyValues}!FlowChannel@{FlowChannel}}
\subsubsection[{copyValues}]{\setlength{\rightskip}{0pt plus 5cm}void FlowChannel::copyValues (float $\ast$ {\em rawdata}, \/  int {\em vtxSize}, \/  int {\em offset}, \/  int {\em timestep} = {\tt 0})}}
\label{class_flow_channel_034093ee665df2c4997ba77b4ce6e2f6}


takes an array containing all attributes for a vertex and copies the j-th attribute to this channel 

Takes an array containing all attributes for a vertex and copies the attribute specified in offset to this channel in the slot for timestep ts \begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em rawdata}]data gained directly from the file, without any processing. It contains all channels for all cells. Please note, there is no time information considered here. \item[{\em vtxSize}]number of channels per cell (incl. velocity vector size) \item[{\em offset}]offset of the parameter loaded into this channel \item[{\em timestep}]the timestep the values belong to \end{description}
\end{Desc}


The documentation for this class was generated from the following files:\begin{CompactItemize}
\item 
F:/Meine Dateien/Visual Studio 2005/Projects/InsightFlow/code/FlowChannel.h\item 
F:/Meine Dateien/Visual Studio 2005/Projects/InsightFlow/header/FlowChannel.h\item 
F:/Meine Dateien/Visual Studio 2005/Projects/InsightFlow/code/FlowChannel.cpp\item 
F:/Meine Dateien/Visual Studio 2005/Projects/InsightFlow/src/FlowChannel.cpp\end{CompactItemize}
