37 #ifndef SOMAIO_TRANSFORMATION_AFFINETRANSFORMATION3D_BASE_H
38 #define SOMAIO_TRANSFORMATION_AFFINETRANSFORMATION3D_BASE_H
97 class Table :
public std::vector<T>
103 : std::vector<T>(nitems, 0),
ncols(4) {}
109 Table(
const std::vector<T> & other )
110 : std::vector<T>( other ),
ncols( 4 )
116 return (*
this)[ y*
ncols + x ];
121 return (*
this)[ y*
ncols + x ];
129 this->std::vector<T>::operator = ( other );
221 affineTransformation3d1,
223 affineTransformation3d2 );
304 return Point3df( (
float) transformed[0], (
float) transformed[1],
305 (
float) transformed[2] );
322 return Point3df( (
float) transformed[0], (
float) transformed[1],
323 (
float) transformed[2] );
341 return Point3df( (
float) transformed[0], (
float) transformed[1],
342 (
float) transformed[2] );
359 return Point3df( (
float) transformed[0], (
float) transformed[1],
360 (
float) transformed[2] );
The template class to implement basic vectors.
AimsVector< T, D > & normalize()
std::ostream & operator<<(std::ostream &os, const MemoryAllocator &thing)
soma::AffineTransformation3dBase operator*(const soma::AffineTransformation3dBase &affineTransformation3d1, const soma::AffineTransformation3dBase &affineTransformation3d2)
AimsVector< float, 3 > Point3df