Public Member Functions | Public Attributes
ON_Xform Class Reference

#include <opennurbs_xform.h>

List of all members.

Public Member Functions

void ActOnLeft (double, double, double, double, double[4]) const
void ActOnRight (double, double, double, double, double[4]) const
bool CameraToClip (ON_BOOL32, double, double, double, double, double, double)
void CameraToWorld (const ON_3dPoint &, const ON_3dVector &, const ON_3dVector &, const ON_3dVector &)
bool ChangeBasis (const ON_Plane &plane0, const ON_Plane &plane1)
bool ChangeBasis (const ON_3dVector &X0, const ON_3dVector &Y0, const ON_3dVector &Z0, const ON_3dVector &X1, const ON_3dVector &Y1, const ON_3dVector &Z1)
bool ChangeBasis (const ON_3dPoint &P0, const ON_3dVector &X0, const ON_3dVector &Y0, const ON_3dVector &Z0, const ON_3dPoint &P1, const ON_3dVector &X1, const ON_3dVector &Y1, const ON_3dVector &Z1)
int ClipFlag3d (const double *) const
int ClipFlag3d (int, int, const double *, ON_BOOL32=true) const
int ClipFlag3dBox (const double *, const double *) const
int ClipFlag4d (const double *) const
int ClipFlag4d (int, int, const double *, ON_BOOL32=true) const
bool ClipToCamera (int, double, double, double, double, double, double)
bool ClipToScreen (double, double, double, double, double, double)
int Compare (const ON_Xform &other) const
double Determinant (double *=NULL) const
void Diagonal (double)
double GetMappingXforms (ON_Xform &P_xform, ON_Xform &N_xform) const
double GetSurfaceNormalXform (ON_Xform &N_xform) const
void Identity ()
bool IntervalChange (int dir, ON_Interval old_interval, ON_Interval new_interval)
ON_Xform Inverse (double *=NULL) const
bool Invert (double *=NULL)
bool IsIdentity (double zero_tolerance=0.0) const
bool IsNotIdentity (double zero_tolerance=0.0) const
int IsSimilarity () const
bool IsTranslation (double zero_tolerance=0.0) const
bool IsValid () const
bool IsZero () const
void Mirror (ON_3dPoint point_on_mirror_plane, ON_3dVector normal_to_mirror_plane)
 ON_Xform ()
 ON_Xform (int)
 ON_Xform (double)
 ON_Xform (const double[4][4])
 ON_Xform (const float[4][4])
 ON_Xform (const double *)
 ON_Xform (const float *)
 ON_Xform (const ON_Matrix &)
 ON_Xform (const ON_3dPoint &P, const ON_3dVector &X, const ON_3dVector &Y, const ON_3dVector &Z)
ON_2dPoint operator* (const ON_2dPoint &) const
ON_3dPoint operator* (const ON_3dPoint &) const
ON_4dPoint operator* (const ON_4dPoint &) const
ON_2dVector operator* (const ON_2dVector &) const
ON_3dVector operator* (const ON_3dVector &) const
ON_Xform operator* (const ON_Xform &) const
ON_Xform operator+ (const ON_Xform &) const
ON_Xform operator- (const ON_Xform &) const
ON_Xformoperator= (int)
ON_Xformoperator= (float)
ON_Xformoperator= (double)
ON_Xformoperator= (const ON_Matrix &)
double * operator[] (int)
const double * operator[] (int) const
void PlanarProjection (const ON_Plane &plane)
int Rank (double *=NULL) const
void Rotation (double sin_angle, double cos_angle, ON_3dVector rotation_axis, ON_3dPoint rotation_center)
void Rotation (double angle_radians, ON_3dVector rotation_axis, ON_3dPoint rotation_center)
void Rotation (ON_3dVector start_dir, ON_3dVector end_dir, ON_3dPoint rotation_center)
void Rotation (const ON_3dVector &X0, const ON_3dVector &Y0, const ON_3dVector &Z0, const ON_3dVector &X1, const ON_3dVector &Y1, const ON_3dVector &Z1)
void Rotation (const ON_3dPoint &P0, const ON_3dVector &X0, const ON_3dVector &Y0, const ON_3dVector &Z0, const ON_3dPoint &P1, const ON_3dVector &X1, const ON_3dVector &Y1, const ON_3dVector &Z1)
void Rotation (const ON_Plane &plane0, const ON_Plane &plane1)
void Scale (double x_scale_factor, double y_scale_factor, double z_scale_factor)
void Scale (const ON_3dVector &scale_vector)
void Scale (ON_3dPoint fixed_point, double scale_factor)
void Scale (const ON_Plane &plane, double x_scale_factor, double y_scale_factor, double z_scale_factor)
bool ScreenToClip (double, double, double, double, double, double)
void Shear (const ON_Plane &plane, const ON_3dVector &x1, const ON_3dVector &y1, const ON_3dVector &z1)
void Translation (const ON_3dVector &)
void Translation (double, double, double)
void Transpose ()
void WorldToCamera (const ON_3dPoint &, const ON_3dVector &, const ON_3dVector &, const ON_3dVector &)
void Zero ()

