 |
Computer Assited Medical Intervention Tool Kit
version 4.1
|
Go to the documentation of this file.
49 Direction(
double x0,
double y0,
double z0) {
79 o <<
"x=\"" <<
x <<
"\" ";
91 o <<
"y=\"" <<
y <<
"\" ";
103 o <<
"z=\"" <<
z <<
"\"";
109 o <<
"/>" << std::endl;
113 void set(
const double x,
const double y,
const double z) {
125 void setToward(
const unsigned int toward) {
139 double getX()
const {
168 double getY()
const {
199 double getZ()
const {
the direction is set dynamically depending on the "toward" position
Definition: Direction.h:255
the direction has never been specified: it is absolutly free
Definition: Direction.h:252
bool isToward() const
true only if the direction is set by a toward atom
Definition: Direction.h:152
DirState xState
state for the x coordinates
Definition: Direction.h:265
void setNullY()
set the y coordinate as NULL
Definition: Direction.h:205
void setToward(const unsigned int toward)
set the toward index
Definition: Direction.h:146
bool isZSpecified() const
is the z coordinate specified
Definition: Direction.h:231
double getY() const
get the y coordinate
Definition: Direction.h:190
double z
z coordinates
Definition: Direction.h:263
int getToward() const
get the toward index
Definition: Direction.h:141
void setX(const double x)
set the x coordinate
Definition: Direction.h:181
double getZ() const
get the z coordinate
Definition: Direction.h:221
Class that defines the direction of the Load with x, y and z.
Definition: Direction.h:38
bool isZNull() const
is the z coordinate NULL ?
Definition: Direction.h:226
DirState
state of the x,y and z
Definition: Direction.h:251
double y
y coordinates
Definition: Direction.h:261
bool isXSpecified() const
is the x coordinate specified
Definition: Direction.h:170
void xmlPrint(std::ostream &o) const
print to an ostream
Definition: Direction.h:87
int towardIndex
toward atom index
Definition: Direction.h:271
the direction has been specified to be something imposed but not null (even 0.0 is possible!...
Definition: Direction.h:254
the direction has been specified to be always null
Definition: Direction.h:253
void set(const double x, const double y, const double z)
set the direction
Definition: Direction.h:134
DirState yState
state for the y coordinates
Definition: Direction.h:267
Direction()
default constructor: nothing is specified
Definition: Direction.h:64
bool isXNull() const
is the x coordinate NULL ?
Definition: Direction.h:165
void setNullZ()
set the z coordinate as NULL
Definition: Direction.h:236
double x
x coordinates
Definition: Direction.h:259
bool isYSpecified() const
is the y coordinate specified
Definition: Direction.h:200
bool isYNull() const
is the y coordinate NULL ?
Definition: Direction.h:195
void setZ(const double z)
set the z coordinate
Definition: Direction.h:242
double getX() const
get the x coordinate
Definition: Direction.h:160
void setY(const double y)
set the y coordinate
Definition: Direction.h:211
void setNullX()
set the x coordinate as NULL
Definition: Direction.h:175
DirState zState
state for the z coordinates
Definition: Direction.h:269