12 #ifndef CXREADFBGSMESSAGE_H 13 #define CXREADFBGSMESSAGE_H 15 #include "org_custusx_tracking_shape_Export.h" 47 void readBuffer(QString buffer);
48 void setColor(QColor color);
52 void setShapePointLock(
int posNumber);
53 bool createPolyData();
54 std::vector<double> *getAxisPosVector(
AXIS axis);
57 bool saveMeshSnapshot();
58 static QString
getMeshUid() {
return QString(
"FBGS_fiber");}
67 int mShapePointLockNumber = 0;
71 bool mMeshAdded =
false;
78 QString getAxisString(
AXIS axis);
80 void clearAxisVectors();
81 int readPosForOneAxis(
AXIS axis, QStringList &bufferList,
int previousPos);
82 int getAxisStringPosition(QStringList &bufferList,
AXIS axis,
int startFrom);
83 bool toInt(QString
string,
int &value);
84 bool toDouble(QString
string,
double &value);
90 #endif // CXREADFBGSMESSAGE_H
boost::shared_ptr< class ReadFbgsMessage > ReadFbgsMessagePtr
vtkSmartPointer< class vtkActor > vtkActorPtr
std::vector< double > mXaxis
vtkSmartPointer< class vtkPolyDataMapper > vtkPolyDataMapperPtr
boost::shared_ptr< class VisServices > VisServicesPtr
vtkSmartPointer< class vtkProperty > vtkPropertyPtr
Transform3D Transform3D
Transform3D is a representation of an affine 3D transform.
vtkSmartPointer< class vtkCellArray > vtkCellArrayPtr
std::vector< double > mZaxis
vtkPolyDataMapperPtr mPolyDataMapper
vtkSmartPointer< vtkPoints > vtkPointsPtr
static QString getMeshUid()
vtkSmartPointer< vtkPolyData > vtkPolyDataPtr
Eigen::Vector3d Vector3D
Vector3D is a representation of a point or vector in 3D.
std::vector< double > mYaxis
boost::shared_ptr< class Mesh > MeshPtr
std::vector< AXIS > mAxis
vtkPolyDataPtr mPolyData
polydata representation of the probe, in space u
Namespace for all CustusX production code.