Fraxinus  22.09
An IGT application
cx::CrossHair2D Class Reference

Helper for drawing a crosshair in 2D. More...

#include <cxVtkHelperClasses.h>

Public Member Functions

 CrossHair2D (vtkRendererPtr renderer)
 
 ~CrossHair2D ()
 
void setValue (const Vector3D &focalPoint, int width, int height, double bordarOffset, const RGBColor &color)
 
void update (const Vector3D &crossPos, const DoubleBoundingBox3D &vp)
 
void updateRegCross (const Vector3D &crossPos)
 
vtkActor2DPtr getActor ()
 

Detailed Description

Helper for drawing a crosshair in 2D.

Definition at line 147 of file cxVtkHelperClasses.h.

Constructor & Destructor Documentation

cx::CrossHair2D::CrossHair2D ( vtkRendererPtr  renderer)

Definition at line 212 of file cxVtkHelperClasses.cpp.

cx::CrossHair2D::~CrossHair2D ( )

Definition at line 224 of file cxVtkHelperClasses.cpp.

Member Function Documentation

vtkActor2DPtr cx::CrossHair2D::getActor ( )

Definition at line 285 of file cxVtkHelperClasses.cpp.

void cx::CrossHair2D::setValue ( const Vector3D focalPoint,
int  width,
int  height,
double  bordarOffset,
const RGBColor color 
)

Definition at line 229 of file cxVtkHelperClasses.cpp.

void cx::CrossHair2D::update ( const Vector3D crossPos,
const DoubleBoundingBox3D vp 
)

Definition at line 256 of file cxVtkHelperClasses.cpp.

void cx::CrossHair2D::updateRegCross ( const Vector3D crossPos)

special made update for crosshair in registration

Definition at line 246 of file cxVtkHelperClasses.cpp.


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