Public Attributes

double m_xform [4][4]

Detailed Description

Definition at line 28 of file opennurbs_xform.h.


Constructor & Destructor Documentation

Definition at line 334 of file opennurbs_xform.cpp.

ON_Xform::ON_Xform ( int  d)

Definition at line 340 of file opennurbs_xform.cpp.

ON_Xform::ON_Xform ( double  d)

Definition at line 347 of file opennurbs_xform.cpp.

ON_Xform::ON_Xform ( const double  m[4][4])

Definition at line 361 of file opennurbs_xform.cpp.

ON_Xform::ON_Xform ( const float  m[4][4])

Definition at line 391 of file opennurbs_xform.cpp.

ON_Xform::ON_Xform ( const double *  m)

Definition at line 414 of file opennurbs_xform.cpp.

ON_Xform::ON_Xform ( const float *  m)

Definition at line 419 of file opennurbs_xform.cpp.

ON_Xform::ON_Xform ( const ON_Matrix m)

Definition at line 468 of file opennurbs_xform.cpp.

ON_Xform::ON_Xform ( const ON_3dPoint P,
const ON_3dVector X,
const ON_3dVector Y,
const ON_3dVector Z 
)

Definition at line 442 of file opennurbs_xform.cpp.


Member Function Documentation

void ON_Xform::ActOnLeft ( double  x,
double  y,
double  z,
double  w,
double  v[4] 
) const

Definition at line 759 of file opennurbs_xform.cpp.

void ON_Xform::ActOnRight ( double  x,
double  y,
double  z,
double  w,
double  v[4] 
) const

Definition at line 770 of file opennurbs_xform.cpp.

bool ON_Xform::CameraToClip ( ON_BOOL32  bPerspective,
double  left,
double  right,
double  bottom,
double  top,
double  near_dist,
double  far_dist 
)

Definition at line 1615 of file opennurbs_xform.cpp.

void ON_Xform::CameraToWorld ( const ON_3dPoint cameraLocation,
const ON_3dVector cameraX,
const ON_3dVector cameraY,
const ON_3dVector cameraZ 
)

Definition at line 1597 of file opennurbs_xform.cpp.

bool ON_Xform::ChangeBasis ( const ON_Plane plane0,
const ON_Plane plane1 
)

Definition at line 1389 of file opennurbs_xform.cpp.

bool ON_Xform::ChangeBasis ( const ON_3dVector X0,
const ON_3dVector Y0,
const ON_3dVector Z0,
const ON_3dVector X1,
const ON_3dVector Y1,
const ON_3dVector Z1 
)

Definition at line 1409 of file opennurbs_xform.cpp.

bool ON_Xform::ChangeBasis ( const ON_3dPoint P0,
const ON_3dVector X0,
const ON_3dVector Y0,
const ON_3dVector Z0,
const ON_3dPoint P1,
const ON_3dVector X1,
const ON_3dVector Y1,
const ON_3dVector Z1 
)

Definition at line 1551 of file opennurbs_xform.cpp.

int ON_Xform::ClipFlag3d ( const double *  point) const

Definition at line 1849 of file opennurbs_xform.cpp.

int ON_Xform::ClipFlag3d ( int  count,
int  stride,
const double *  point,
ON_BOOL32  bTestZ = true 
) const

Definition at line 1887 of file opennurbs_xform.cpp.

int ON_Xform::ClipFlag3dBox ( const double *  boxmin,
const double *  boxmax 
) const

