cisst-saw
Loading...
Searching...
No Matches
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
25#include <sawConstraintController/mtsVFDataPlane.h>
26
27// Always include last!
29
33{
34 CMN_DECLARE_SERVICES(CMN_DYNAMIC_CREATION, CMN_LOG_LOD_RUN_VERBOSE);
35
36public:
37
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
58private:
59 bool IsFrameSet;
61};
62
64
65#endif // _mtsVFPlane_h
CONTROLLERMODE
Definition mtsVFBase.h:39
mtsVFCartesianTranslation()
Definition mtsVFCartVel.h:40
mtsVFPlane: A class that contains logic for the implementation of Plane virtual fixtures
Definition mtsVFPlane.h:33
void FillInTableauRefs(const mtsVFBase::CONTROLLERMODE mode, const double tickTime)
Updates co with virtual fixture data.
void ConvertRefs(const mtsVFBase::CONTROLLERMODE mode, const double tickTime)
Converts the data in the references if a change in mode is needed.
mtsVFPlane(const std::string &name, mtsVFDataBase *data)
prmKinematicsState * CurrentKinematics
Definition mtsVFPlane.h:56
void SetFrame(const vctFrame4x4< double > &Frame)
Template base class for a 4x4 frame.
Definition vctFrame4x4.h:51
#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.