Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members

mitkRGBATransferFunction1D Class Reference

mitkRGBATransferFunction1D - 1D-Transfer-Function with RGBA control points. More...

#include <mitkRGBATransferFunction1D.h>

Inherits mitkObject.

Inheritance diagram for mitkRGBATransferFunction1D:

Inheritance graph
[legend]
Collaboration diagram for mitkRGBATransferFunction1D:

Collaboration graph
[legend]
List of all members.

Public Member Functions

mitkVis2Vector4 * GetData ()
void SetSampleNumber (int Number)
int GetSampleNumber () const
void SetMinPos (float Min)
float GetMinPos () const
void SetMaxPos (float Max)
float GetMaxPos () const
const mitkLut1DGetLut1D ()
int AddPoint (float pos, mitkVis2Vector4 value)
int GetPointCount () const
float GetPos (int index) const
mitkVis2Vector4 GetValue (int index) const
void SetRGBAValue (int index, mitkVis2Vector4 value)
void RemovePoint (int index)
void RemoveAllPoints ()

Detailed Description

mitkRGBATransferFunction1D - 1D-Transfer-Function with RGBA control points.

mitkRGBATransferFunction1D defines 1D-Transfer-Functions with RGBA control points. The generated transfer function contains SampleNumber sample points mapping the scalar values ranging from MinPos to MaxPos.


Member Function Documentation

int mitkRGBATransferFunction1D::AddPoint float  pos,
mitkVis2Vector4  value
 

Add a control point

Parameters:
pos The scalar value position of the control point
value The color value of the control point
Returns:
Return the index of the added control point

mitkVis2Vector4* mitkRGBATransferFunction1D::GetData  ) 
 

Get the array of sample points

Returns:
Return the array of sample points

const mitkLut1D& mitkRGBATransferFunction1D::GetLut1D  ) 
 

Get the 1D Lut Data Object

Returns:
Return the 1D Lut Data Object

float mitkRGBATransferFunction1D::GetMaxPos  )  const
 

Get the maximum position of value mapping

Returns:
Return the maximum position of scalar value mapping

float mitkRGBATransferFunction1D::GetMinPos  )  const
 

Get the minimum position of value mapping

Returns:
Return the minimum position of scalar value mapping

int mitkRGBATransferFunction1D::GetPointCount  )  const
 

Get the number of the control points

Returns:
Return the number of the control points

float mitkRGBATransferFunction1D::GetPos int  index  )  const
 

Get the scalar value position of a certain control point

Parameters:
index The index of the control point
Returns:
Return the scalar value position of the given control point

int mitkRGBATransferFunction1D::GetSampleNumber  )  const
 

Get the number of sample points

Returns:
Return the number of sample points

mitkVis2Vector4 mitkRGBATransferFunction1D::GetValue int  index  )  const
 

Get the color value of a certain control point

Parameters:
index The index of the control point
Returns:
Return the color value of the given control point

void mitkRGBATransferFunction1D::RemoveAllPoints  ) 
 

Remove all control points

void mitkRGBATransferFunction1D::RemovePoint int  index  ) 
 

Remove a certain control point

Parameters:
index The index of the control point

void mitkRGBATransferFunction1D::SetMaxPos float  Max  ) 
 

Set the maximum position of value mapping

Parameters:
Max The maximum position of scalar value mapping

void mitkRGBATransferFunction1D::SetMinPos float  Min  ) 
 

Set the minimum position of value mapping

Parameters:
Min The minimum position of scalar value mapping

void mitkRGBATransferFunction1D::SetRGBAValue int  index,
mitkVis2Vector4  value
 

Set the color value of a certain control point

Parameters:
index The index of the control point
value The color value of the control point

void mitkRGBATransferFunction1D::SetSampleNumber int  Number  ) 
 

Set the number of sample points

Parameters:
Number The number of sample points


The documentation for this class was generated from the following file:
Generated on Tue Feb 25 15:05:41 2014 for MITK (Medical Imaging ToolKit) by  doxygen 1.4.3