14 #ifndef CXTOOLREP2D_H_ 15 #define CXTOOLREP2D_H_ 17 #include "cxResourceVisualizationExport.h" 50 static ToolRep2DPtr New(SpaceProviderPtr spaceProvider,
const QString& uid=
"");
52 virtual QString getType()
const;
57 void setUseCrosshair(
bool on);
58 void setCrosshairColor(
const QColor& color);
59 void setTooltipLineColor(
const QColor& color);
60 void setTooltipPointColor(
const QColor& color);
61 void setToolOffsetPointColor(
const QColor& color);
62 void setToolOffsetLineColor(
const QColor& color);
66 void toolTransformAndTimestampSlot(
Transform3D prMt,
double timestamp);
67 void toolVisibleSlot(
bool visible);
74 virtual void addRepActorsToViewRenderer(
ViewPtr view);
75 virtual void removeRepActorsFromViewRenderer(
ViewPtr view);
76 virtual void onModifiedStartRender();
79 ToolRep2D(SpaceProviderPtr spaceProvider);
88 void updateOffsetText();
89 void crossHairResized();
91 SpaceProviderPtr mSpaceProvider;
100 bool mMergeOffsetAndToolLine;
boost::shared_ptr< class SpaceProvider > SpaceProviderPtr
vtkSmartPointer< class vtkActor > vtkActorPtr
boost::shared_ptr< class CrossHair2D > CrossHair2DPtr
vtkSmartPointer< class vtkPolyDataMapper > vtkPolyDataMapperPtr
Transform3D Transform3D
Transform3D is a representation of an affine 3D transform.
boost::shared_ptr< class View > ViewPtr
boost::shared_ptr< class ToolRep2D > ToolRep2DPtr
vtkSmartPointer< class vtkRenderer > vtkRendererPtr
boost::shared_ptr< class TextDisplay > TextDisplayPtr
boost::shared_ptr< class LineSegment > LineSegmentPtr
Default implementation of Rep.
Representation of a floating-point bounding box in 3D. The data are stored as {xmin,xmax,ymin,ymax,zmin,zmax}, in order to simplify communication with vtk.
boost::shared_ptr< class ProbeSector > ProbeSectorPtr
Eigen::Vector3d Vector3D
Vector3D is a representation of a point or vector in 3D.
boost::shared_ptr< class OffsetPoint > OffsetPointPtr
Namespace for all CustusX production code.