cisst-saw
Toggle main menu visibility
Loading...
Searching...
No Matches
tmp
cisst-saw
sawConstraintController
components
include
sawConstraintController
mtsVFPlane.h
Go to the documentation of this file.
1
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2
/* ex: set filetype=cpp softtabstop=4 shiftwidth=4 tabstop=4 cindent expandtab: */
3
4
/*
5
Author(s): Preetham Chalasani & Max Zhaoshuo Li
6
7
(C) Copyright 2014-2020 Johns Hopkins University (JHU), All Rights Reserved.
8
9
--- begin cisst license - do not edit ---
10
11
This software is provided "as is" under an open source license, with
12
no warranty. The complete license can be found in license.txt and
13
http://www.cisst.org/cisst/license.txt.
14
15
--- end cisst license ---
16
*/
17
18
#ifndef _mtsVFPlane_h
19
#define _mtsVFPlane_h
20
21
#include <
cisstVector/vctDynamicVectorTypes.h
>
22
#include <
cisstVector/vctDynamicMatrixTypes.h
>
23
#include <
sawConstraintController/mtsVFBase.h
>
24
#include <
sawConstraintController/mtsVFCartVel.h
>
25
#include <sawConstraintController/mtsVFDataPlane.h>
26
27
// Always include last!
28
#include <
sawConstraintController/sawConstraintControllerExport.h
>
29
32
class
CISST_EXPORT
mtsVFPlane
:
public
mtsVFCartesianTranslation
33
{
34
CMN_DECLARE_SERVICES(
CMN_DYNAMIC_CREATION
,
CMN_LOG_LOD_RUN_VERBOSE
);
35
36
public
:
37
40
mtsVFPlane
();
41
45
mtsVFPlane
(
const
std::string & name, mtsVFDataBase * data);
46
48
50
void
FillInTableauRefs
(
const
mtsVFBase::CONTROLLERMODE
mode,
const
double
tickTime);
51
52
void
SetFrame
(
const
vctFrame4x4<double>
& Frame);
53
54
void
ConvertRefs
(
const
mtsVFBase::CONTROLLERMODE
mode,
const
double
tickTime);
55
56
prmKinematicsState *
CurrentKinematics
;
57
58
private
:
59
bool
IsFrameSet;
60
vctFrame4x4<double>
frame;
61
};
62
63
CMN_DECLARE_SERVICES_INSTANTIATION
(
mtsVFPlane
);
64
65
#endif
// _mtsVFPlane_h
mtsVFBase::CONTROLLERMODE
CONTROLLERMODE
Definition
mtsVFBase.h:39
mtsVFCartesianTranslation::mtsVFCartesianTranslation
mtsVFCartesianTranslation()
Definition
mtsVFCartVel.h:40
mtsVFPlane
mtsVFPlane: A class that contains logic for the implementation of Plane virtual fixtures
Definition
mtsVFPlane.h:33
mtsVFPlane::mtsVFPlane
mtsVFPlane()
mtsVFPlane::FillInTableauRefs
void FillInTableauRefs(const mtsVFBase::CONTROLLERMODE mode, const double tickTime)
Updates co with virtual fixture data.
mtsVFPlane::ConvertRefs
void ConvertRefs(const mtsVFBase::CONTROLLERMODE mode, const double tickTime)
Converts the data in the references if a change in mode is needed.
mtsVFPlane::mtsVFPlane
mtsVFPlane(const std::string &name, mtsVFDataBase *data)
mtsVFPlane::CurrentKinematics
prmKinematicsState * CurrentKinematics
Definition
mtsVFPlane.h:56
mtsVFPlane::SetFrame
void SetFrame(const vctFrame4x4< double > &Frame)
vctFrame4x4
Template base class for a 4x4 frame.
Definition
vctFrame4x4.h:51
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
mtsVFBase.h
mtsVFCartVel.h
sawConstraintControllerExport.h
vctDynamicMatrixTypes.h
Typedef for dynamic matrices.
vctDynamicVectorTypes.h
Typedef for dynamic vectors.
Generated by
1.18.0