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.
Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Attributes | Friends | List of all members
Core::Transform Class Reference
Inheritance diagram for Core::Transform:
Core::GridTransform

Public Member Functions

 Transform (const Transform &)
 
 Transform (const TransformF &)
 
 Transform (const Point &, const Vector &, const Vector &, const Vector &)
 
Transformoperator= (const Transform &copy)
 
Transformoperator= (const TransformF &copy)
 
void load_identity ()
 
void load_basis (const Point &, const Vector &, const Vector &, const Vector &)
 
void load_frame (const Vector &, const Vector &, const Vector &)
 
void load_matrix (const Matrix &m)
 
Transform get_inverse () const
 
void post_transform (const Transform &)
 
void pre_transform (const Transform &)
 
void post_mult_matrix (const Matrix &m)
 
void pre_mult_matrix (const Matrix &m)
 
void pre_permute (int xmap, int ymap, int zmap)
 
void post_permute (int xmap, int ymap, int zmap)
 
void pre_scale (const Vector &)
 
void post_scale (const Vector &)
 
void pre_shear (const Vector &, const Plane &)
 
void post_shear (const Vector &, const Plane &)
 
void pre_rotate (double, const Vector &axis)
 
void post_rotate (double, const Vector &axis)
 
void pre_translate (const Vector &)
 
void post_translate (const Vector &)
 
bool rotate (const Vector &from, const Vector &to)
 
const Matrixget_matrix () const
 
void get (double *data) const
 
void set (const double *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 Transform &) const
 
bool operator!= (const Transform &) const
 
bool is_axis_aligned () const
 

Static Public Member Functions

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

Static Public Attributes

static const int TRANSFORM_LENGTH = 16
 

Protected Attributes

Matrix mat_
 

Friends

class TransformF
 

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