Class responsible for synchronizing the camera of the different display layers. If a pipeline doesn't use a specific camera, its layer will be set the default camera. The default camera is synchronized to the renderer 0 by this class and its default implementation is to copy the content of the main camera when the camera has changed.
More...
#include <Modules/Loadable/LayerDM/MRMLDM/vtkMRMLLayerDMCameraSynchronizer.h>
Class responsible for synchronizing the camera of the different display layers. If a pipeline doesn't use a specific camera, its layer will be set the default camera. The default camera is synchronized to the renderer 0 by this class and its default implementation is to copy the content of the main camera when the camera has changed.
For SliceViews, the class monitors modified events to set the default camera aligned with the Slice view properties.
Definition at line 45 of file vtkMRMLLayerDMCameraSynchronizer.h.
◆ Superclass
◆ vtkMRMLLayerDMCameraSynchronizer()
| vtkMRMLLayerDMCameraSynchronizer::vtkMRMLLayerDMCameraSynchronizer |
( |
| ) |
|
|
protected |
◆ ~vtkMRMLLayerDMCameraSynchronizer()
| vtkMRMLLayerDMCameraSynchronizer::~vtkMRMLLayerDMCameraSynchronizer |
( |
| ) |
|
|
overrideprotected |
◆ BlockModified()
| bool vtkMRMLLayerDMCameraSynchronizer::BlockModified |
( |
bool | isBlocked | ) |
|
Blocks modified invocation. Doesn't block updates on the underlying camera changes.
- Returns
- previous blocked state.
◆ GetClassName()
| virtual const char * vtkMRMLLayerDMCameraSynchronizer::GetClassName |
( |
| ) |
|
|
virtual |
◆ IsA()
| virtual int vtkMRMLLayerDMCameraSynchronizer::IsA |
( |
const char * | type | ) |
|
|
virtual |
◆ IsTypeOf()
| static int vtkMRMLLayerDMCameraSynchronizer::IsTypeOf |
( |
const char * | type | ) |
|
|
static |
◆ New()
◆ PrintSelf()
| void vtkMRMLLayerDMCameraSynchronizer::PrintSelf |
( |
ostream & | os, |
|
|
vtkIndent | indent ) |
|
override |
◆ SafeDownCast()
◆ SetDefaultCamera()
| void vtkMRMLLayerDMCameraSynchronizer::SetDefaultCamera |
( |
const vtkSmartPointer< vtkCamera > & | camera | ) |
|
Set the default camera which will be synchronized by this class.
◆ SetRenderer()
| void vtkMRMLLayerDMCameraSynchronizer::SetRenderer |
( |
vtkRenderer * | renderer | ) |
|
Set the default renderer used by the displayable manager. The renderer active camera will be monitored for change when applicable (for instance 3D views).
◆ SetViewNode()
Set the view node for which the camera will be synchronized.
The documentation for this class was generated from the following file: