S_Object.hxx
Go to the documentation of this file.
1 inline const S_ObjectTimeStamp & S_Object::checkStamp() const
2 {
3  return stamp_;
4 }
5 
6 inline void S_Object::getTransformationMatrix(Scalar * d) const
7 {
8  d[0] = mRot_(0, 0);
9  d[4] = mRot_(0, 1);
10  d[8] = mRot_(0, 2);
11  d[12] = trans_[0];
12  d[1] = mRot_(1, 0);
13  d[5] = mRot_(1, 1);
14  d[9] = mRot_(1, 2);
15  d[13] = trans_[1];
16  d[2] = mRot_(2, 0);
17  d[6] = mRot_(2, 1);
18  d[10] = mRot_(2, 2);
19  d[14] = trans_[2];
20  d[3] = 0;
21  d[7] = 0;
22  d[11] = 0;
23  d[15] = 1;
24 }
25 
26 inline const Matrix3x3 & S_Object::getOrientation() const
27 {
28  return mRot_;
29 }
30 
31 inline const Vector3 & S_Object::getPosition() const
32 {
33  return trans_;
34 }
35 
36 inline int S_Object::getSlices() const
37 {
38  return slices_;
39 }
40 
41 inline int S_Object::getStacks() const
42 {
43  return stacks_;
44 }
sch::_TimeStamp
Definition: S_Object.h:17
CD_Matrix::Vector3T< Scalar, false >
sch::Scalar
double Scalar
Definition: SCH_Types.h:23
CD_Matrix::Matrix3x3T< Scalar >