Computer Assited Medical Intervention Tool Kit  version 5.0
Translation.h
Go to the documentation of this file.
1 /*****************************************************************************
2  * $CAMITK_LICENCE_BEGIN$
3  *
4  * CamiTK - Computer Assisted Medical Intervention ToolKit
5  * (c) 2001-2021 Univ. Grenoble Alpes, CNRS, Grenoble INP, TIMC, 38000 Grenoble, France
6  *
7  * Visit http://camitk.imag.fr for more information
8  *
9  * This file is part of CamiTK.
10  *
11  * CamiTK is free software: you can redistribute it and/or modify
12  * it under the terms of the GNU Lesser General Public License version 3
13  * only, as published by the Free Software Foundation.
14  *
15  * CamiTK is distributed in the hope that it will be useful,
16  * but WITHOUT ANY WARRANTY; without even the implied warranty of
17  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18  * GNU Lesser General Public License version 3 for more details.
19  *
20  * You should have received a copy of the GNU Lesser General Public License
21  * version 3 along with CamiTK. If not, see <http://www.gnu.org/licenses/>.
22  *
23  * $CAMITK_LICENCE_END$
24  ****************************************************************************/
25 
26 #ifndef TRANSLATION_H
27 #define TRANSLATION_H
28 
29 #include "TranslationUnit.h"
30 #include "Load.h"
39 class Translation : public Load {
40 public:
41  Translation();
42 
46  void ansysPrint(std::ostream&) const override;
47 
48 };
49 
50 #endif //TRANSLATION_H
Translation::Translation
Translation()
Definition: Translation.cpp:30
Translation::ansysPrint
void ansysPrint(std::ostream &) const override
Redefinition of ansysPrint to print in ansys format.
Definition: Translation.cpp:35
TranslationUnit.h
Direction::getY
double getY() const
get the y coordinate
Definition: Direction.h:203
Load::getValueEvent
ValueEvent * getValueEvent(const unsigned int i) const
Get a the ValueEvent.
Definition: Load.cpp:256
Load::numberOfValueEvents
unsigned int numberOfValueEvents() const
get the nr of value event
Definition: Load.cpp:266
Load
Class that describes a load to be used in the simulation. This load can have different types Translat...
Definition: Load.h:53
Load::typeString
std::string typeString
Definition: Load.h:199
Direction::getZ
double getZ() const
get the z coordinate
Definition: Direction.h:234
ValueEvent::getValue
double getValue()
return the scalar value of the event
Definition: ValueEvent.cpp:36
Direction::isZNull
bool isZNull() const
is the z coordinate NULL ?
Definition: Direction.h:239
TranslationUnit::M
static TranslationUnit & M()
meters
Definition: TranslationUnit.cpp:29
Load.h
Load::ansysPrint
virtual void ansysPrint(std::ostream &) const
Print the load in ansys format (BEWARE: not everything is implemented)
Definition: Load.cpp:321
Direction::isXNull
bool isXNull() const
is the x coordinate NULL ?
Definition: Direction.h:178
Translation.h
Translation
Class that defines the type of Load 'Translation'.
Definition: Translation.h:39
Direction::isYNull
bool isYNull() const
is the y coordinate NULL ?
Definition: Direction.h:208
Load::dir
Direction dir
Definition: Load.h:197
Direction::getX
double getX() const
get the x coordinate
Definition: Direction.h:173
Load::unit
Unit unit
Definition: Load.h:198