Definition at line 1901 of file opennurbs_xform.cpp.

int ON_Xform::ClipFlag4d ( const double *  point) const

Definition at line 1822 of file opennurbs_xform.cpp.

int ON_Xform::ClipFlag4d ( int  count,
int  stride,
const double *  point,
ON_BOOL32  bTestZ = true 
) const

Definition at line 1873 of file opennurbs_xform.cpp.

bool ON_Xform::ClipToCamera ( int  bPerspective,
double  left,
double  right,
double  bottom,
double  top,
double  near_dist,
double  far_dist 
)

Definition at line 1701 of file opennurbs_xform.cpp.

bool ON_Xform::ClipToScreen ( double  left,
double  right,
double  bottom,
double  top,
double  near_z,
double  far_z 
)

Definition at line 1762 of file opennurbs_xform.cpp.

int ON_Xform::Compare ( const ON_Xform other) const

Definition at line 943 of file opennurbs_xform.cpp.

double ON_Xform::Determinant ( double *  pivot = NULL) const

Definition at line 1047 of file opennurbs_xform.cpp.

void ON_Xform::Diagonal ( double  d)

Definition at line 625 of file opennurbs_xform.cpp.

double ON_Xform::GetMappingXforms ( ON_Xform P_xform,
ON_Xform N_xform 
) const

Definition at line 1123 of file opennurbs_xform.cpp.

double ON_Xform::GetSurfaceNormalXform ( ON_Xform N_xform) const

Definition at line 1080 of file opennurbs_xform.cpp.

Definition at line 619 of file opennurbs_xform.cpp.

bool ON_Xform::IntervalChange ( int  dir,
ON_Interval  old_interval,
ON_Interval  new_interval 
)

Definition at line 1937 of file opennurbs_xform.cpp.

ON_Xform ON_Xform::Inverse ( double *  pivot = NULL) const

Definition at line 1069 of file opennurbs_xform.cpp.

bool ON_Xform::Invert ( double *  pivot = NULL)

Definition at line 1059 of file opennurbs_xform.cpp.

bool ON_Xform::IsIdentity ( double  zero_tolerance = 0.0) const

Definition at line 860 of file opennurbs_xform.cpp.

bool ON_Xform::IsNotIdentity ( double  zero_tolerance = 0.0) const

Definition at line 883 of file opennurbs_xform.cpp.

int ON_Xform::IsSimilarity ( ) const

Definition at line 960 of file opennurbs_xform.cpp.

bool ON_Xform::IsTranslation ( double  zero_tolerance = 0.0) const

Definition at line 907 of file opennurbs_xform.cpp.

bool ON_Xform::IsValid ( ) const

Definition at line 848 of file opennurbs_xform.cpp.

bool ON_Xform::IsZero ( ) const

Definition at line 1015 of file opennurbs_xform.cpp.

void ON_Xform::Mirror ( ON_3dPoint  point_on_mirror_plane,
ON_3dVector  normal_to_mirror_plane 
)

Definition at line 1357 of file opennurbs_xform.cpp.

ON_2dPoint ON_Xform::operator* ( const ON_2dPoint p) const

Definition at line 781 of file opennurbs_xform.cpp.

ON_3dPoint ON_Xform::operator* ( const ON_3dPoint p) const

Definition at line 794 of file opennurbs_xform.cpp.

ON_4dPoint ON_Xform::operator* ( const ON_4dPoint h) const

Definition at line 809 of file opennurbs_xform.cpp.

ON_2dVector ON_Xform::operator* ( const ON_2dVector v) const

Definition at line 824 of file opennurbs_xform.cpp.

ON_3dVector ON_Xform::operator* ( const ON_3dVector v) const

Definition at line 835 of file opennurbs_xform.cpp.

ON_Xform ON_Xform::operator* ( const ON_Xform rhs) const

Definition at line 524 of file opennurbs_xform.cpp.

ON_Xform ON_Xform::operator+ ( const ON_Xform rhs) const

Definition at line 552 of file opennurbs_xform.cpp.

ON_Xform ON_Xform::operator- ( const ON_Xform rhs) const

Definition at line 580 of file opennurbs_xform.cpp.

ON_Xform & ON_Xform::operator= ( int  d)

Definition at line 494 of file opennurbs_xform.cpp.

ON_Xform & ON_Xform::operator= ( float  d)

