mitkRGBATransferFunction1D Class Reference
mitkRGBATransferFunction1D - 1D-Transfer-Function with RGBA control points.
More...
#include <mitkRGBATransferFunction1D.h>
Inherits mitkObject.
Inheritance diagram for mitkRGBATransferFunction1D:
[legend]Collaboration diagram for mitkRGBATransferFunction1D:
[legend]List of all members.
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
1.4.3