35 #ifndef ANA_REFERENCE_TRANSFORMATION_H 36 #define ANA_REFERENCE_TRANSFORMATION_H 65 bool generated =
false );
80 void setRotation(
float** r );
81 void setTranslation(
float* t );
83 void setMatrix(
float** m );
85 void setMatrixT(
float m[4][3] );
87 void SetRotation(
int ,
int ,
float );
89 void SetTranslation(
int ,
float );
91 float Rotation(
int ,
int );
95 float Translation(
int );
102 void invertReferentials();
104 bool isDirect()
const;
114 void registerTrans();
115 void unregisterTrans();
120 void addMotionToHistory(
const Motion &);
128 return _motionHistory.size();
133 return _motionHistoryIndex;
189 pos[1] * voxSizeOrg[1],
190 pos[2] * voxSizeOrg[2] ) );
191 return(
Point3df( pt[0] / voxSizeDst[0], pt[1] / voxSizeDst[1],
192 pt[2] / voxSizeDst[2] ) );
201 return(
Point3df( pos[0] * voxSizeOrg[0] / voxSizeDst[0],
202 pos[1] * voxSizeOrg[1] / voxSizeDst[1],
203 pos[2] * voxSizeOrg[2] / voxSizeDst[2] ) );
212 pos[1] * voxSizeOrg[1],
213 pos[2] * voxSizeOrg[2] ) ) );
222 return(
Point3df( pt[0] / voxSizeDst[0], pt[1] / voxSizeDst[1],
223 pt[2] / voxSizeDst[2] ) );
231 return(
Point3df( pos[0] * voxSizeOrg[0], pos[1] * voxSizeOrg[1],
232 pos[2] * voxSizeOrg[2] ) );
240 return(
Point3df( pos[0] / voxSizeDst[0], pos[1] / voxSizeDst[1],
241 pos[2] / voxSizeDst[2] ) );
245 Transformation::translation()
const 247 return _motion.translation();
#define DECLARE_GENERIC_OBJECT_TYPE(T)
aims::SparseMatrix operator-(const aims::SparseMatrix &thing)
void transformBoundingBox(const AffineTransformation3d &AffineTransformation3d, const Point3df &pmin1, const Point3df &pmax1, Point3df &pmin2, Point3df &pmax2)
Referential: marker for transformations, with an associated color.