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 =========================================================================*/
26 #ifndef vtkResliceCursorActor_h
27 #define vtkResliceCursorActor_h
28 
29 #include "vtkInteractionWidgetsModule.h" // For export macro
30 #include "vtkProp3D.h"
31 
32 class vtkResliceCursor;
34 class vtkPolyDataMapper;
35 class vtkActor;
36 class vtkProperty;
37 class vtkBoundingBox;
38 
40 {
41 
42 public:
43 
45 
48  void PrintSelf(ostream& os, vtkIndent indent);
50 
52 
55 
57  virtual int RenderOpaqueGeometry(vtkViewport *viewport);
58 
61 
66 
68  double *GetBounds();
69 
71  unsigned long int GetMTime();
72 
74 
78 
81 
84 
85 protected:
88 
89  void UpdateViewProps( vtkViewport * v = NULL );
91 
93  vtkPolyDataMapper * CursorCenterlineMapper[3];
94  vtkActor * CursorCenterlineActor[3];
95  vtkPolyDataMapper * CursorThickSlabMapper[3];
96  vtkActor * CursorThickSlabActor[3];
97  vtkProperty * CenterlineProperty[3];
98  vtkProperty * ThickSlabProperty[3];
99 
100 private:
101  vtkResliceCursorActor(const vtkResliceCursorActor&); // Not implemented.
102  void operator=(const vtkResliceCursorActor&); // Not implemented.
103 };
104 
105 #endif
vtkPolyDataMapper
map vtkPolyData to graphics primitives
Definition: vtkPolyDataMapper.h:42
vtkGetObjectMacro
#define vtkGetObjectMacro(name, type)
Definition: vtkSetGet.h:232
vtkProp3D
represents an 3D object for placement in a rendered scene
Definition: vtkProp3D.h:43
vtkResliceCursor
Geometry for a reslice cursor.
Definition: vtkResliceCursor.h:46
vtkResliceCursorActor::CursorAlgorithm
vtkResliceCursorPolyDataAlgorithm * CursorAlgorithm
Definition: vtkResliceCursorActor.h:92
vtkTypeMacro
#define vtkTypeMacro(thisClass, superclass)
Definition: vtkSetGet.h:642
vtkResliceCursorActor::New
static vtkResliceCursorActor * New()
vtkInteractionWidgetsModule.h
vtkgl::v
const GLdouble * v
Definition: vtkgl.h:11595
vtkResliceCursorActor::~vtkResliceCursorActor
~vtkResliceCursorActor()
vtkResliceCursorActor::GetCenterlineActor
vtkActor * GetCenterlineActor(int axis)
vtkResliceCursorActor::GetCenterlineProperty
vtkProperty * GetCenterlineProperty(int i)
vtkWindow
window superclass for vtkRenderWindow
Definition: vtkWindow.h:34
vtkBoundingBox
Fast Simple Class for dealing with 3D bounds.
Definition: vtkBoundingBox.h:35
vtkResliceCursorActor::HasTranslucentPolygonalGeometry
virtual int HasTranslucentPolygonalGeometry()
vtkResliceCursorPolyDataAlgorithm
generates a 2D reslice cursor polydata
Definition: vtkResliceCursorPolyDataAlgorithm.h:45
vtkActor
represents an object (geometry & properties) in a rendered scene
Definition: vtkActor.h:51
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkMatrix4x4
represent and manipulate 4x4 transformation matrices
Definition: vtkMatrix4x4.h:39
vtkResliceCursorActor::UpdateViewProps
void UpdateViewProps(vtkViewport *v=NULL)
vtkResliceCursorActor::GetThickSlabProperty
vtkProperty * GetThickSlabProperty(int i)
vtkResliceCursorActor::GetMTime
unsigned long int GetMTime()
vtkViewport
abstract specification for Viewports
Definition: vtkViewport.h:47
vtkResliceCursorActor::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
vtkResliceCursorActor::SetUserMatrix
virtual void SetUserMatrix(vtkMatrix4x4 *matrix)
vtkResliceCursorActor::vtkResliceCursorActor
vtkResliceCursorActor()
vtkResliceCursorActor
Represent a reslice cursor.
Definition: vtkResliceCursorActor.h:40
VTKINTERACTIONWIDGETS_EXPORT
#define VTKINTERACTIONWIDGETS_EXPORT
Definition: vtkInteractionWidgetsModule.h:15
vtkResliceCursorActor::ReleaseGraphicsResources
void ReleaseGraphicsResources(vtkWindow *)
vtkgl::matrix
GLuint GLenum matrix
Definition: vtkgl.h:16451
vtkProperty
represent surface properties of a geometric object
Definition: vtkProperty.h:64
vtkResliceCursorActor::RenderOpaqueGeometry
virtual int RenderOpaqueGeometry(vtkViewport *viewport)
vtkResliceCursorActor::GetBounds
double * GetBounds()
vtkResliceCursorActor::UpdateHoleSize
void UpdateHoleSize(vtkViewport *v)
vtkProp3D.h