cisst-saw
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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
6  Created on: 2014
7 
8  (C) Copyright 2014 Johns Hopkins University (JHU), All Rights Reserved.
9 
10  --- begin cisst license - do not edit ---
11 
12  This software is provided "as is" under an open source license, with
13  no warranty. The complete license can be found in license.txt and
14  http://www.cisst.org/cisst/license.txt.
15 
16  --- end cisst license ---
17  */
18 
19 #ifndef _mtsVFPlane_h
20 #define _mtsVFPlane_h
21 
26 #include <sawConstraintController/mtsVFDataPlane.h>
27 
28 // Always include last!
30 
34 {
36 
37 public:
38 
42 
46  mtsVFPlane(const std::string & name, mtsVFDataPlane * data) : mtsVFCartesianTranslation(name,data)
47  {
48  IsFrameSet = false;
49  }
50 
52 
54  void FillInTableauRefs(const mtsVFBase::CONTROLLERMODE mode, const double TickTime);
55 
56  void SetFrame(const vctFrame4x4<double>& Frame);
57 
58  prmKinematicsState * CurrentKinematics;
59 
60 private:
61  bool IsFrameSet;
62  vctFrame4x4<double> frame;
63 };
64 
66 
67 #endif // _mtsVFPlane_h
#define CISST_EXPORT
Definition: cmnExportMacros.h:50
Typedef for dynamic vectors.
prmKinematicsState * CurrentKinematics
Definition: mtsVFPlane.h:58
mtsVFPlane(const std::string &name, mtsVFDataPlane *data)
Definition: mtsVFPlane.h:46
This is the base class for all virtual fixture objects.
Definition: mtsVFCartVel.h:29
Typedef for dynamic matrices.
#define CMN_LOG_LOD_RUN_VERBOSE
Definition: cmnLogLoD.h:95
mtsVFPlane: A class that contains logic for the implementation of Plane virtual fixtures ...
Definition: mtsVFPlane.h:33
#define CMN_DECLARE_SERVICES(hasDynamicCreation, lod)
Definition: cmnClassRegisterMacros.h:116
mtsVFPlane()
Definition: mtsVFPlane.h:41
void FillInTableauRefs(const mtsVFBase::CONTROLLERMODE mode, const double TickTime)
Updates co with virtual fixture data.
CONTROLLERMODE
Definition: mtsVFBase.h:39
const int CMN_DYNAMIC_CREATION
Definition: cmnClassRegisterMacros.h:331
CMN_DECLARE_SERVICES_INSTANTIATION(mtsVFPlane)