| genre | VolRendExtensions |
| status | stable |
| author | Florian Link |
| package | MeVisLab/Standard |
| dll | SoGVR |
| definition | soGVR.def |
The SoGVRTransformedVolume module allows to set an additional volume that is represented as a single 3D texture. The volume's world matrix is not restricted in respect to the world matrix of the main volume of the GVR renderer (in contrast to SoGVRSecondaryVolume), so the transformed volume can be rendered scaled/rotated/translated in respect to the main volume and this transformation can be updated interactively without requiring a reload of the volume data. NOTE: Since this module uses a single 3D texture, you should not use a volume size that does not fit on your graphics card. If you want to show large volumes, you should use SoGVRSecondaryVolume. The number of SoGVRTransformedVolume modules that can be used in a renderer are limited by the texture memory and by the number of available texture image units of your graphics board.
- Combine Mode: Defines how the transformed volume data is combined with the main volume.
Transform
Allows to transform the mask volume in world coordinates, only works if the Transform Mode is set to "Use Woorld Coordinates". This can be used to move the mask volume in the rendered volume, to e.g. highlight a region with a sphere.
- Modify world coordinates: additional transforms or world to voxel matrix replacement will only be applied if this field is set to true
- World Center: defines the new world center of the mask volume, takes the center of the mask volume and moves it to the new center
- World Rotation: defines the additional rotation (around the center of the volume)
- World Scale: defines the scaling of the mask volume in world coordinates
- Replace World To Voxel Matrix: If enabled, the world to voxel matrix of the transformed volume will be replaced by the user supplied matrix.
- Custom World To Voxel Matrix: User supplied world to voxel matrix. NOTE: The matrix must be entered according to Open Inventor convention (transposed from a ML matrix).
a node that should be put in front of the SoGVRVolumeRenderer
| Associated Lut Name: String | Transform Mode: Enum |
| Combine Mode: Enum | Visibility: Enum |
| Custom World To Voxel Matrix: Matrix | Volume Name: String |
| Enable Rendering: Bool | World Center: Vector3 |
| Enabled: Bool | World Rotation: Rotation |
| Filter Data: Bool | World Scale: Vector3 |
| Modify World Coordinates: Bool | |
| Replace World To Voxel Matrix: Bool |
Defines if the transformed volume is used/loaded.
Defines how to transform the volume.
Values:
| Title | Name | Description |
|---|---|---|
| Use World Coordinates | UseWorldCoordinates | Uses the world coordinates of the input volume to transform the volume relative to the main volume. |
| Scale To Image | ScaleToImage | Scales this volume to the extent of the main volume. |
Enables modification of the world coordinates.
The center of the world coordinate scale/rotation.
Rotate around the World Center.
Replace the world matrix with the Custom World To Voxel Matrix.
Defines a custom world matrix to be used with Replace World To Voxel Matrix is enabled.
Enables the rendering of the volume
Defines the unique name that will be used to address this volume (in the SoGVRShaderFunction shaders but also for SoGVRTransformedVolumeSettings)
Gives the name of a SoGVRSecondaryLUT that should be applied on the volume data.
Enables linear interpolation when sampling the data.