Definition at line 502 of file opennurbs_xform.cpp.

ON_Xform & ON_Xform::operator= ( double  d)

Definition at line 510 of file opennurbs_xform.cpp.

ON_Xform & ON_Xform::operator= ( const ON_Matrix src)

Definition at line 1923 of file opennurbs_xform.cpp.

double * ON_Xform::operator[] ( int  i)

Definition at line 479 of file opennurbs_xform.cpp.

const double * ON_Xform::operator[] ( int  i) const

Definition at line 484 of file opennurbs_xform.cpp.

void ON_Xform::PlanarProjection ( const ON_Plane plane)

Definition at line 731 of file opennurbs_xform.cpp.

int ON_Xform::Rank ( double *  pivot = NULL) const

Definition at line 1038 of file opennurbs_xform.cpp.

void ON_Xform::Rotation ( double  sin_angle,
double  cos_angle,
ON_3dVector  rotation_axis,
ON_3dPoint  rotation_center 
)

Definition at line 1196 of file opennurbs_xform.cpp.

void ON_Xform::Rotation ( double  angle_radians,
ON_3dVector  rotation_axis,
ON_3dPoint  rotation_center 
)

Definition at line 1164 of file opennurbs_xform.cpp.

void ON_Xform::Rotation ( ON_3dVector  start_dir,
ON_3dVector  end_dir,
ON_3dPoint  rotation_center 
)

Definition at line 1173 of file opennurbs_xform.cpp.

void ON_Xform::Rotation ( const ON_3dVector X0,
const ON_3dVector Y0,
const ON_3dVector Z0,
const ON_3dVector X1,
const ON_3dVector Y1,
const ON_3dVector Z1 
)

Definition at line 1289 of file opennurbs_xform.cpp.

void ON_Xform::Rotation ( const ON_3dPoint P0,
const ON_3dVector X0,
const ON_3dVector Y0,
const ON_3dVector Z0,
const ON_3dPoint P1,
const ON_3dVector X1,
const ON_3dVector Y1,
const ON_3dVector Z1 
)

Definition at line 1329 of file opennurbs_xform.cpp.

void ON_Xform::Rotation ( const ON_Plane plane0,
const ON_Plane plane1 
)

Definition at line 1317 of file opennurbs_xform.cpp.

void ON_Xform::Scale ( double  x_scale_factor,
double  y_scale_factor,
double  z_scale_factor 
)

Definition at line 632 of file opennurbs_xform.cpp.

void ON_Xform::Scale ( const ON_3dVector scale_vector)

Definition at line 641 of file opennurbs_xform.cpp.

void ON_Xform::Scale ( ON_3dPoint  fixed_point,
double  scale_factor 
)

Definition at line 651 of file opennurbs_xform.cpp.

void ON_Xform::Scale ( const ON_Plane plane,
double  x_scale_factor,
double  y_scale_factor,
double  z_scale_factor 
)

Definition at line 671 of file opennurbs_xform.cpp.

bool ON_Xform::ScreenToClip ( double  left,
double  right,
double  bottom,
double  top,
double  near_z,
double  far_z 
)

Definition at line 1796 of file opennurbs_xform.cpp.

void ON_Xform::Shear ( const ON_Plane plane,
const ON_3dVector x1,
const ON_3dVector y1,
const ON_3dVector z1 
)

Definition at line 682 of file opennurbs_xform.cpp.

void ON_Xform::Translation ( const ON_3dVector v)

Definition at line 722 of file opennurbs_xform.cpp.

void ON_Xform::Translation ( double  x,
double  y,
double  z 
)

Definition at line 713 of file opennurbs_xform.cpp.

Definition at line 1027 of file opennurbs_xform.cpp.

void ON_Xform::WorldToCamera ( const ON_3dPoint cameraLocation,
const ON_3dVector cameraX,
const ON_3dVector cameraY,
const ON_3dVector cameraZ 
)

Definition at line 1579 of file opennurbs_xform.cpp.

void ON_Xform::Zero ( )

Definition at line 614 of file opennurbs_xform.cpp.


Member Data Documentation

double ON_Xform::m_xform[4][4]

Definition at line 31 of file opennurbs_xform.h.


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


pcl
Author(s): Open Perception
autogenerated on Wed Aug 26 2015 15:38:52