SignFiducial Class Reference

#include <SignFiducial.h>

List of all members.


Detailed Description

Controls one fiducial.

SignFiducial contains information about and methods to interact with one fiducial.

Author:
Eigil Samset and Arne Hans


Public Member Functions

 SignFiducial (float x, float y, float z, int ID_)
void Add3DMarker (vtkRenderer *ren)
void Remove2DMarker (vtkRenderer *ren)
void RemoveAll2DMarkers ()
 Remove all 2D markers for this fiducial from all 2D renderers.
void GetCoord (float p[3])
void GetColor (double c[3])
int GetID ()
void Add2Map (vtkCrossHair *marker, vtkRenderer *viewer)

Public Attributes

vtkKWPushButton * button
 Pointer to the button that the user can press to delete this fiducial.
vtkKWLabel * label
 Pointer to a label containing the name of this fiducial.
vtkKWFrame * frame
 Pointer to a frame containing label and delete button.

Friends

class SignFiducialCollection


Constructor & Destructor Documentation

SignFiducial::SignFiducial float  x,
float  y,
float  z,
int  ID_
 


Member Function Documentation

void SignFiducial::Add2Map vtkCrossHair marker,
vtkRenderer *  viewer
 

Add a 2D marker to the internal map

Parameters:
marker 2D marker
viewer 2D renderer

void SignFiducial::Add3DMarker vtkRenderer *  ren  ) 
 

Add a marker for the fiducial to a 3D renderer

Parameters:
ren 3D renderer

void SignFiducial::GetColor double  c[3]  ) 
 

Get the color of this fiducial

Parameters:
c pointer to a double[3] array of RGB values

void SignFiducial::GetCoord float  p[3]  ) 
 

Get the coordinates (in world coordinates) of this fiducial

Parameters:
p pointer to a float[3] array

int SignFiducial::GetID  ) 
 

Get the ID of this fiducial

Returns:
ID

void SignFiducial::Remove2DMarker vtkRenderer *  ren  ) 
 

Remove a 2D marker from a specific renderer

Parameters:
ren 2D renderer the marker is removed from

void SignFiducial::RemoveAll2DMarkers  ) 
 

Remove all 2D markers for this fiducial from all 2D renderers.


Friends And Related Function Documentation

friend class SignFiducialCollection [friend]
 


Member Data Documentation

vtkKWPushButton* SignFiducial::button
 

Pointer to the button that the user can press to delete this fiducial.

vtkKWFrame* SignFiducial::frame
 

Pointer to a frame containing label and delete button.

vtkKWLabel* SignFiducial::label
 

Pointer to a label containing the name of this fiducial.


The documentation for this class was generated from the following files:
Generated on Mon Feb 26 12:13:10 2007 for TheSIGN by  doxygen 1.4.6