|
NorMIT-nav
2023.01.05-dev+develop.0da12
An IGT application
|
Go to the documentation of this file.
15 #include <vtkSTLReader.h>
16 #include <vtkCursor3D.h>
30 connect(
this, SIGNAL(
tooltipOffset(
double)),
this, SLOT(read3DCrossHairSlot(
double)));
37 void ManualTool::read3DCrossHairSlot(
double toolTipOffset)
const
41 this->update3DCrossHair(toolTipOffset);
44 void ManualTool::update3DCrossHair(
double toolTipOffset)
const
48 mCrossHair = vtkCursor3DPtr::New();
53 mCrossHair->SetModelBounds(-s, s, -s, s, -s, s + toolTipOffset);
54 mCrossHair->SetFocalPoint(0, 0, toolTipOffset);
65 mTimestamp = timestamp;
71 std::set<Type> retval;
80 return mCrossHair->GetOutput();
123 return Transform3D::Identity();
Namespace for all CustusX production code.
double getMilliSecondsSinceEpoch()
Transform3D Transform3D
Transform3D is a representation of an affine 3D transform.
vtkSmartPointer< vtkPolyData > vtkPolyDataPtr