NorMIT-nav
2023.01.05-dev+develop.0da12
An IGT application
|
#include <cxReadFbgsMessage.h>
Public Types | |
enum | AXIS { axisX, axisY, axisZ, axisCOUNT } |
Public Member Functions | |
ReadFbgsMessage (VisServicesPtr services) | |
void | readBuffer (QString buffer) |
void | setColor (QColor color) |
vtkPolyDataPtr | getPolyData () |
vtkActorPtr | getActor () |
void | set_prMt (Transform3D prMt) |
void | setShapePointLock (int posNumber) |
bool | createPolyData () |
std::vector< double > * | getAxisPosVector (AXIS axis) |
int | getRangeMax () |
MeshPtr | getMesh () |
bool | saveMeshSnapshot () |
Static Public Member Functions | |
static QString | getMeshUid () |
Protected Member Functions | |
QString | getAxisString (AXIS axis) |
void | clearPolyData () |
void | clearAxisVectors () |
int | readPosForOneAxis (AXIS axis, QStringList &bufferList, int previousPos) |
int | getAxisStringPosition (QStringList &bufferList, AXIS axis, int startFrom) |
bool | toInt (QString string, int &value) |
bool | toDouble (QString string, double &value) |
virtual Transform3D | lockShape (int position) |
Vector3D | getDeltaPosition (int pos) |
Protected Attributes | |
VisServicesPtr | mServices |
vtkPolyDataPtr | mPolyData |
polydata representation of the probe, in space u More... | |
vtkActorPtr | mActor |
vtkPolyDataMapperPtr | mPolyDataMapper |
vtkPropertyPtr | mProperty |
vtkPointsPtr | mPoints |
vtkCellArrayPtr | mLines |
int | mShapePointLockNumber = 0 |
Transform3D | m_prMt |
int | mRangeMax = 0 |
MeshPtr | mMesh |
bool | mMeshAdded = false |
std::vector< AXIS > | mAxis |
std::vector< double > | mXaxis |
std::vector< double > | mYaxis |
std::vector< double > | mZaxis |
Class for decoding the messages from the FBGS, and creating a vtkPolyData.
Definition at line 36 of file cxReadFbgsMessage.h.
Enumerator | |
---|---|
axisX | |
axisY | |
axisZ | |
axisCOUNT |
Definition at line 39 of file cxReadFbgsMessage.h.
cx::ReadFbgsMessage::ReadFbgsMessage | ( | VisServicesPtr | services | ) |
Definition at line 33 of file cxReadFbgsMessage.cpp.
|
protected |
Definition at line 291 of file cxReadFbgsMessage.cpp.
|
protected |
Definition at line 284 of file cxReadFbgsMessage.cpp.
bool cx::ReadFbgsMessage::createPolyData | ( | ) |
Definition at line 216 of file cxReadFbgsMessage.cpp.
vtkActorPtr cx::ReadFbgsMessage::getActor | ( | ) |
Definition at line 68 of file cxReadFbgsMessage.cpp.
std::vector< double > * cx::ReadFbgsMessage::getAxisPosVector | ( | AXIS | axis | ) |
Definition at line 114 of file cxReadFbgsMessage.cpp.
|
protected |
Definition at line 94 of file cxReadFbgsMessage.cpp.
|
protected |
Definition at line 205 of file cxReadFbgsMessage.cpp.
|
protected |
Definition at line 261 of file cxReadFbgsMessage.cpp.
MeshPtr cx::ReadFbgsMessage::getMesh | ( | ) |
Definition at line 298 of file cxReadFbgsMessage.cpp.
|
inlinestatic |
Definition at line 58 of file cxReadFbgsMessage.h.
vtkPolyDataPtr cx::ReadFbgsMessage::getPolyData | ( | ) |
Definition at line 63 of file cxReadFbgsMessage.cpp.
int cx::ReadFbgsMessage::getRangeMax | ( | ) |
Definition at line 84 of file cxReadFbgsMessage.cpp.
|
protectedvirtual |
Definition at line 249 of file cxReadFbgsMessage.cpp.
void cx::ReadFbgsMessage::readBuffer | ( | QString | buffer | ) |
Definition at line 134 of file cxReadFbgsMessage.cpp.
|
protected |
Definition at line 151 of file cxReadFbgsMessage.cpp.
bool cx::ReadFbgsMessage::saveMeshSnapshot | ( | ) |
Definition at line 323 of file cxReadFbgsMessage.cpp.
void cx::ReadFbgsMessage::set_prMt | ( | Transform3D | prMt | ) |
Definition at line 73 of file cxReadFbgsMessage.cpp.
void cx::ReadFbgsMessage::setColor | ( | QColor | color | ) |
Definition at line 89 of file cxReadFbgsMessage.cpp.
void cx::ReadFbgsMessage::setShapePointLock | ( | int | posNumber | ) |
Definition at line 79 of file cxReadFbgsMessage.cpp.
|
protected |
Definition at line 189 of file cxReadFbgsMessage.cpp.
|
protected |
Definition at line 180 of file cxReadFbgsMessage.cpp.
|
protected |
Definition at line 68 of file cxReadFbgsMessage.h.
|
protected |
Definition at line 62 of file cxReadFbgsMessage.h.
|
protected |
Definition at line 73 of file cxReadFbgsMessage.h.
|
protected |
Definition at line 66 of file cxReadFbgsMessage.h.
|
protected |
Definition at line 70 of file cxReadFbgsMessage.h.
|
protected |
Definition at line 71 of file cxReadFbgsMessage.h.
|
protected |
Definition at line 65 of file cxReadFbgsMessage.h.
|
protected |
polydata representation of the probe, in space u
Definition at line 61 of file cxReadFbgsMessage.h.
|
protected |
Definition at line 63 of file cxReadFbgsMessage.h.
|
protected |
Definition at line 64 of file cxReadFbgsMessage.h.
|
protected |
Definition at line 69 of file cxReadFbgsMessage.h.
|
protected |
Definition at line 60 of file cxReadFbgsMessage.h.
|
protected |
Definition at line 67 of file cxReadFbgsMessage.h.
|
protected |
Definition at line 74 of file cxReadFbgsMessage.h.
|
protected |
Definition at line 75 of file cxReadFbgsMessage.h.
|
protected |
Definition at line 76 of file cxReadFbgsMessage.h.