cisst-saw
Loading...
Searching...
No Matches
mtsVFMesh.h
Go to the documentation of this file.
1#ifndef MTSVFMESH_H
2#define MTSVFMESH_H
3
9#include <sawConstraintController/mtsVFDataMesh.h>
10
13#include <cisstMesh/msh3Mesh.h>
14
15// Always include last!
17
19{
20 CMN_DECLARE_SERVICES(CMN_DYNAMIC_CREATION, CMN_LOG_LOD_RUN_VERBOSE);
21public:
23
27 mtsVFMesh(const std::string & name, mtsVFDataBase * data, msh3Mesh & mesh);
28
30
32 void FillInTableauRefs(const mtsVFBase::CONTROLLERMODE mode, const double tickTime) override;
33 void ComputeConstraintSize() override;
34
35 void ConvertRefs(const mtsVFBase::CONTROLLERMODE mode, const double tickTime) override;
36
37 void TransformMesh(const vctFrm4x4 & transformation, msh3Mesh & mesh);
39
40protected:
41 prmKinematicsState * CurrentKinematics;
45};
46
48
49#endif // MTSVFMESH_H
Definition msh3AlgPDTreeCPMesh.h:48
Definition msh3Mesh.h:57
Definition msh3PDTreeMesh.h:48
CONTROLLERMODE
Definition mtsVFBase.h:39
mtsVFCartesianTranslation()
Definition mtsVFCartVel.h:40
Definition mtsVFMesh.h:19
msh3AlgPDTreeCPMesh * pAlgMesh
Definition mtsVFMesh.h:43
void TransformMesh(const vctFrm4x4 &transformation, msh3Mesh &mesh)
void ConvertRefs(const mtsVFBase::CONTROLLERMODE mode, const double tickTime) override
Converts the data in the references if a change in mode is needed.
vct3 mCurrentPosition
Definition mtsVFMesh.h:44
void ConstructPDTree(msh3Mesh &mesh)
mtsVFMesh(const std::string &name, mtsVFDataBase *data, msh3Mesh &mesh)
prmKinematicsState * CurrentKinematics
Definition mtsVFMesh.h:41
msh3PDTreeMesh * pTreeMesh
Definition mtsVFMesh.h:42
void FillInTableauRefs(const mtsVFBase::CONTROLLERMODE mode, const double tickTime) override
Updates co with virtual fixture data.
void ComputeConstraintSize() override
#define CMN_DECLARE_SERVICES_INSTANTIATION(className)
Definition cmnClassRegisterMacros.h:199
const int CMN_DYNAMIC_CREATION
Definition cmnClassRegisterMacros.h:328
#define CISST_EXPORT
Definition cmnExportMacros.h:50
#define CMN_LOG_LOD_RUN_VERBOSE
Definition cmnLogLoD.h:95
Typedef for dynamic matrices.
Typedef for dynamic vectors.
Typedef for fixed size vectors.
vctFixedSizeVector< double, 3 > vct3
Definition vctFixedSizeVectorTypes.h:46
vctFrame4x4< double, VCT_ROW_MAJOR > vctFrm4x4
Definition vctTransformationTypes.h:153