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();
Transform3D Transform3D
Transform3D is a representation of an affine 3D transform.
double getMilliSecondsSinceEpoch()
vtkSmartPointer< vtkPolyData > vtkPolyDataPtr
Namespace for all CustusX production code.