#include <mitkVis2Scene3D.h>
Inherits mitkSceneBase.
Inherited by mitkCUDAAugmentedSurfaceVRScene, mitkCUDADecomposedIsosurfaceVRScene, mitkCUDADeltaAccStateVRScene, mitkCUDAFullVRScene, mitkCUDAIsosurfaceVRScene, mitkCUDAMIPVRScene, mitkCUDAROIDistanceVRScene, mitkCUDASegmentedVRScene, mitkCUDAStructureFunctionVRScene, mitkCUDAValueBasedStateVRScene, mitkCUDAVersatileVRScene, mitkCUDAWallCarvingVRScene, mitkCUDAWallPenetrateVRScene, mitkFullVRScene, mitkGLSLFullVRScene, mitkGLSLIsosurfaceVRScene, mitkGLSLMIPVRScene, mitkIsosurfaceVRScene, mitkMIPVRScene, mitkPathNetworkScene, mitkTargetMeasurementScene, and mitkVis2SurfaceScene.
Inheritance diagram for mitkVis2Scene3D:
Public Member Functions | |
void | SetFovy (float fovy) |
void | SetRotateRadPerPixel (float radPerPixel) |
float | GetRotateRadPerPixel () const |
void | SetScaleRatePerPixel (float scaleRatePerPixel) |
float | GetScaleRatePerPixel () const |
virtual void | ResizeGL (int newX, int newY) |
virtual void | RenderGL () |
virtual void | OnMouseDown (int mouseButton, bool ctrlDown, bool shiftDown, int xPos, int yPos) |
virtual void | OnMouseUp (int mouseButton, bool ctrlDown, bool shiftDown, int xPos, int yPos) |
virtual void | OnMouseMove (bool ctrlDown, bool shiftDown, int xPos, int yPos) |
void | GetTranslate (float translate[3]) const |
float | GetScale () const |
const mitkVis2Quaternion & | GetRotation () const |
void | SetTranslate (const float translate[3]) |
void | SetScale (float scale) |
void | SetRotation (const mitkVis2Quaternion &rotation) |
const mitkVis2Matrix4x4 & | GetViewMatrix () const |
const mitkVis2Matrix4x4 & | GetProjectionMatrix () const |
float | GetZTranslateBase () const |
void | GetViewPort (int *viewport) const |
float | GetFovy () const |
void | SetEndoscopy (bool turnOn) |
bool | GetEndoscopy () |
void | MoveTo (float x, float y, float z) |
void | Move (float dx, float dy, float dz) |
void | Turn (float dx, float dy) |
void | Roll (float rad) |
mitkVis2Scene3D is a simple base class for 3D scenes.
|
Get the endoscopy status
|
|
Get the fovy angle.
|
|
Get the projection matrix of the scene
|
|
Get the interaction sensitivity of rotation.
|
|
Get the rotation status of the scene.
|
|
Get the scale status of the scene.
|
|
Get the interaction sensitivity of scaling
|
|
Get the translate status of the scene.
|
|
Get the view matrix of the scene
|
|
Get the viewport of this view. Not all of the area of a view is used to display the image. Only the viewport is used to display the image. The position and size of viewport are calculated automatically according to the size of image.
|
|
Get the Z direction base translate after scene initialization
|
|
Endoscopy control: move the view position by (dx,dy,dz) in physics unit
|
|
Endoscopy control: move the view position to (x,y,z) in physics unit
|
|
The Interface for handling the mouse pressed event pass by the container Reimplemented from mitkSceneBase. Reimplemented in mitkFullVRScene, mitkGLSLFullVRScene, mitkGLSLIsosurfaceVRScene, mitkIsosurfaceVRScene, mitkCUDAAugmentedSurfaceVRScene, mitkCUDADecomposedIsosurfaceVRScene, mitkCUDADeltaAccStateVRScene, mitkCUDAFullVRScene, mitkCUDAIsosurfaceVRScene, mitkCUDAROIDistanceVRScene, mitkCUDASegmentedVRScene, mitkCUDAStructureFunctionVRScene, mitkCUDAValueBasedStateVRScene, and mitkCUDAVersatileVRScene. |
|
The Interface for handling the mouse moved event pass by the container Reimplemented from mitkSceneBase. Reimplemented in mitkFullVRScene, mitkGLSLFullVRScene, mitkGLSLIsosurfaceVRScene, mitkIsosurfaceVRScene, mitkCUDAAugmentedSurfaceVRScene, mitkCUDADecomposedIsosurfaceVRScene, mitkCUDADeltaAccStateVRScene, mitkCUDAFullVRScene, mitkCUDAIsosurfaceVRScene, mitkCUDAROIDistanceVRScene, mitkCUDASegmentedVRScene, mitkCUDAStructureFunctionVRScene, mitkCUDAValueBasedStateVRScene, and mitkCUDAVersatileVRScene. |
|
The Interface for handling the mouse released event pass by the container Reimplemented from mitkSceneBase. Reimplemented in mitkFullVRScene, mitkGLSLFullVRScene, mitkGLSLIsosurfaceVRScene, mitkIsosurfaceVRScene, mitkCUDAAugmentedSurfaceVRScene, mitkCUDADecomposedIsosurfaceVRScene, mitkCUDADeltaAccStateVRScene, mitkCUDAFullVRScene, mitkCUDAIsosurfaceVRScene, mitkCUDAROIDistanceVRScene, mitkCUDASegmentedVRScene, mitkCUDAStructureFunctionVRScene, mitkCUDAValueBasedStateVRScene, and mitkCUDAVersatileVRScene. |
|
The Interface for handling the render event pass by the container Reimplemented from mitkSceneBase. Reimplemented in mitkFullVRScene, mitkGLSLFullVRScene, mitkGLSLIsosurfaceVRScene, mitkGLSLMIPVRScene, mitkIsosurfaceVRScene, mitkMIPVRScene, mitkTargetMeasurementScene, mitkCUDAAugmentedSurfaceVRScene, mitkCUDADecomposedIsosurfaceVRScene, mitkCUDADeltaAccStateVRScene, mitkCUDAFullVRScene, mitkCUDAIsosurfaceVRScene, mitkCUDAMIPVRScene, mitkCUDAROIDistanceVRScene, mitkCUDASegmentedVRScene, mitkCUDAStructureFunctionVRScene, mitkCUDAValueBasedStateVRScene, and mitkCUDAVersatileVRScene. |
|
The Interface for handling the resize event pass by the container Reimplemented from mitkSceneBase. |
|
Endoscopy control: roll the screen
|
|
Set the endoscopy status
|
|
Set the fovy angle.
|
|
Set the interaction sensitivity of rotation.
|
|
Set the rotation of the scene.
|
|
Set the scale status of the scene.
|
|
Set the interaction sensitivity of scaling
|
|
Set the translate of the scene.
|
|
Endoscopy control: turn the view direction
|