NorMIT-nav  16.5
An IGT application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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 161 of file cxVtkHelperClasses.h.

Constructor & Destructor Documentation

cx::CrossHair2D::CrossHair2D ( vtkRendererPtr  renderer)

Definition at line 239 of file cxVtkHelperClasses.cpp.

cx::CrossHair2D::~CrossHair2D ( )

Definition at line 251 of file cxVtkHelperClasses.cpp.

Member Function Documentation

vtkActor2DPtr cx::CrossHair2D::getActor ( )

Definition at line 312 of file cxVtkHelperClasses.cpp.

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

Definition at line 256 of file cxVtkHelperClasses.cpp.

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

Definition at line 283 of file cxVtkHelperClasses.cpp.

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

special made update for crosshair in registration

Definition at line 273 of file cxVtkHelperClasses.cpp.


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