![]() |
Slicer
4.8
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
|
#include <Modules/Loadable/VolumeRendering/MRMLDM/vtkMRMLVolumeRenderingDisplayableManager.h>
Public Types | |
typedef vtkMRMLAbstractThreeDViewDisplayableManager | Superclass |
![]() | |
typedef vtkMRMLAbstractDisplayableManager | Superclass |
![]() | |
typedef vtkMRMLAbstractLogic | Superclass |
![]() | |
typedef vtkObject | Superclass |
typedef void(vtkMRMLAbstractLogic::* | TaskFunctionPointer) (void *clientdata) |
Public Member Functions | |
void | AddDisplayNode (vtkMRMLVolumeRenderingDisplayNode *dnode) |
virtual void | Create () VTK_OVERRIDE |
virtual const char * | GetClassName () |
vtkVolume * | GetVolumeActor () |
virtual vtkVolumeMapper * | GetVolumeMapper (vtkMRMLVolumeRenderingDisplayNode *vspNode) |
Return the volume mapper of the volume rendering display node. More... | |
virtual int | IsA (const char *type) |
int | IsMapperSupported (vtkMRMLVolumeRenderingDisplayNode *vspNode) |
virtual int | IsMapperSupported (vtkVolumeMapper *volumeMapper, vtkMRMLVolumeRenderingDisplayNode *vspNode) |
virtual void | OnMRMLSceneEndClose () VTK_OVERRIDE |
virtual void | OnMRMLSceneEndImport () VTK_OVERRIDE |
virtual void | OnMRMLSceneEndRestore () VTK_OVERRIDE |
virtual void | OnMRMLSceneNodeAdded (vtkMRMLNode *node) VTK_OVERRIDE |
virtual void | OnMRMLSceneNodeRemoved (vtkMRMLNode *node) VTK_OVERRIDE |
virtual void | OnMRMLSceneStartClose () VTK_OVERRIDE |
void | PrintSelf (ostream &os, vtkIndent indent) VTK_OVERRIDE |
void | RemoveDisplayNode (vtkMRMLVolumeRenderingDisplayNode *dnode) |
void | RemoveDisplayNodes () |
virtual void | Reset () |
void | SetGUICallbackCommand (vtkCommand *callback) |
void | SetupHistograms (vtkMRMLVolumeRenderingDisplayNode *vspNode) |
virtual int | SetupMapperFromParametersNode (vtkMRMLVolumeRenderingDisplayNode *vspNode) |
void | SetupMapperFromVolumeNode (vtkMRMLVolumeRenderingDisplayNode *vspNode) |
Configure mapper with volume nodes. More... | |
void | SetupMapperFromVolumeNode (vtkMRMLVolumeNode *volumeNode, vtkVolumeMapper *volumeMapper, int inputIndex=0) |
Configure mapper with volume node. More... | |
void | SetVolumeVisibility (int isVisible) |
void | TransformModified (vtkMRMLVolumeRenderingDisplayNode *vspNode) |
void | UpdateClipping (vtkVolumeMapper *mapper, vtkMRMLVolumeRenderingDisplayNode *vspNode) |
void | UpdateCPURaycastMapper (vtkFixedPointVolumeRayCastMapper *mapper, vtkMRMLCPURayCastVolumeRenderingDisplayNode *vspNode) |
void | UpdateDesiredUpdateRate (vtkMRMLVolumeRenderingDisplayNode *vspNode) |
void | UpdateDisplayNodeList () |
void | UpdateGPURaycastMapper (vtkGPUVolumeRayCastMapper *mapper, vtkMRMLGPURayCastVolumeRenderingDisplayNode *vspNode) |
virtual bool | UpdateMapper (vtkMRMLVolumeRenderingDisplayNode *vspNode) |
void | UpdateMapper (vtkVolumeMapper *mapper, vtkMRMLVolumeRenderingDisplayNode *vspNode) |
![]() | |
vtkMRMLViewNode * | GetMRMLViewNode () |
Get MRML ViewNode. More... | |
void | PrintSelf (ostream &os, vtkIndent indent) VTK_OVERRIDE |
![]() | |
virtual std::string | GetDataProbeInfoStringForPosition (double vtkNotUsed(xyz)[3]) |
vtkMRMLInteractionNode * | GetInteractionNode () |
Convenient method to get the current InteractionNode. More... | |
vtkRenderWindowInteractor * | GetInteractor () |
Convenient method to get the WindowInteractor associated with the Renderer. More... | |
virtual vtkMRMLLightBoxRendererManagerProxy * | GetLightBoxRendererManagerProxy () |
vtkRenderer * | GetRenderer () |
Get the default renderer for this displayable manager. More... | |
vtkRenderer * | GetRenderer (int idx) |
vtkMRMLSelectionNode * | GetSelectionNode () |
Convenient method to get the current SelectionNode. More... | |
bool | IsCreated () |
void | PrintSelf (ostream &os, vtkIndent indent) VTK_OVERRIDE |
virtual void | SetLightBoxRendererManagerProxy (vtkMRMLLightBoxRendererManagerProxy *) |
![]() | |
virtual vtkMRMLApplicationLogic * | GetMRMLApplicationLogic () const |
Get access to overall application state. More... | |
vtkMRMLScene * | GetMRMLScene () const |
Return a reference to the current MRML scene. More... | |
void | PrintSelf (ostream &os, vtkIndent indent) VTK_OVERRIDE |
virtual void | SetMRMLApplicationLogic (vtkMRMLApplicationLogic *logic) |
void | SetMRMLScene (vtkMRMLScene *newScene) |
Set and observe the MRMLScene. More... | |
Static Public Member Functions | |
static int | IsTypeOf (const char *type) |
static vtkMRMLVolumeRenderingDisplayableManager * | New () |
static vtkMRMLVolumeRenderingDisplayableManager * | SafeDownCast (vtkObject *o) |
![]() | |
static int | IsTypeOf (const char *type) |
static vtkMRMLAbstractThreeDViewDisplayableManager * | New () |
static vtkMRMLAbstractThreeDViewDisplayableManager * | SafeDownCast (vtkObject *o) |
![]() | |
static int | IsTypeOf (const char *type) |
static vtkMRMLAbstractDisplayableManager * | New () |
static vtkMRMLAbstractDisplayableManager * | SafeDownCast (vtkObject *o) |
![]() | |
static int | IsTypeOf (const char *type) |
static vtkMRMLAbstractLogic * | New () |
static vtkMRMLAbstractLogic * | SafeDownCast (vtkObject *o) |
Static Public Attributes | |
static int | DefaultGPUMemorySize |
Protected Types | |
typedef std::map< std::string, vtkMRMLVolumeRenderingDisplayNode * > | DisplayNodesType |
Protected Attributes | |
vtkMRMLVolumeRenderingDisplayNode * | DisplayedNode |
Holders for MRML callbacks. More... | |
DisplayNodesType | DisplayNodes |
vtkIntArray * | DisplayObservedEvents |
int | Interaction |
vtkGPUVolumeRayCastMapper * | MapperGPURaycast3 |
vtkFixedPointVolumeRayCastMapper * | MapperRaycast |
double | OriginalDesiredUpdateRate |
vtkVolume * | Volume |
vtkSlicerVolumeRenderingLogic * | VolumeRenderingLogic |
Static Protected Attributes | |
static bool | First |
Additional Inherited Members | |
![]() | |
static void | WidgetsCallback (vtkObject *caller, unsigned long eid, void *clientData, void *callData) |
WidgetsCallback is a static function to relay modified events from the vtk widgets. More... | |
![]() | |
static void | MRMLLogicsCallback (vtkObject *caller, unsigned long eid, void *clientData, void *callData) |
MRMLLogicCallback is a static function to relay modified events from the logics. More... | |
static void | MRMLNodesCallback (vtkObject *caller, unsigned long eid, void *clientData, void *callData) |
MRMLNodesCallback is a static function to relay modified events from the nodes. More... | |
static void | MRMLSceneCallback (vtkObject *caller, unsigned long eid, void *clientData, void *callData) |
Definition at line 51 of file vtkMRMLVolumeRenderingDisplayableManager.h.
|
protected |
Definition at line 194 of file vtkMRMLVolumeRenderingDisplayableManager.h.
typedef vtkMRMLAbstractThreeDViewDisplayableManager vtkMRMLVolumeRenderingDisplayableManager::Superclass |
Definition at line 56 of file vtkMRMLVolumeRenderingDisplayableManager.h.
|
protected |
|
protected |
|
protected |
|
protectedvirtual |
Subclass can overload this method to specify under which InteractionNode modes this Displayable Manger InteractorStyle events. By default events only arrive when in Place mode (good for annotations) but if you want a continuous read out of, for example, slice positions while the mouse moves set this to include Place and ViewTransform
Reimplemented from vtkMRMLAbstractDisplayableManager.
void vtkMRMLVolumeRenderingDisplayableManager::AddDisplayNode | ( | vtkMRMLVolumeRenderingDisplayNode * | dnode | ) |
|
protected |
Return true if the volume wasn't in the view.
|
protected |
|
virtual |
Called after a valid MRML DisplayableNode is set. By default it simulates a ModifiedEvent event on the displayable node so that ProcessMRMLNodesEvents(displayableNode, ModifiedEvent) is called.
Reimplemented from vtkMRMLAbstractDisplayableManager.
|
protectedvirtual |
Return true if the MRML Nodes callback must be executed, false otherwise. By default, it returns true, you can reimplement it in subclasses.
Reimplemented from vtkMRMLAbstractLogic.
|
protected |
|
virtual |
Reimplemented from vtkMRMLAbstractThreeDViewDisplayableManager.
|
protected |
|
protectedvirtual |
|
protected |
|
inline |
Definition at line 89 of file vtkMRMLVolumeRenderingDisplayableManager.h.
|
virtual |
Return the volume mapper of the volume rendering display node.
|
virtual |
Reimplemented from vtkMRMLAbstractThreeDViewDisplayableManager.
int vtkMRMLVolumeRenderingDisplayableManager::IsMapperSupported | ( | vtkMRMLVolumeRenderingDisplayNode * | vspNode | ) |
|
virtual |
|
static |
|
protected |
|
protected |
|
static |
|
protected |
|
protectedvirtual |
Called after interactor style event specified using AddInteractorStyleObservableEvent are invoked.
Reimplemented from vtkMRMLAbstractDisplayableManager.
|
virtual |
If vtkMRMLScene::EndCloseEvent has been set to be observed in SetMRMLSceneInternal, it is called when the scene fires the event
Reimplemented from vtkMRMLAbstractLogic.
|
virtual |
If vtkMRMLScene::EndImportEvent has been set to be observed in SetMRMLSceneInternal, it is called when the scene fires the event
Reimplemented from vtkMRMLAbstractLogic.
|
virtual |
If vtkMRMLScene::EndRestoreEvent has been set to be observed in SetMRMLSceneInternal, it is called when the scene fires the event
Reimplemented from vtkMRMLAbstractLogic.
|
virtual |
If vtkMRMLScene::NodeAddedEvent has been set to be observed in SetMRMLSceneInternal, it is called when the scene fires the event
Reimplemented from vtkMRMLAbstractLogic.
|
virtual |
If vtkMRMLScene::NodeRemovedEvent has been set to be observed in SetMRMLSceneInternal, it is called when the scene fires the event
Reimplemented from vtkMRMLAbstractLogic.
|
virtual |
If vtkMRMLScene::StartCloseEvent has been set to be observed in SetMRMLSceneInternal, it is called when the scene fires the event
Reimplemented from vtkMRMLAbstractLogic.
|
protected |
|
protected |
|
protected |
void vtkMRMLVolumeRenderingDisplayableManager::PrintSelf | ( | ostream & | os, |
vtkIndent | indent | ||
) |
|
protectedvirtual |
Receives all the events fired by the nodes. To listen to a node, you can add an observer using GetMRMLNodesCallbackCommand() or use the utility macros vtk[SetAndObserve|Observe]MRMLNode[Event]Macro ProcessMRMLNodesEvents calls OnMRMLNodeModified when event is vtkCommand::ModifiedEvent.
Reimplemented from vtkMRMLAbstractDisplayableManager.
void vtkMRMLVolumeRenderingDisplayableManager::RemoveDisplayNode | ( | vtkMRMLVolumeRenderingDisplayNode * | dnode | ) |
void vtkMRMLVolumeRenderingDisplayableManager::RemoveDisplayNodes | ( | ) |
|
protected |
|
protected |
|
virtual |
|
static |
void vtkMRMLVolumeRenderingDisplayableManager::SetGUICallbackCommand | ( | vtkCommand * | callback | ) |
void vtkMRMLVolumeRenderingDisplayableManager::SetupHistograms | ( | vtkMRMLVolumeRenderingDisplayNode * | vspNode | ) |
|
virtual |
void vtkMRMLVolumeRenderingDisplayableManager::SetupMapperFromVolumeNode | ( | vtkMRMLVolumeRenderingDisplayNode * | vspNode | ) |
Configure mapper with volume nodes.
void vtkMRMLVolumeRenderingDisplayableManager::SetupMapperFromVolumeNode | ( | vtkMRMLVolumeNode * | volumeNode, |
vtkVolumeMapper * | volumeMapper, | ||
int | inputIndex = 0 |
||
) |
Configure mapper with volume node.
void vtkMRMLVolumeRenderingDisplayableManager::SetVolumeVisibility | ( | int | isVisible | ) |
void vtkMRMLVolumeRenderingDisplayableManager::TransformModified | ( | vtkMRMLVolumeRenderingDisplayNode * | vspNode | ) |
void vtkMRMLVolumeRenderingDisplayableManager::UpdateClipping | ( | vtkVolumeMapper * | mapper, |
vtkMRMLVolumeRenderingDisplayNode * | vspNode | ||
) |
void vtkMRMLVolumeRenderingDisplayableManager::UpdateCPURaycastMapper | ( | vtkFixedPointVolumeRayCastMapper * | mapper, |
vtkMRMLCPURayCastVolumeRenderingDisplayNode * | vspNode | ||
) |
void vtkMRMLVolumeRenderingDisplayableManager::UpdateDesiredUpdateRate | ( | vtkMRMLVolumeRenderingDisplayNode * | vspNode | ) |
void vtkMRMLVolumeRenderingDisplayableManager::UpdateDisplayNodeList | ( | ) |
void vtkMRMLVolumeRenderingDisplayableManager::UpdateGPURaycastMapper | ( | vtkGPUVolumeRayCastMapper * | mapper, |
vtkMRMLGPURayCastVolumeRenderingDisplayNode * | vspNode | ||
) |
|
virtual |
void vtkMRMLVolumeRenderingDisplayableManager::UpdateMapper | ( | vtkVolumeMapper * | mapper, |
vtkMRMLVolumeRenderingDisplayNode * | vspNode | ||
) |
|
protected |
|
protected |
|
static |
Definition at line 135 of file vtkMRMLVolumeRenderingDisplayableManager.h.
|
protected |
Holders for MRML callbacks.
Definition at line 192 of file vtkMRMLVolumeRenderingDisplayableManager.h.
|
protected |
Definition at line 195 of file vtkMRMLVolumeRenderingDisplayableManager.h.
|
protected |
Definition at line 197 of file vtkMRMLVolumeRenderingDisplayableManager.h.
|
staticprotected |
Definition at line 163 of file vtkMRMLVolumeRenderingDisplayableManager.h.
|
protected |
Definition at line 199 of file vtkMRMLVolumeRenderingDisplayableManager.h.
|
protected |
Definition at line 173 of file vtkMRMLVolumeRenderingDisplayableManager.h.
|
protected |
Definition at line 169 of file vtkMRMLVolumeRenderingDisplayableManager.h.
|
protected |
Definition at line 200 of file vtkMRMLVolumeRenderingDisplayableManager.h.
|
protected |
Definition at line 177 of file vtkMRMLVolumeRenderingDisplayableManager.h.
|
protected |
Definition at line 165 of file vtkMRMLVolumeRenderingDisplayableManager.h.