22 #ifndef vtkPVOrthographicSliceView_h 23 #define vtkPVOrthographicSliceView_h 27 class vtkPVOrthographicSliceViewInteractorStyle;
63 void SetSlicePosition(
double x,
double y,
double z);
64 vtkGetVector3Macro(SlicePosition,
double);
71 vtkSetVector3Macro(SliceIncrements,
double);
78 vtkSetMacro(SliceAnnotationsVisibility,
bool);
79 vtkGetMacro(SliceAnnotationsVisibility,
bool);
123 YZ_PLANE = SIDE_VIEW,
125 XY_PLANE = FRONT_VIEW,
127 AXIAL_VIEW = TOP_VIEW,
128 CORONAL_VIEW = FRONT_VIEW,
129 SAGITTAL_VIEW = SIDE_VIEW,
131 RIGHT_SIDE_VIEW = SIDE_VIEW
141 double SliceIncrements[3];
142 double SlicePosition[3];
149 void OnMouseWheelForwardEvent();
150 void OnMouseWheelBackwardEvent();
151 void MoveSlicePosition(
vtkRenderer* ren,
double position[3]);
153 unsigned long MouseWheelForwardEventId;
154 unsigned long MouseWheelBackwardEventId;
156 friend class vtkPVOrthographicSliceViewInteractorStyle;
158 bool GridAxes3DActorsNeedShallowCopy;
159 unsigned long GridAxes3DActorObserverId;
160 void OnGridAxes3DActorModified();
static vtkPVMultiSliceView * New()
view with 3 orthographic slice views and 1 3D view.
virtual void SetBackgroundTexture(vtkTexture *val)
Forward to 3D renderer.
virtual void SetRotationFactor(double factor)
Forward to vtkPVInteractorStyle instances.
#define VTKREMOTINGVIEWS_EXPORT
virtual void SetCenterOfRotation(double x, double y, double z)
Forward to vtkPVInteractorStyle instances.
void ResetCamera()
Resets the active camera using collective prop-bounds.
virtual void UpdateCenterAxes()
UpdateCenterAxes().
vtkNew< vtkPVOrthographicSliceViewInteractorStyle > OrthographicInteractorStyle
void AboutToRenderOnLocalProcess(bool interactive) override
Called just before the local process renders.
bool SliceAnnotationsVisibility
vtkPVMultiSliceView extends vtkPVRenderView but add meta-data information used by SliceRepresentation...
virtual void UpdateBackground(vtkRenderer *renderer=nullptr)
Updates background color.
virtual void SetInteractionMode(int mode)
Get/Set the interaction mode.
virtual vtkRenderer * GetRenderer(int rendererType=DEFAULT_RENDERER)
Returns the renderer given an int identifying its type.
vtkNew< vtkPVCenterAxesActor > SlicePositionAxes3D
void ScaleRendererViewports(const double viewport[4]) override
Overridden to scale the OrientationWidget appropriately.
void PrintSelf(ostream &os, vtkIndent indent) override
virtual void SetGridAxes3DActor(vtkPVGridAxes3DActor *)
Set the vtkPVGridAxes3DActor to use for the view.
void SetCenterAxesVisibility(bool) override
To avoid confusion, we don't show the center axes at all in this view.
virtual void SetupInteractor(vtkRenderWindowInteractor *)
Set the interactor.
ParaView extensions for vtkGridAxes3DActor.