VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
vtkImageCursor3D Class Reference

Paints a cursor on top of an image or volume. More...

#include <vtkImageCursor3D.h>

Inheritance diagram for vtkImageCursor3D:
Inheritance graph
[legend]
Collaboration diagram for vtkImageCursor3D:
Collaboration graph
[legend]

List of all members.

Public Types

typedef vtkImageInPlaceFilter Superclass

Public Member Functions

virtual int IsA (const char *type)
vtkImageCursor3DNewInstance () const
void PrintSelf (ostream &os, vtkIndent indent)
virtual void SetCursorPosition (double, double, double)
virtual void SetCursorPosition (double[3])
virtual doubleGetCursorPosition ()
virtual void GetCursorPosition (double &, double &, double &)
virtual void GetCursorPosition (double[3])
virtual void SetCursorValue (double)
virtual double GetCursorValue ()
virtual void SetCursorRadius (int)
virtual int GetCursorRadius ()

Static Public Member Functions

static vtkImageCursor3DNew ()
static int IsTypeOf (const char *type)
static vtkImageCursor3DSafeDownCast (vtkObjectBase *o)

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 vtkImageCursor3D ()
 ~vtkImageCursor3D ()
virtual int RequestData (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)

Protected Attributes

double CursorPosition [3]
double CursorValue
int CursorRadius

Detailed Description

Paints a cursor on top of an image or volume.

vtkImageCursor3D will draw a cursor on a 2d image or 3d volume.

Tests:
vtkImageCursor3D (Tests)

Definition at line 30 of file vtkImageCursor3D.h.


Member Typedef Documentation

Reimplemented from vtkImageInPlaceFilter.

Definition at line 34 of file vtkImageCursor3D.h.


Constructor & Destructor Documentation

vtkImageCursor3D::~vtkImageCursor3D ( ) [inline, protected]

Definition at line 60 of file vtkImageCursor3D.h.


Member Function Documentation

Create an object with Debug turned off, modified time initialized to zero, and reference counting on.

Reimplemented from vtkAlgorithm.

static int vtkImageCursor3D::IsTypeOf ( const char *  name) [static]

Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkImageInPlaceFilter.

virtual int vtkImageCursor3D::IsA ( const char *  name) [virtual]

Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkImageInPlaceFilter.

Reimplemented from vtkImageInPlaceFilter.

virtual vtkObjectBase* vtkImageCursor3D::NewInstanceInternal ( ) const [protected, virtual]

Reimplemented from vtkImageInPlaceFilter.

Reimplemented from vtkImageInPlaceFilter.

void vtkImageCursor3D::PrintSelf ( ostream &  os,
vtkIndent  indent 
) [virtual]

Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.

Reimplemented from vtkImageInPlaceFilter.

virtual void vtkImageCursor3D::SetCursorPosition ( double  ,
double  ,
double   
) [virtual]

Sets/Gets the center point of the 3d cursor.

virtual void vtkImageCursor3D::SetCursorPosition ( double  [3]) [virtual]

Sets/Gets the center point of the 3d cursor.

Sets/Gets the center point of the 3d cursor.

virtual void vtkImageCursor3D::GetCursorPosition ( double ,
double ,
double  
) [virtual]

Sets/Gets the center point of the 3d cursor.

virtual void vtkImageCursor3D::GetCursorPosition ( double  [3]) [virtual]

Sets/Gets the center point of the 3d cursor.

virtual void vtkImageCursor3D::SetCursorValue ( double  ) [virtual]

Sets/Gets what pixel value to draw the cursor in.

Sets/Gets what pixel value to draw the cursor in.

virtual void vtkImageCursor3D::SetCursorRadius ( int  ) [virtual]

Sets/Gets the radius of the cursor. The radius determines how far the axis lines project out from the cursors center.

virtual int vtkImageCursor3D::GetCursorRadius ( ) [virtual]

Sets/Gets the radius of the cursor. The radius determines how far the axis lines project out from the cursors center.

virtual int vtkImageCursor3D::RequestData ( vtkInformation request,
vtkInformationVector **  inputVector,
vtkInformationVector outputVector 
) [protected, virtual]

This is called in response to a REQUEST_DATA request from the executive. Subclasses should override either this method or the ExecuteDataWithInformation method in order to generate data for their outputs. For images, the output arrays will already be allocated, so all that is necessary is to fill in the voxel values.

Reimplemented from vtkImageInPlaceFilter.


Member Data Documentation

Definition at line 60 of file vtkImageCursor3D.h.

Definition at line 63 of file vtkImageCursor3D.h.

Definition at line 64 of file vtkImageCursor3D.h.


The documentation for this class was generated from the following file: