36 #include <vtkSTLReader.h> 37 #include <vtkCursor3D.h> 51 connect(
this, SIGNAL(
tooltipOffset(
double)),
this, SLOT(read3DCrossHairSlot(
double)));
58 void ManualTool::read3DCrossHairSlot(
double toolTipOffset)
const 62 this->update3DCrossHair(toolTipOffset);
65 void ManualTool::update3DCrossHair(
double toolTipOffset)
const 69 mCrossHair = vtkCursor3DPtr::New();
74 mCrossHair->SetModelBounds(-s, s, -s, s, -s, s + toolTipOffset);
75 mCrossHair->SetFocalPoint(0, 0, toolTipOffset);
86 mTimestamp = timestamp;
92 std::set<Type> retval;
101 return mCrossHair->GetOutput();
144 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.