#include <mitkSceneBase.h>
Inherits mitkObject.
Inherited by mitkCUDAEndoscopySliceScene, mitkEndoscopySliceScene, mitkScene, and mitkVis2Scene3D.
Inheritance diagram for mitkSceneBase:
Public Member Functions | |
void * | GetWindowId () |
const int * | GetSize () |
int | GetWidth () |
int | GetHeight () |
void | Update () |
void | MakeCurrent () |
void | SwapBuffers () |
bool | HasUnprocessedMouseMessage () |
virtual void | InitGL () |
virtual void | DestroyGL () |
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) |
virtual void | OnMouseWheel (bool ctrlDown, bool shiftDown, int xPos, int yPos, int delta) |
mitkSceneBase is an abstract class defining the interface of a scene, which need to be referenced by the container window You can use this interface to define your own subclass of scenes. A concrete scene should reponse to the events passed by the container and do the rendering.
|
The Interface to free OpenGL resources Reimplemented in mitkScene. |
|
Get the height of the container window. Provided for convinience. |
|
Get the size of the container window. Provided for convinience. |
|
Get the width of the container window. Provided for convinience. |
|
Get the system dependent id of the container window. Provided for convinience. |
|
Test if there is any unprocessed mouse message (button down/up) in the message queue of rendering thread. Calls the container. Provided for convinience. |
|
The Interface to initialize OpenGL variables and resources. Reimplemented in mitkImageScene, and mitkScene. |
|
Make the OpenGL context of the container window current. Provided for convinience. |
|
The Interface for handling the mouse pressed event pass by the container Reimplemented in mitkScene, mitkEndoscopySliceScene, mitkFullVRScene, mitkGLSLFullVRScene, mitkGLSLIsosurfaceVRScene, mitkIsosurfaceVRScene, mitkVis2Scene3D, mitkCUDAAugmentedSurfaceVRScene, mitkCUDADecomposedIsosurfaceVRScene, mitkCUDADeltaAccStateVRScene, mitkCUDAEndoscopySliceScene, mitkCUDAFullVRScene, mitkCUDAIsosurfaceVRScene, mitkCUDAROIDistanceVRScene, mitkCUDASegmentedVRScene, mitkCUDAStructureFunctionVRScene, mitkCUDAValueBasedStateVRScene, and mitkCUDAVersatileVRScene. |
|
The Interface for handling the mouse moved event pass by the container Reimplemented in mitkScene, mitkEndoscopySliceScene, mitkFullVRScene, mitkGLSLFullVRScene, mitkGLSLIsosurfaceVRScene, mitkIsosurfaceVRScene, mitkVis2Scene3D, mitkCUDAAugmentedSurfaceVRScene, mitkCUDADecomposedIsosurfaceVRScene, mitkCUDADeltaAccStateVRScene, mitkCUDAEndoscopySliceScene, mitkCUDAFullVRScene, mitkCUDAIsosurfaceVRScene, mitkCUDAROIDistanceVRScene, mitkCUDASegmentedVRScene, mitkCUDAStructureFunctionVRScene, mitkCUDAValueBasedStateVRScene, and mitkCUDAVersatileVRScene. |
|
The Interface for handling the mouse released event pass by the container Reimplemented in mitkScene, mitkEndoscopySliceScene, mitkFullVRScene, mitkGLSLFullVRScene, mitkGLSLIsosurfaceVRScene, mitkIsosurfaceVRScene, mitkVis2Scene3D, mitkCUDAAugmentedSurfaceVRScene, mitkCUDADecomposedIsosurfaceVRScene, mitkCUDADeltaAccStateVRScene, mitkCUDAEndoscopySliceScene, mitkCUDAFullVRScene, mitkCUDAIsosurfaceVRScene, mitkCUDAROIDistanceVRScene, mitkCUDASegmentedVRScene, mitkCUDAStructureFunctionVRScene, mitkCUDAValueBasedStateVRScene, and mitkCUDAVersatileVRScene. |
|
The Interface for handling the mouse wheel event pass by the container Reimplemented in mitkScene, mitkEndoscopySliceScene, and mitkCUDAEndoscopySliceScene. |
|
The Interface for handling the render event pass by the container Reimplemented in mitkImageScene, mitkScene, mitkEndoscopySliceScene, mitkFullVRScene, mitkGLSLFullVRScene, mitkGLSLIsosurfaceVRScene, mitkGLSLMIPVRScene, mitkIsosurfaceVRScene, mitkMIPVRScene, mitkTargetMeasurementScene, mitkVis2Scene3D, mitkCUDAAugmentedSurfaceVRScene, mitkCUDADecomposedIsosurfaceVRScene, mitkCUDADeltaAccStateVRScene, mitkCUDAEndoscopySliceScene, mitkCUDAFullVRScene, mitkCUDAIsosurfaceVRScene, mitkCUDAMIPVRScene, mitkCUDAROIDistanceVRScene, mitkCUDASegmentedVRScene, mitkCUDAStructureFunctionVRScene, mitkCUDAValueBasedStateVRScene, and mitkCUDAVersatileVRScene. |
|
The Interface for handling the resize event pass by the container Reimplemented in mitkImageScene, mitkScene, and mitkVis2Scene3D. |
|
Swap the buffers of the container window. Provided for convinience. |
|
Update the scene. Actually calls the container->Update(). Provided for convinience. |