Fraxinus
16.5.0-fx-rc6
An IGT application
|
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 () |
Helper for drawing a crosshair in 2D.
Definition at line 161 of file cxVtkHelperClasses.h.
cx::CrossHair2D::CrossHair2D | ( | vtkRendererPtr | renderer | ) |
Definition at line 239 of file cxVtkHelperClasses.cpp.
cx::CrossHair2D::~CrossHair2D | ( | ) |
Definition at line 251 of file cxVtkHelperClasses.cpp.
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.