Seg3D  2.4
Seg3D is a free volume segmentation and processing tool developed by the NIH Center for Integrative Biomedical Computing at the University of Utah Scientific Computing and Imaging (SCI) Institute.
All Classes Namespaces Functions Variables Typedefs Enumerator Friends
Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Attributes | Friends | List of all members
Core::TransformF Class Reference

Public Member Functions

 TransformF (const TransformF &)
 
 TransformF (const Transform &)
 
 TransformF (const PointF &, const VectorF &, const VectorF &, const VectorF &)
 
TransformFoperator= (const TransformF &copy)
 
TransformFoperator= (const Transform &copy)
 
void load_identity ()
 
void load_basis (const PointF &, const VectorF &, const VectorF &, const VectorF &)
 
void load_frame (const VectorF &, const VectorF &, const VectorF &)
 
void load_matrix (const MatrixF &m)
 
TransformF get_inverse ()
 
void post_transform (const TransformF &)
 
void pre_transform (const TransformF &)
 
void post_mult_matrix (const MatrixF &m)
 
void pre_mult_matrix (const MatrixF &m)
 
void pre_permute (int xmap, int ymap, int zmap)
 
void post_permute (int xmap, int ymap, int zmap)
 
void pre_scale (const VectorF &)
 
void post_scale (const VectorF &)
 
void pre_shear (const VectorF &, const Plane &)
 
void post_shear (const VectorF &, const Plane &)
 
void pre_rotate (float, const VectorF &axis)
 
void post_rotate (float, const VectorF &axis)
 
void pre_translate (const VectorF &)
 
void post_translate (const VectorF &)
 
bool rotate (const VectorF &from, const VectorF &to)
 
const MatrixFget_matrix () const
 
void get (float *data) const
 
void set (const float *data)
 
Point project (const Point &p) const
 
Vector project (const Vector &p) const
 
PointF project (const PointF &p) const
 
VectorF project (const VectorF &p) const
 
bool operator== (const TransformF &) const
 
bool operator!= (const TransformF &) const
 
bool is_axis_aligned () const
 

Static Public Member Functions

static void BuildPermuteMatrix (MatrixF &m, int xmap, int ymap, int zmap, bool pre)
 
static void BuildRotateMatrix (MatrixF &m, float angle, const VectorF &axis)
 
static void BuildShearMatrix (MatrixF &m, const VectorF &s, const Plane &p)
 
static void BuildScaleMatrix (MatrixF &m, const VectorF &v)
 
static void BuildTranslateMatrix (MatrixF &m, const VectorF &v)
 
static void BuildViewMatrix (MatrixF &m, const PointF &eyep, const PointF &lookat, const VectorF &up)
 
static void BuildPerspectiveMatrix (MatrixF &m, float fovy, float aspect, float znear, float zfar)
 
static void BuildOrthoMatrix (MatrixF &m, float left, float right, float bottom, float top, float nearVal, float farVal)
 
static void BuildOrtho2DMatrix (MatrixF &m, float left, float right, float bottom, float top)
 

Static Public Attributes

static const int TRANSFORM_LENGTH = 16
 

Protected Attributes

MatrixF mat_
 

Friends

class Transform
 

The documentation for this class was generated from the following files: