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:
[legend]
Collaboration diagram for vtkImageCursor3D:
[legend]

List of all members.

Public Types

typedef vtkImageInPlaceFilter Superclass
- Public Types inherited from vtkImageInPlaceFilter
- Public Types inherited from vtkImageAlgorithm
- Public Types inherited from vtkAlgorithm
- Public Types inherited from vtkObject

Public Member Functions

virtual const char * GetClassName ()
virtual int IsA (const char *type)
void PrintSelf (ostream &os, vtkIndent indent)
virtual void SetCursorPosition (double, double, double)
virtual void SetCursorPosition (double[3])
virtual double * GetCursorPosition ()
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 (vtkObject *o)

Protected Member Functions

 vtkImageCursor3D ()
 ~vtkImageCursor3D ()
virtual int RequestData (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
- Protected Member Functions inherited from vtkImageInPlaceFilter
 vtkImageInPlaceFilter ()
 ~vtkImageInPlaceFilter ()
void CopyData (vtkImageData *in, vtkImageData *out)
- Protected Member Functions inherited from vtkImageAlgorithm
 vtkImageAlgorithm ()
 ~vtkImageAlgorithm ()
virtual int RequestInformation (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
virtual int RequestUpdateExtent (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
virtual void CopyInputArrayAttributesToOutput (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
virtual void AllocateOutputData (vtkImageData *out, int *uExtent)
virtual vtkImageDataAllocateOutputData (vtkDataObject *out)
virtual void CopyAttributeData (vtkImageData *in, vtkImageData *out, vtkInformationVector **inputVector)
virtual int FillOutputPortInformation (int port, vtkInformation *info)
virtual int FillInputPortInformation (int port, vtkInformation *info)
virtual void ExecuteData (vtkDataObject *output)
virtual void Execute ()
- Protected Member Functions inherited from vtkAlgorithm
 vtkAlgorithm ()
 ~vtkAlgorithm ()
virtual void SetNumberOfInputPorts (int n)
virtual void SetNumberOfOutputPorts (int n)
int InputPortIndexInRange (int index, const char *action)
int OutputPortIndexInRange (int index, const char *action)
int GetInputArrayAssociation (int idx, vtkInformationVector **inputVector)
virtual vtkExecutiveCreateDefaultExecutive ()
virtual void ReportReferences (vtkGarbageCollector *)
virtual void SetNumberOfInputConnections (int port, int n)
int GetInputArrayAssociation (int idx, int connection, vtkInformationVector **inputVector)
int GetInputArrayAssociation (int idx, vtkDataObject *input)
vtkDataArrayGetInputArrayToProcess (int idx, vtkInformationVector **inputVector)
vtkDataArrayGetInputArrayToProcess (int idx, vtkInformationVector **inputVector, int &association)
vtkDataArrayGetInputArrayToProcess (int idx, int connection, vtkInformationVector **inputVector)
vtkDataArrayGetInputArrayToProcess (int idx, int connection, vtkInformationVector **inputVector, int &association)
vtkDataArrayGetInputArrayToProcess (int idx, vtkDataObject *input)
vtkDataArrayGetInputArrayToProcess (int idx, vtkDataObject *input, int &association)
vtkAbstractArrayGetInputAbstractArrayToProcess (int idx, vtkInformationVector **inputVector)
vtkAbstractArrayGetInputAbstractArrayToProcess (int idx, vtkInformationVector **inputVector, int &association)
vtkAbstractArrayGetInputAbstractArrayToProcess (int idx, int connection, vtkInformationVector **inputVector)
vtkAbstractArrayGetInputAbstractArrayToProcess (int idx, int connection, vtkInformationVector **inputVector, int &association)
vtkAbstractArrayGetInputAbstractArrayToProcess (int idx, vtkDataObject *input)
vtkAbstractArrayGetInputAbstractArrayToProcess (int idx, vtkDataObject *input, int &association)
vtkInformationGetInputArrayFieldInformation (int idx, vtkInformationVector **inputVector)
virtual void SetNthInputConnection (int port, int index, vtkAlgorithmOutput *input)
virtual void SetErrorCode (unsigned long)
- Protected Member Functions inherited from vtkObject
 vtkObject ()
virtual ~vtkObject ()
virtual void RegisterInternal (vtkObjectBase *, int check)
virtual void UnRegisterInternal (vtkObjectBase *, int check)
void InternalGrabFocus (vtkCommand *mouseEvents, vtkCommand *keypressEvents=NULL)
void InternalReleaseFocus ()
- Protected Member Functions inherited from vtkObjectBase
 vtkObjectBase ()
virtual ~vtkObjectBase ()
virtual void CollectRevisions (ostream &os)
 vtkObjectBase (const vtkObjectBase &)
void operator= (const vtkObjectBase &)

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 29 of file vtkImageCursor3D.h.


Member Typedef Documentation

Reimplemented from vtkImageInPlaceFilter.

Definition at line 33 of file vtkImageCursor3D.h.


Constructor & Destructor Documentation

vtkImageCursor3D::vtkImageCursor3D ( )
protected
vtkImageCursor3D::~vtkImageCursor3D ( )
inlineprotected

Definition at line 59 of file vtkImageCursor3D.h.


Member Function Documentation

static vtkImageCursor3D* vtkImageCursor3D::New ( )
static

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

Reimplemented from vtkAlgorithm.

virtual const char* vtkImageCursor3D::GetClassName ( )
virtual

Reimplemented from vtkImageInPlaceFilter.

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.

static vtkImageCursor3D* vtkImageCursor3D::SafeDownCast ( vtkObject o)
static

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.

virtual double* vtkImageCursor3D::GetCursorPosition ( )
virtual

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.

virtual double vtkImageCursor3D::GetCursorValue ( )
virtual

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 
)
protectedvirtual

This is called by the superclass. This is the method you should override.

Reimplemented from vtkImageInPlaceFilter.


Member Data Documentation

double vtkImageCursor3D::CursorPosition[3]
protected

Definition at line 59 of file vtkImageCursor3D.h.

double vtkImageCursor3D::CursorValue
protected

Definition at line 62 of file vtkImageCursor3D.h.

int vtkImageCursor3D::CursorRadius
protected

Definition at line 63 of file vtkImageCursor3D.h.


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