34 #ifndef vtkPVOrthographicSliceView_h 35 #define vtkPVOrthographicSliceView_h 39 class vtkPVOrthographicSliceViewInteractorStyle;
75 void SetSlicePosition(
double x,
double y,
double z);
76 vtkGetVector3Macro(SlicePosition,
double);
83 vtkSetVector3Macro(SliceIncrements,
double);
90 vtkSetMacro(SliceAnnotationsVisibility,
bool);
91 vtkGetMacro(SliceAnnotationsVisibility,
bool);
134 YZ_PLANE = SIDE_VIEW,
136 XY_PLANE = FRONT_VIEW,
138 AXIAL_VIEW = TOP_VIEW,
139 CORONAL_VIEW = FRONT_VIEW,
140 SAGITTAL_VIEW = SIDE_VIEW,
142 RIGHT_SIDE_VIEW = SIDE_VIEW
152 double SliceIncrements[3];
153 double SlicePosition[3];
160 void OnMouseWheelForwardEvent();
161 void OnMouseWheelBackwardEvent();
162 void MoveSlicePosition(
vtkRenderer* ren,
double position[3]);
164 unsigned long MouseWheelForwardEventId;
165 unsigned long MouseWheelBackwardEventId;
167 friend class vtkPVOrthographicSliceViewInteractorStyle;
169 bool GridAxes3DActorsNeedShallowCopy;
170 unsigned long GridAxes3DActorObserverId;
171 void OnGridAxes3DActorModified();
static vtkPVMultiSliceView * New()
view with 3 orthographic slice views and 1 3D view.
virtual void SetBackgroundTexture(vtkTexture *val)
virtual void SetRotationFactor(double factor)
#define VTKREMOTINGVIEWS_EXPORT
virtual void SetCenterOfRotation(double x, double y, double z)
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 SetBackground(double r, double g, double b)
virtual void SetGradientBackground(int val)
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.
virtual void SetTexturedBackground(int val)
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.
virtual void SetBackground2(double r, double g, double b)