VTK
vtkImagePlaneWidget.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkImagePlaneWidget.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
106 #ifndef vtkImagePlaneWidget_h
107 #define vtkImagePlaneWidget_h
108 
109 #include "vtkInteractionWidgetsModule.h" // For export macro
110 #include "vtkPolyDataSourceWidget.h"
111 
112 class vtkActor;
114 class vtkDataSetMapper;
115 class vtkImageData;
116 class vtkImageMapToColors;
117 class vtkImageReslice;
118 class vtkLookupTable;
119 class vtkMatrix4x4;
120 class vtkPlaneSource;
121 class vtkPoints;
122 class vtkPolyData;
123 class vtkProperty;
124 class vtkTextActor;
125 class vtkTextProperty;
126 class vtkTexture;
127 class vtkTransform;
128 
129 #define VTK_NEAREST_RESLICE 0
130 #define VTK_LINEAR_RESLICE 1
131 #define VTK_CUBIC_RESLICE 2
132 
133 // Private.
134 #define VTK_IMAGE_PLANE_WIDGET_MAX_TEXTBUFF 128
135 
136 class VTKINTERACTIONWIDGETS_EXPORT vtkImagePlaneWidget : public vtkPolyDataSourceWidget
137 {
138 public:
142  static vtkImagePlaneWidget *New();
143 
145  void PrintSelf(ostream& os, vtkIndent indent) override;
146 
148 
151  void SetEnabled(int) override;
152  void PlaceWidget(double bounds[6]) override;
153  void PlaceWidget() override
154  {this->Superclass::PlaceWidget();}
155  void PlaceWidget(double xmin, double xmax, double ymin, double ymax,
156  double zmin, double zmax) override
157  {this->Superclass::PlaceWidget(xmin,xmax,ymin,ymax,zmin,zmax);}
159 
163  void SetInputConnection(vtkAlgorithmOutput* aout) override;
164 
166 
169  void SetOrigin(double x, double y, double z);
170  void SetOrigin(double xyz[3]);
171  double* GetOrigin() VTK_SIZEHINT(3);
172  void GetOrigin(double xyz[3]);
174 
176 
179  void SetPoint1(double x, double y, double z);
180  void SetPoint1(double xyz[3]);
181  double* GetPoint1() VTK_SIZEHINT(3);
182  void GetPoint1(double xyz[3]);
184 
186 
189  void SetPoint2(double x, double y, double z);
190  void SetPoint2(double xyz[3]);
191  double* GetPoint2() VTK_SIZEHINT(3);
192  void GetPoint2(double xyz[3]);
194 
196 
199  double* GetCenter() VTK_SIZEHINT(3);
200  void GetCenter(double xyz[3]);
202 
204 
207  double* GetNormal() VTK_SIZEHINT(3);
208  void GetNormal(double xyz[3]);
210 
214  void GetVector1(double v1[3]);
215 
219  void GetVector2(double v2[3]);
220 
224  int GetSliceIndex();
225 
229  void SetSliceIndex(int index);
230 
234  double GetSlicePosition();
235 
239  void SetSlicePosition(double position);
240 
242 
245  void SetResliceInterpolate(int);
246  vtkGetMacro(ResliceInterpolate,int);
247  void SetResliceInterpolateToNearestNeighbour()
248  { this->SetResliceInterpolate(VTK_NEAREST_RESLICE); }
250  { this->SetResliceInterpolate(VTK_LINEAR_RESLICE); }
252  { this->SetResliceInterpolate(VTK_CUBIC_RESLICE); }
254 
258  vtkImageData* GetResliceOutput();
259 
261 
265  vtkSetMacro(RestrictPlaneToVolume,vtkTypeBool);
266  vtkGetMacro(RestrictPlaneToVolume,vtkTypeBool);
267  vtkBooleanMacro(RestrictPlaneToVolume,vtkTypeBool);
269 
271 
276  vtkSetMacro(UserControlledLookupTable,vtkTypeBool);
277  vtkGetMacro(UserControlledLookupTable,vtkTypeBool);
278  vtkBooleanMacro(UserControlledLookupTable,vtkTypeBool);
280 
282 
288  vtkSetMacro(TextureInterpolate,vtkTypeBool);
289  vtkGetMacro(TextureInterpolate,vtkTypeBool);
290  vtkBooleanMacro(TextureInterpolate,vtkTypeBool);
292 
294 
298  virtual void SetTextureVisibility(vtkTypeBool);
299  vtkGetMacro(TextureVisibility,vtkTypeBool);
300  vtkBooleanMacro(TextureVisibility,vtkTypeBool);
302 
311  void GetPolyData(vtkPolyData *pd);
312 
320 
325  void UpdatePlacement(void) override;
326 
331  vtkTexture *GetTexture();
332 
334 
340  vtkGetObjectMacro(ColorMap, vtkImageMapToColors);
341  virtual void SetColorMap(vtkImageMapToColors *);
343 
345 
349  virtual void SetPlaneProperty(vtkProperty*);
350  vtkGetObjectMacro(PlaneProperty,vtkProperty);
351  virtual void SetSelectedPlaneProperty(vtkProperty*);
352  vtkGetObjectMacro(SelectedPlaneProperty,vtkProperty);
354 
356 
360  void SetPlaneOrientation(int);
361  vtkGetMacro(PlaneOrientation,int);
363  { this->SetPlaneOrientation(0); }
365  { this->SetPlaneOrientation(1); }
367  { this->SetPlaneOrientation(2); }
369 
376  void SetPicker(vtkAbstractPropPicker*);
377 
379 
386  virtual void SetLookupTable(vtkLookupTable*);
387  vtkGetObjectMacro(LookupTable,vtkLookupTable);
389 
391 
395  vtkSetMacro(DisplayText,vtkTypeBool);
396  vtkGetMacro(DisplayText,vtkTypeBool);
397  vtkBooleanMacro(DisplayText,vtkTypeBool);
399 
401 
404  virtual void SetCursorProperty(vtkProperty*);
405  vtkGetObjectMacro(CursorProperty,vtkProperty);
407 
409 
412  virtual void SetMarginProperty(vtkProperty*);
413  vtkGetObjectMacro(MarginProperty,vtkProperty);
415 
417 
421  vtkSetClampMacro(MarginSizeX,double, 0.0, 0.5);
422  vtkGetMacro(MarginSizeX, double);
423  vtkSetClampMacro(MarginSizeY,double, 0.0, 0.5);
424  vtkGetMacro(MarginSizeY, double);
426 
428 
431  void SetTextProperty(vtkTextProperty* tprop);
432  vtkTextProperty* GetTextProperty();
434 
436 
439  virtual void SetTexturePlaneProperty(vtkProperty*);
440  vtkGetObjectMacro(TexturePlaneProperty,vtkProperty);
442 
444 
450  void SetWindowLevel(double window, double level, int copy = 0);
451  void GetWindowLevel(double wl[2]);
452  double GetWindow(){return this->CurrentWindow;}
453  double GetLevel(){return this->CurrentLevel;}
455 
460  int GetCursorData(double xyzv[4]);
461 
467  int GetCursorDataStatus();
468 
470 
474  vtkGetVectorMacro(CurrentCursorPosition,double,3);
476 
478 
483  vtkGetMacro(CurrentImageValue,double);
485 
487 
490  vtkGetObjectMacro( ResliceAxes, vtkMatrix4x4 );
491  vtkGetObjectMacro( Reslice, vtkImageReslice );
493 
495 
502  vtkSetMacro(UseContinuousCursor,vtkTypeBool);
503  vtkGetMacro(UseContinuousCursor,vtkTypeBool);
504  vtkBooleanMacro(UseContinuousCursor,vtkTypeBool);
506 
508 
511  void SetInteraction(vtkTypeBool interact);
512  vtkGetMacro(Interaction,vtkTypeBool);
513  vtkBooleanMacro(Interaction,vtkTypeBool);
515 
517 
520  enum
521  {
522  VTK_CURSOR_ACTION = 0,
523  VTK_SLICE_MOTION_ACTION = 1,
524  VTK_WINDOW_LEVEL_ACTION = 2
525  };
526  vtkSetClampMacro(LeftButtonAction,int, VTK_CURSOR_ACTION, VTK_WINDOW_LEVEL_ACTION);
527  vtkGetMacro(LeftButtonAction, int);
528  vtkSetClampMacro(MiddleButtonAction,int, VTK_CURSOR_ACTION, VTK_WINDOW_LEVEL_ACTION);
529  vtkGetMacro(MiddleButtonAction, int);
530  vtkSetClampMacro(RightButtonAction,int, VTK_CURSOR_ACTION, VTK_WINDOW_LEVEL_ACTION);
531  vtkGetMacro(RightButtonAction, int);
533 
535 
543  enum
544  {
545  VTK_NO_MODIFIER = 0,
546  VTK_SHIFT_MODIFIER = 1,
547  VTK_CONTROL_MODIFIER = 2
548  };
549  vtkSetClampMacro(LeftButtonAutoModifier,int, VTK_NO_MODIFIER, VTK_CONTROL_MODIFIER);
550  vtkGetMacro(LeftButtonAutoModifier, int);
551  vtkSetClampMacro(MiddleButtonAutoModifier,int, VTK_NO_MODIFIER, VTK_CONTROL_MODIFIER);
552  vtkGetMacro(MiddleButtonAutoModifier, int);
553  vtkSetClampMacro(RightButtonAutoModifier,int, VTK_NO_MODIFIER, VTK_CONTROL_MODIFIER);
554  vtkGetMacro(RightButtonAutoModifier, int);
556 
557 protected:
559  ~vtkImagePlaneWidget() override;
560 
562 
566 
570 
571  enum
572  {
573  VTK_NO_BUTTON = 0,
574  VTK_LEFT_BUTTON = 1,
575  VTK_MIDDLE_BUTTON = 2,
576  VTK_RIGHT_BUTTON = 3
577  };
579 
580  // Manage the state of the widget
581  int State;
583  {
584  Start=0,
592  Outside
593  };
594 
595  // Handles the events
596  static void ProcessEvents(vtkObject* object,
597  unsigned long event,
598  void* clientdata,
599  void* calldata);
600 
601  // internal utility method that adds observers to the RenderWindowInteractor
602  // so that our ProcessEvents is eventually called. this method is called
603  // by SetEnabled as well as SetInteraction
604  void AddObservers();
605 
606  // ProcessEvents() dispatches to these methods.
607  virtual void OnMouseMove();
608  virtual void OnLeftButtonDown();
609  virtual void OnLeftButtonUp();
610  virtual void OnMiddleButtonDown();
611  virtual void OnMiddleButtonUp();
612  virtual void OnRightButtonDown();
613  virtual void OnRightButtonUp();
614  void OnChar() override;
615 
616  virtual void StartCursor();
617  virtual void StopCursor();
618  virtual void StartSliceMotion();
619  virtual void StopSliceMotion();
620  virtual void StartWindowLevel();
621  virtual void StopWindowLevel();
622 
623  // controlling ivars
624  vtkTypeBool Interaction; // Is the widget responsive to mouse events
630  double CurrentLevel;
632  double InitialLevel;
639 
640  // The geometric representation of the plane and it's outline
644  void HighlightPlane(int highlight);
645  void GeneratePlaneOutline();
646 
647  // Re-builds the plane outline based on the plane source
648  void BuildRepresentation();
649 
650  // Do the picking
652 
653  // Register internal Pickers within PickingManager
654  void RegisterPickers() override;
655 
656  // for negative window values.
657  void InvertTable();
658 
659  // Methods to manipulate the plane
660  void WindowLevel(int X, int Y);
661  void Push(double *p1, double *p2);
662  void Spin(double *p1, double *p2);
663  void Rotate(double *p1, double *p2, double *vpn);
664  void Scale(double *p1, double *p2, int X, int Y);
665  void Translate(double *p1, double *p2);
666 
675  vtkLookupTable *CreateDefaultLookupTable();
676 
677  // Properties used to control the appearance of selected objects and
678  // the manipulator in general. The plane property is actually that for
679  // the outline. The TexturePlaneProperty can be used to control the
680  // lighting etc. of the resliced image data.
686  void CreateDefaultProperties();
687 
688  // Reslice and texture management
689  void UpdatePlane();
690  void GenerateTexturePlane();
691 
692  // The cross-hair cursor
695  double CurrentCursorPosition[3];
696  double CurrentImageValue; // Set to VTK_DOUBLE_MAX when invalid
697  void GenerateCursor();
698  void UpdateCursor(int,int);
699  void ActivateCursor(int);
700  int UpdateContinuousCursor(double *q);
701  int UpdateDiscreteCursor(double *q);
703 
704  // The text to display W/L, image data
707  void GenerateText();
708  void ManageTextDisplay();
709  void ActivateText(int);
710 
711  // Oblique reslice control
712  double RotateAxis[3];
713  double RadiusVector[3];
714  void AdjustState();
715 
716  // Visible margins to assist user interaction
720  void GenerateMargins();
721  void UpdateMargins();
722  void ActivateMargins(int);
723  double MarginSizeX;
724  double MarginSizeY;
725 
726 private:
727  vtkImagePlaneWidget(const vtkImagePlaneWidget&) = delete;
728  void operator=(const vtkImagePlaneWidget&) = delete;
729 };
730 
731 #endif
vtkPoints
represent and manipulate 3D points
Definition: vtkPoints.h:39
vtkImagePlaneWidget::MiddleButtonAction
int MiddleButtonAction
Definition: vtkImagePlaneWidget.h:564
VTK_LINEAR_RESLICE
#define VTK_LINEAR_RESLICE
Definition: vtkImagePlaneWidget.h:130
vtkImagePlaneWidget::Transform
vtkTransform * Transform
Definition: vtkImagePlaneWidget.h:670
vtkImagePlaneWidget::WidgetState
WidgetState
Definition: vtkImagePlaneWidget.h:582
vtkImagePlaneWidget::MiddleButtonAutoModifier
int MiddleButtonAutoModifier
Definition: vtkImagePlaneWidget.h:568
vtkImagePlaneWidget::CursorActor
vtkActor * CursorActor
Definition: vtkImagePlaneWidget.h:694
vtkImagePlaneWidget::ColorMap
vtkImageMapToColors * ColorMap
Definition: vtkImagePlaneWidget.h:672
vtkImagePlaneWidget::TextureInterpolate
vtkTypeBool TextureInterpolate
Definition: vtkImagePlaneWidget.h:636
vtkImagePlaneWidget::Spinning
Definition: vtkImagePlaneWidget.h:588
vtkImagePlaneWidget::OriginalWindow
double OriginalWindow
Definition: vtkImagePlaneWidget.h:627
vtkImagePlaneWidget::MarginActor
vtkActor * MarginActor
Definition: vtkImagePlaneWidget.h:718
vtkImagePlaneWidget::CursorPolyData
vtkPolyData * CursorPolyData
Definition: vtkImagePlaneWidget.h:693
vtkImagePlaneWidget::LastButtonPressed
int LastButtonPressed
Definition: vtkImagePlaneWidget.h:578
vtkPolyDataSourceWidget::PlaceWidget
void PlaceWidget() override
Overrides vtk3DWidget PlaceWidget() so that it doesn't complain if there's no Input and no Prop3D.
vtkImagePlaneWidget::RestrictPlaneToVolume
vtkTypeBool RestrictPlaneToVolume
Definition: vtkImagePlaneWidget.h:626
vtkImagePlaneWidget::OriginalLevel
double OriginalLevel
Definition: vtkImagePlaneWidget.h:628
vtkInteractorObserver::OnChar
virtual void OnChar()
Sets up the keypress-i event.
vtkPolyDataSourceWidget::GetPolyDataAlgorithm
virtual vtkPolyDataAlgorithm * GetPolyDataAlgorithm()=0
Returns underlying vtkPolyDataAlgorithm that determines geometry.
vtkObject::New
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
vtkImagePlaneWidget::Reslice
vtkImageReslice * Reslice
Definition: vtkImagePlaneWidget.h:668
vtkPlaneSource
create an array of quadrilaterals located in a plane
Definition: vtkPlaneSource.h:60
vtkImagePlaneWidget::LeftButtonAction
int LeftButtonAction
Definition: vtkImagePlaneWidget.h:563
vtkObject
abstract base class for most VTK objects
Definition: vtkObject.h:59
vtkImagePlaneWidget::MarginPolyData
vtkPolyData * MarginPolyData
Definition: vtkImagePlaneWidget.h:717
vtkImagePlaneWidget::Interaction
vtkTypeBool Interaction
Definition: vtkImagePlaneWidget.h:624
vtkImageMapToColors
map the input image through a lookup table
Definition: vtkImageMapToColors.h:44
vtkImagePlaneWidget::LeftButtonAutoModifier
int LeftButtonAutoModifier
Definition: vtkImagePlaneWidget.h:567
vtkImagePlaneWidget::CurrentLevel
double CurrentLevel
Definition: vtkImagePlaneWidget.h:630
vtkTransform
describes linear transformations via a 4x4 matrix
Definition: vtkTransform.h:60
vtkImagePlaneWidget::StartWindowLevelPositionY
int StartWindowLevelPositionY
Definition: vtkImagePlaneWidget.h:634
VTK_NEAREST_RESLICE
#define VTK_NEAREST_RESLICE
Definition: vtkImagePlaneWidget.h:129
vtkImagePlaneWidget::StartWindowLevelPositionX
int StartWindowLevelPositionX
Definition: vtkImagePlaneWidget.h:633
vtkImagePlaneWidget::PlanePicker
vtkAbstractPropPicker * PlanePicker
Definition: vtkImagePlaneWidget.h:651
vtkX3D::level
Definition: vtkX3D.h:395
vtkX3D::position
Definition: vtkX3D.h:261
vtkImagePlaneWidget::TextActor
vtkTextActor * TextActor
Definition: vtkImagePlaneWidget.h:705
vtkTexture
handles properties associated with a texture map
Definition: vtkTexture.h:71
vtkImagePlaneWidget::SetResliceInterpolateToLinear
void SetResliceInterpolateToLinear()
Definition: vtkImagePlaneWidget.h:249
vtkImagePlaneWidget::Scaling
Definition: vtkImagePlaneWidget.h:591
vtkImagePlaneWidget::GetWindow
double GetWindow()
Definition: vtkImagePlaneWidget.h:452
VTK_SIZEHINT
#define VTK_SIZEHINT(...)
Definition: vtkWrappingHints.h:42
vtkImagePlaneWidget::GetLevel
double GetLevel()
Definition: vtkImagePlaneWidget.h:453
vtk3DWidget::SetInputConnection
virtual void SetInputConnection(vtkAlgorithmOutput *)
vtkPolyDataSourceWidget::UpdatePlacement
virtual void UpdatePlacement()=0
If you've made changes to the underlying vtkPolyDataSource AFTER your initial call to PlaceWidget(),...
vtkImagePlaneWidget::WindowLevelling
Definition: vtkImagePlaneWidget.h:586
vtkInteractorObserver::ProcessEvents
static void ProcessEvents(vtkObject *object, unsigned long event, void *clientdata, void *calldata)
Handles the char widget activation event.
vtkImagePlaneWidget::SetResliceInterpolateToCubic
void SetResliceInterpolateToCubic()
Definition: vtkImagePlaneWidget.h:251
VTK_IMAGE_PLANE_WIDGET_MAX_TEXTBUFF
#define VTK_IMAGE_PLANE_WIDGET_MAX_TEXTBUFF
Definition: vtkImagePlaneWidget.h:134
vtkActor
represents an object (geometry & properties) in a rendered scene
Definition: vtkActor.h:51
vtkInteractorObserver::SetEnabled
virtual void SetEnabled(int)
Methods for turning the interactor observer on and off, and determining its state.
Definition: vtkInteractorObserver.h:73
vtkImageData
topologically and geometrically regular array of data
Definition: vtkImageData.h:45
vtkTextActor
An actor that displays text. Scaled or unscaled.
Definition: vtkTextActor.h:56
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkMatrix4x4
represent and manipulate 4x4 transformation matrices
Definition: vtkMatrix4x4.h:41
vtkImagePlaneWidget::MarginProperty
vtkProperty * MarginProperty
Definition: vtkImagePlaneWidget.h:684
vtkImagePlaneWidget::State
int State
Definition: vtkImagePlaneWidget.h:581
vtkImagePlaneWidget::PlaneProperty
vtkProperty * PlaneProperty
Definition: vtkImagePlaneWidget.h:681
vtkImageReslice
Reslices a volume along a new set of axes.
Definition: vtkImageReslice.h:77
vtkImagePlaneWidget::CursorProperty
vtkProperty * CursorProperty
Definition: vtkImagePlaneWidget.h:683
vtkImagePlaneWidget::SelectedPlaneProperty
vtkProperty * SelectedPlaneProperty
Definition: vtkImagePlaneWidget.h:682
vtkImagePlaneWidget::ImageData
vtkImageData * ImageData
Definition: vtkImagePlaneWidget.h:667
vtkImagePlaneWidget::Moving
Definition: vtkImagePlaneWidget.h:590
vtkImagePlaneWidget::InitialWindow
double InitialWindow
Definition: vtkImagePlaneWidget.h:631
vtkAbstractPropPicker
abstract API for pickers that can pick an instance of vtkProp
Definition: vtkAbstractPropPicker.h:79
vtkImagePlaneWidget::Rotating
Definition: vtkImagePlaneWidget.h:589
vtkImagePlaneWidget::PlaneOutlinePolyData
vtkPolyData * PlaneOutlinePolyData
Definition: vtkImagePlaneWidget.h:642
vtkPolyDataSourceWidget::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkImagePlaneWidget::SetPlaneOrientationToZAxes
void SetPlaneOrientationToZAxes()
Definition: vtkImagePlaneWidget.h:366
vtkImagePlaneWidget::PlaceWidget
void PlaceWidget(double xmin, double xmax, double ymin, double ymax, double zmin, double zmax) override
Definition: vtkImagePlaneWidget.h:155
vtkTextProperty
represent text properties.
Definition: vtkTextProperty.h:39
vtkImagePlaneWidget::RightButtonAction
int RightButtonAction
Definition: vtkImagePlaneWidget.h:565
vtkImagePlaneWidget::TextureVisibility
vtkTypeBool TextureVisibility
Definition: vtkImagePlaneWidget.h:561
vtkInteractorObserver::RegisterPickers
virtual void RegisterPickers()
Register internal Pickers in the Picking Manager.
vtkLookupTable
map scalar values into colors via a lookup table
Definition: vtkLookupTable.h:74
vtkImagePlaneWidget::TexturePlaneProperty
vtkProperty * TexturePlaneProperty
Definition: vtkImagePlaneWidget.h:685
vtkImagePlaneWidget::RightButtonAutoModifier
int RightButtonAutoModifier
Definition: vtkImagePlaneWidget.h:569
vtkImagePlaneWidget::MarginSelectMode
int MarginSelectMode
Definition: vtkImagePlaneWidget.h:719
vtkImagePlaneWidget::InitialLevel
double InitialLevel
Definition: vtkImagePlaneWidget.h:632
vtkImagePlaneWidget::PlaceWidget
void PlaceWidget() override
Definition: vtkImagePlaneWidget.h:153
vtk3DWidget::PlaceWidget
virtual void PlaceWidget()
vtkAlgorithmOutput
Proxy object to connect input/output ports.
Definition: vtkAlgorithmOutput.h:39
vtkImagePlaneWidget::UseContinuousCursor
vtkTypeBool UseContinuousCursor
Definition: vtkImagePlaneWidget.h:702
vtkPolyDataSourceWidget
abstract PolyDataSource-based 3D widget
Definition: vtkPolyDataSourceWidget.h:45
vtkImagePlaneWidget::Texture
vtkTexture * Texture
Definition: vtkImagePlaneWidget.h:673
vtkPolyData
concrete dataset represents vertices, lines, polygons, and triangle strips
Definition: vtkPolyData.h:85
vtkImagePlaneWidget::TexturePlaneActor
vtkActor * TexturePlaneActor
Definition: vtkImagePlaneWidget.h:671
vtkImagePlaneWidget::MarginSizeX
double MarginSizeX
Definition: vtkImagePlaneWidget.h:723
vtkImagePlaneWidget::DisplayText
vtkTypeBool DisplayText
Definition: vtkImagePlaneWidget.h:638
vtkImagePlaneWidget::MarginSizeY
double MarginSizeY
Definition: vtkImagePlaneWidget.h:724
vtkProperty
represent surface properties of a geometric object
Definition: vtkProperty.h:66
vtkImagePlaneWidget::Pushing
Definition: vtkImagePlaneWidget.h:587
vtkImagePlaneWidget
3D widget for reslicing image data
Definition: vtkImagePlaneWidget.h:136
vtkImagePlaneWidget::SetPlaneOrientationToXAxes
void SetPlaneOrientationToXAxes()
Definition: vtkImagePlaneWidget.h:362
vtkImagePlaneWidget::CurrentImageValue
double CurrentImageValue
Definition: vtkImagePlaneWidget.h:696
vtkImagePlaneWidget::PlaneOutlineActor
vtkActor * PlaneOutlineActor
Definition: vtkImagePlaneWidget.h:643
vtkImagePlaneWidget::ResliceAxes
vtkMatrix4x4 * ResliceAxes
Definition: vtkImagePlaneWidget.h:669
vtkImagePlaneWidget::PlaneOrientation
int PlaneOrientation
Definition: vtkImagePlaneWidget.h:625
vtkImagePlaneWidget::Cursoring
Definition: vtkImagePlaneWidget.h:585
vtkImagePlaneWidget::PlaneSource
vtkPlaneSource * PlaneSource
Definition: vtkImagePlaneWidget.h:641
vtkX3D::index
Definition: vtkX3D.h:246
vtkImagePlaneWidget::UserControlledLookupTable
vtkTypeBool UserControlledLookupTable
Definition: vtkImagePlaneWidget.h:637
VTK_CUBIC_RESLICE
#define VTK_CUBIC_RESLICE
Definition: vtkImagePlaneWidget.h:131
vtkImagePlaneWidget::CurrentWindow
double CurrentWindow
Definition: vtkImagePlaneWidget.h:629
vtkTypeBool
int vtkTypeBool
Definition: vtkABI.h:69
vtkImagePlaneWidget::ResliceInterpolate
int ResliceInterpolate
Definition: vtkImagePlaneWidget.h:635
vtkImagePlaneWidget::LookupTable
vtkLookupTable * LookupTable
Definition: vtkImagePlaneWidget.h:674
vtkPolyDataSourceWidget.h
vtkPolyDataAlgorithm
Superclass for algorithms that produce only polydata as output.
Definition: vtkPolyDataAlgorithm.h:44
vtkDataSetMapper
map vtkDataSet and derived classes to graphics primitives
Definition: vtkDataSetMapper.h:42
vtkImagePlaneWidget::SetPlaneOrientationToYAxes
void SetPlaneOrientationToYAxes()
Definition: vtkImagePlaneWidget.h:364