VTK
vtkResliceCursorActor.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkResliceCursorActor.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 =========================================================================*/
27 #ifndef vtkResliceCursorActor_h
28 #define vtkResliceCursorActor_h
29 
30 #include "vtkInteractionWidgetsModule.h" // For export macro
31 #include "vtkProp3D.h"
32 
33 class vtkResliceCursor;
35 class vtkPolyDataMapper;
36 class vtkActor;
37 class vtkProperty;
38 class vtkBoundingBox;
39 
40 class VTKINTERACTIONWIDGETS_EXPORT vtkResliceCursorActor : public vtkProp3D
41 {
42 
43 public:
44 
46 
51  void PrintSelf(ostream& os, vtkIndent indent);
53 
55 
58  vtkGetObjectMacro( CursorAlgorithm, vtkResliceCursorPolyDataAlgorithm );
60 
64  virtual int RenderOpaqueGeometry(vtkViewport *viewport);
65 
70 
77 
81  double *GetBounds();
82 
87 
89 
95 
100 
104  virtual void SetUserMatrix( vtkMatrix4x4 *matrix);
105 
106 protected:
109 
110  void UpdateViewProps( vtkViewport * v = NULL );
112 
114  vtkPolyDataMapper * CursorCenterlineMapper[3];
115  vtkActor * CursorCenterlineActor[3];
116  vtkPolyDataMapper * CursorThickSlabMapper[3];
117  vtkActor * CursorThickSlabActor[3];
118  vtkProperty * CenterlineProperty[3];
119  vtkProperty * ThickSlabProperty[3];
120 
121 private:
122  vtkResliceCursorActor(const vtkResliceCursorActor&) VTK_DELETE_FUNCTION;
123  void operator=(const vtkResliceCursorActor&) VTK_DELETE_FUNCTION;
124 };
125 
126 #endif
vtkPolyDataMapper
map vtkPolyData to graphics primitives
Definition: vtkPolyDataMapper.h:43
vtkProp3D
represents an 3D object for placement in a rendered scene
Definition: vtkProp3D.h:47
vtkResliceCursor
Geometry for a reslice cursor.
Definition: vtkResliceCursor.h:47
vtkResliceCursorActor::CursorAlgorithm
vtkResliceCursorPolyDataAlgorithm * CursorAlgorithm
Definition: vtkResliceCursorActor.h:113
vtkResliceCursorActor::New
static vtkResliceCursorActor * New()
Standard VTK methods.
vtkResliceCursorActor::~vtkResliceCursorActor
~vtkResliceCursorActor()
vtkResliceCursorActor::GetCenterlineActor
vtkActor * GetCenterlineActor(int axis)
Get the centerline actor along a particular axis.
vtkResliceCursorActor::GetCenterlineProperty
vtkProperty * GetCenterlineProperty(int i)
Get property of the internal actor.
vtkWindow
window superclass for vtkRenderWindow
Definition: vtkWindow.h:35
vtkMTimeType
vtkTypeUInt64 vtkMTimeType
Definition: vtkType.h:248
vtkBoundingBox
Fast Simple Class for dealing with 3D bounds.
Definition: vtkBoundingBox.h:36
vtkResliceCursorActor::GetMTime
vtkMTimeType GetMTime()
Get the actors mtime plus consider its algorithm.
vtkResliceCursorActor::HasTranslucentPolygonalGeometry
virtual int HasTranslucentPolygonalGeometry()
Does this prop have some translucent polygonal geometry? No.
vtkResliceCursorPolyDataAlgorithm
generates a 2D reslice cursor polydata
Definition: vtkResliceCursorPolyDataAlgorithm.h:46
vtkActor
represents an object (geometry & properties) in a rendered scene
Definition: vtkActor.h:52
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:40
vtkMatrix4x4
represent and manipulate 4x4 transformation matrices
Definition: vtkMatrix4x4.h:42
vtkResliceCursorActor::UpdateViewProps
void UpdateViewProps(vtkViewport *v=NULL)
vtkResliceCursorActor::GetThickSlabProperty
vtkProperty * GetThickSlabProperty(int i)
vtkViewport
abstract specification for Viewports
Definition: vtkViewport.h:48
vtkResliceCursorActor::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
vtkResliceCursorActor::SetUserMatrix
virtual void SetUserMatrix(vtkMatrix4x4 *matrix)
Set the user matrix on all the internal actors.
vtkResliceCursorActor::vtkResliceCursorActor
vtkResliceCursorActor()
vtkResliceCursorActor
Represent a reslice cursor.
Definition: vtkResliceCursorActor.h:41
vtkResliceCursorActor::ReleaseGraphicsResources
void ReleaseGraphicsResources(vtkWindow *)
Release any graphics resources that are being consumed by this actor.
vtkProperty
represent surface properties of a geometric object
Definition: vtkProperty.h:65
vtkResliceCursorActor::RenderOpaqueGeometry
virtual int RenderOpaqueGeometry(vtkViewport *viewport)
Support the standard render methods.
vtkResliceCursorActor::GetBounds
double * GetBounds()
Get the bounds for this Actor as (Xmin,Xmax,Ymin,Ymax,Zmin,Zmax).
vtkResliceCursorActor::UpdateHoleSize
void UpdateHoleSize(vtkViewport *v)
vtkProp3D.h