cisst-saw
Toggle main menu visibility
Loading...
Searching...
No Matches
tmp
cisst-saw
sawConstraintController
components
include
sawConstraintController
mtsVFMesh.h
Go to the documentation of this file.
1
#ifndef MTSVFMESH_H
2
#define MTSVFMESH_H
3
4
#include <
cisstVector/vctDynamicVectorTypes.h
>
5
#include <
cisstVector/vctDynamicMatrixTypes.h
>
6
#include <
cisstVector/vctFixedSizeVectorTypes.h
>
7
#include <
sawConstraintController/mtsVFBase.h
>
8
#include <
sawConstraintController/mtsVFCartVel.h
>
9
#include <sawConstraintController/mtsVFDataMesh.h>
10
11
#include <
cisstMesh/msh3PDTreeMesh.h
>
12
#include <
cisstMesh/msh3AlgPDTreeCPMesh.h
>
13
#include <
cisstMesh/msh3Mesh.h
>
14
15
// Always include last!
16
#include <
sawConstraintController/sawConstraintControllerExport.h
>
17
18
class
CISST_EXPORT
mtsVFMesh
:
public
mtsVFCartesianTranslation
19
{
20
CMN_DECLARE_SERVICES(
CMN_DYNAMIC_CREATION
,
CMN_LOG_LOD_RUN_VERBOSE
);
21
public
:
22
mtsVFMesh
();
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);
38
void
ConstructPDTree
(
msh3Mesh
& mesh);
39
40
protected
:
41
prmKinematicsState *
CurrentKinematics
;
42
msh3PDTreeMesh
*
pTreeMesh
;
43
msh3AlgPDTreeCPMesh
*
pAlgMesh
;
44
vct3
mCurrentPosition
;
45
};
46
47
CMN_DECLARE_SERVICES_INSTANTIATION
(
mtsVFMesh
);
48
49
#endif
// MTSVFMESH_H
msh3AlgPDTreeCPMesh
Definition
msh3AlgPDTreeCPMesh.h:48
msh3Mesh
Definition
msh3Mesh.h:57
msh3PDTreeMesh
Definition
msh3PDTreeMesh.h:48
mtsVFBase::CONTROLLERMODE
CONTROLLERMODE
Definition
mtsVFBase.h:39
mtsVFCartesianTranslation::mtsVFCartesianTranslation
mtsVFCartesianTranslation()
Definition
mtsVFCartVel.h:40
mtsVFMesh
Definition
mtsVFMesh.h:19
mtsVFMesh::pAlgMesh
msh3AlgPDTreeCPMesh * pAlgMesh
Definition
mtsVFMesh.h:43
mtsVFMesh::TransformMesh
void TransformMesh(const vctFrm4x4 &transformation, msh3Mesh &mesh)
mtsVFMesh::ConvertRefs
void ConvertRefs(const mtsVFBase::CONTROLLERMODE mode, const double tickTime) override
Converts the data in the references if a change in mode is needed.
mtsVFMesh::mCurrentPosition
vct3 mCurrentPosition
Definition
mtsVFMesh.h:44
mtsVFMesh::ConstructPDTree
void ConstructPDTree(msh3Mesh &mesh)
mtsVFMesh::mtsVFMesh
mtsVFMesh(const std::string &name, mtsVFDataBase *data, msh3Mesh &mesh)
mtsVFMesh::CurrentKinematics
prmKinematicsState * CurrentKinematics
Definition
mtsVFMesh.h:41
mtsVFMesh::pTreeMesh
msh3PDTreeMesh * pTreeMesh
Definition
mtsVFMesh.h:42
mtsVFMesh::mtsVFMesh
mtsVFMesh()
mtsVFMesh::FillInTableauRefs
void FillInTableauRefs(const mtsVFBase::CONTROLLERMODE mode, const double tickTime) override
Updates co with virtual fixture data.
mtsVFMesh::ComputeConstraintSize
void ComputeConstraintSize() override
CMN_DECLARE_SERVICES_INSTANTIATION
#define CMN_DECLARE_SERVICES_INSTANTIATION(className)
Definition
cmnClassRegisterMacros.h:199
CMN_DYNAMIC_CREATION
const int CMN_DYNAMIC_CREATION
Definition
cmnClassRegisterMacros.h:328
CISST_EXPORT
#define CISST_EXPORT
Definition
cmnExportMacros.h:50
CMN_LOG_LOD_RUN_VERBOSE
#define CMN_LOG_LOD_RUN_VERBOSE
Definition
cmnLogLoD.h:95
msh3AlgPDTreeCPMesh.h
msh3Mesh.h
msh3PDTreeMesh.h
mtsVFBase.h
mtsVFCartVel.h
sawConstraintControllerExport.h
vctDynamicMatrixTypes.h
Typedef for dynamic matrices.
vctDynamicVectorTypes.h
Typedef for dynamic vectors.
vctFixedSizeVectorTypes.h
Typedef for fixed size vectors.
vct3
vctFixedSizeVector< double, 3 > vct3
Definition
vctFixedSizeVectorTypes.h:46
vctFrm4x4
vctFrame4x4< double, VCT_ROW_MAJOR > vctFrm4x4
Definition
vctTransformationTypes.h:153
Generated by
1.18.0