List of all members.
Constructor & Destructor Documentation
Member Function Documentation
Initialize the shaders an slicing parameter.
void Slicing::resize |
( |
int |
width, |
|
|
int |
height |
|
) |
| |
Sets the new window size and calculates the vertices from the quad.
- Parameters:
-
width | The new width of the window, measured in pixel. |
height | The new height of the window, measured in pixel. |
void Slicing::setSlicingTextureHandle |
( |
GLuint |
tex | ) |
|
Sets the texturehandle for the slicing texture.
- Parameters:
-
void Slicing::setTextureLoaded |
( |
bool |
loaded | ) |
|
Sets the value of the textureLoaded property.
- Parameters:
-
loaded | True if the texture of the volume is loaded, false otherwise. |
void Slicing::setTransferFunction |
( |
bool |
active | ) |
|
Activates or deactivates the transfer function according to the given parameter.
- Parameters:
-
active | True to activates the transfer function otherwise false. |
void Slicing::setTransferTextureHandle |
( |
GLuint |
tex | ) |
|
Sets the texturehandle for the tranfer texture.
- Parameters:
-
void Slicing::setVolumeSize |
( |
float |
width, |
|
|
float |
height, |
|
|
float |
depth |
|
) |
| |
Sets the width, height and depth for the current volume.
- Parameters:
-
width | The widht of the volume. |
height | The height of the volume. |
depth | The depth of the volume. |
void Slicing::setXSlice |
( |
float |
x | ) |
|
Sets the x-coordinate for the slice. The value must be in the intervall [0,1].
- Parameters:
-
x | The x-coordinate of the slice. |
void Slicing::setYSlice |
( |
float |
y | ) |
|
Sets the y-coordinate for the slice. The value must be in the intervall [0,1].
- Parameters:
-
y | The y-coordinate of the slice. |
void Slicing::setZSlice |
( |
float |
z | ) |
|
Sets the z-coordinate for the slice. The value must be in the intervall [0,1].
- Parameters:
-
z | The z-coordinate of the slice. |
The documentation for this class was generated from the following files: