List of all members.
Public Attributes |
|
View * | m_volumeBricks_front |
|
View * | m_volumeBricks_back |
|
VertexGeometry * | m_plane_tmp |
|
int | m_type |
|
float | invViewMatrix [12] |
|
int | width |
|
int | height |
|
GLuint | pbo |
|
GLuint | tex |
|
struct cudaGraphicsResource * | cuda_pbo_resource |
|
CudaTexture< float4, 3 > * | m_volumen |
|
CudaTexture< float4, 2 > * | m_texture |
|
CudaTexture< float4, 2 > * | m_hg |
|
CudaTexture< float4, 2 > * | m_hg_dev |
|
CudaTexture< float4, 3 > * | m_pcd |
Constructor & Destructor Documentation
| RayCasting::RayCasting |
( |
| ) |
|
| RayCasting::~RayCasting |
( |
| ) |
|
Member Function Documentation
| void RayCasting::init |
( |
| ) |
|
Initialize the shaders an textures.
| void RayCasting::render |
( |
float |
elapsedTime | ) |
|
| void RayCasting::resize |
( |
int |
width, |
|
|
int |
height |
|
) |
| |
Sets the new window size, calculates the vertices from the quad and regenerates the textures for the give parameters.
- Parameters:
-
| width | The new width of the window, measured in pixel. |
| height | The new height of the window, measured in pixel. |
| void RayCasting::setAdaptive |
( |
bool |
active | ) |
|
Activates or deactivates adaptive - Stepsize according to the given parameter.
- Parameters:
-
| active | True to activate adaptive Stepsize otherwise false. |
| void RayCasting::setAverage |
( |
bool |
active | ) |
|
Activates or deactivates X-Ray (averaging) according to the given parameter.
- Parameters:
-
| active | True to activates X-Ray (averaging) otherwise false. |
| void RayCasting::setCompositing |
( |
bool |
active | ) |
|
Activates or deactivates compositing according to the given parameter.
- Parameters:
-
| active | True to activates compositing otherwise false. |
| void RayCasting::SetIsoValue |
( |
float |
val | ) |
|
Change ISO Value
- Parameters:
-
| void RayCasting::setLight |
( |
bool |
active | ) |
|
Activates or deactivates the light according to the given parameter.
- Parameters:
-
| active | True to activates the light otherwise false. |
| void RayCasting::setMip |
( |
bool |
active | ) |
|
Activates or deactivates the maximum intensity projection according to the given parameter.
- Parameters:
-
| active | True to activates the maximum intensity projection otherwise false. |
| void RayCasting::setPCDTextureHandle |
( |
GLuint |
tex | ) |
|
Sets the texturehandle for preprocessed PCD
- Parameters:
-
| void RayCasting::setPhong |
( |
bool |
active | ) |
|
Activates or deactivates the specular light according to the given parameter.
- Parameters:
-
| active | True to activates the specular light otherwise false. |
| void RayCasting::setStepSize |
( |
double |
step | ) |
|
Sets the StepSize to the given parameter
| void RayCasting::setTextureLoaded |
( |
bool |
loaded | ) |
|
Sets the value of the textureLoaded property.
- Parameters:
-
| loaded | True if the texture of the volume is loaded, false otherwise. |
| void RayCasting::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 RayCasting::setTransferTexture2DHandle |
( |
GLuint |
tex | ) |
|
Sets the texturehandle for the 2D tranfer texture.
- Parameters:
-
| tex | The transfer texture 2D. |
| void RayCasting::setTransferTextureHandle |
( |
GLuint |
tex | ) |
|
Sets the texturehandle for the tranfer texture.
- Parameters:
-
| void RayCasting::setTransferTextureParticleHandle |
( |
GLuint |
tex | ) |
|
Sets the texturehandle for the tranfer texture for particles.
- Parameters:
-
| void RayCasting::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 RayCasting::setVolumeTextureHandle |
( |
GLuint |
tex | ) |
|
Sets the texturehandle for the volume texture.
- Parameters:
-
| void RayCasting::setXClipping |
( |
float |
x | ) |
|
Sets the x-coordinate for clipping.
- Parameters:
-
| void RayCasting::setYClipping |
( |
float |
y | ) |
|
Sets the y-coordinate for clipping.
- Parameters:
-
| void RayCasting::setZClipping |
( |
float |
z | ) |
|
Sets the z coordinate for clipping.
- Parameters:
-
The documentation for this class was generated from the following files: