HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
HOM_hmath Class Referenceabstract

#include <HOM_hmath.h>

Public Member Functions

virtual ~HOM_hmath ()
 
virtual std::string __repr__ ()=0
 
virtual HOM_Matrix4identityTransform ()=0
 
virtual HOM_Matrix4buildTranslate (double tx, double ty, double tz)=0
 
virtual HOM_Matrix4buildTranslate (const std::vector< double > &values)=0
 
virtual HOM_Matrix4buildTranslate (HOM_Vector3 &values)=0
 
virtual HOM_Matrix4buildScale (double sx, double sy, double sz)=0
 
virtual HOM_Matrix4buildScale (const std::vector< double > &values)=0
 
virtual HOM_Matrix4buildScale (HOM_Vector3 &values)=0
 
virtual HOM_Matrix4buildShear (double sxy, double sxz, double syz)=0
 
virtual HOM_Matrix4buildShear (const std::vector< double > &values)=0
 
virtual HOM_Matrix4buildShear (HOM_Vector3 &values)=0
 
virtual HOM_Matrix4buildRotate (double rx, double ry, double rz, const char *order="xyz")=0
 
virtual HOM_Matrix4buildRotate (const std::vector< double > &values, const char *order="xyz")=0
 
virtual HOM_Matrix4buildRotate (HOM_Vector3 &values, const char *order="xyz")=0
 
virtual HOM_Matrix4buildRotateAboutAxis (const std::vector< double > &axis, double angle_in_deg)=0
 
virtual HOM_Matrix4buildRotateAboutAxis (HOM_Vector3 &axis, double angle_in_deg)=0
 
virtual HOM_Matrix4buildTransform (const std::map< std::string, std::vector< double > > &values_dict, const char *transform_order="srt", const char *rotate_order="xyz")=0
 
virtual double degToRad (double degrees)=0
 
virtual double radToDeg (double radians)=0
 
virtual double noise1d (const std::vector< double > &pos) const =0
 
virtual HOM_Vector3 noise3d (const std::vector< double > &pos) const =0
 
double fit (double value, double oldmin, double oldmax, double newmin, double newmax)
 
double fit01 (double value, double newmin, double newmax)
 
double fit10 (double value, double newmin, double newmax)
 
double fit11 (double value, double newmin, double newmax)
 
double sign (double value)
 
double clamp (double value, double min, double max)
 
double smooth (double value, double min, double max)
 
virtual double wrap (double value, double min, double max) const =0
 
virtual double rand (double seed) const =0
 
virtual double orient2d (const std::vector< double > &pa, const std::vector< double > &pb, const std::vector< double > &point)=0
 
virtual double orient3d (const std::vector< double > &pa, const std::vector< double > &pb, const std::vector< double > &pc, const std::vector< double > &point)=0
 
virtual double inCircle (const std::vector< double > &pa, const std::vector< double > &pb, const std::vector< double > &pc, const std::vector< double > &point)=0
 
virtual double inSphere (const std::vector< double > &pa, const std::vector< double > &pb, const std::vector< double > &pc, const std::vector< double > &pd, const std::vector< double > &point)=0
 

Detailed Description

Definition at line 26 of file HOM_hmath.h.

Constructor & Destructor Documentation

virtual HOM_hmath::~HOM_hmath ( )
inlinevirtual

Definition at line 29 of file HOM_hmath.h.

Member Function Documentation

virtual std::string HOM_hmath::__repr__ ( )
pure virtual
virtual HOM_Matrix4* HOM_hmath::buildRotate ( double  rx,
double  ry,
double  rz,
const char *  order = "xyz" 
)
pure virtual
virtual HOM_Matrix4* HOM_hmath::buildRotate ( const std::vector< double > &  values,
const char *  order = "xyz" 
)
pure virtual
virtual HOM_Matrix4* HOM_hmath::buildRotate ( HOM_Vector3 values,
const char *  order = "xyz" 
)
pure virtual
virtual HOM_Matrix4* HOM_hmath::buildRotateAboutAxis ( const std::vector< double > &  axis,
double  angle_in_deg 
)
pure virtual
virtual HOM_Matrix4* HOM_hmath::buildRotateAboutAxis ( HOM_Vector3 axis,
double  angle_in_deg 
)
pure virtual
virtual HOM_Matrix4* HOM_hmath::buildScale ( double  sx,
double  sy,
double  sz 
)
pure virtual
virtual HOM_Matrix4* HOM_hmath::buildScale ( const std::vector< double > &  values)
pure virtual
virtual HOM_Matrix4* HOM_hmath::buildScale ( HOM_Vector3 values)
pure virtual
virtual HOM_Matrix4* HOM_hmath::buildShear ( double  sxy,
double  sxz,
double  syz 
)
pure virtual
virtual HOM_Matrix4* HOM_hmath::buildShear ( const std::vector< double > &  values)
pure virtual
virtual HOM_Matrix4* HOM_hmath::buildShear ( HOM_Vector3 values)
pure virtual
virtual HOM_Matrix4* HOM_hmath::buildTransform ( const std::map< std::string, std::vector< double > > &  values_dict,
const char *  transform_order = "srt",
const char *  rotate_order = "xyz" 
)
pure virtual
virtual HOM_Matrix4* HOM_hmath::buildTranslate ( double  tx,
double  ty,
double  tz 
)
pure virtual
virtual HOM_Matrix4* HOM_hmath::buildTranslate ( const std::vector< double > &  values)
pure virtual
virtual HOM_Matrix4* HOM_hmath::buildTranslate ( HOM_Vector3 values)
pure virtual
double HOM_hmath::clamp ( double  value,
double  min,
double  max 
)
inline

Definition at line 96 of file HOM_hmath.h.

virtual double HOM_hmath::degToRad ( double  degrees)
pure virtual
double HOM_hmath::fit ( double  value,
double  oldmin,
double  oldmax,
double  newmin,
double  newmax 
)
inline

Definition at line 79 of file HOM_hmath.h.

double HOM_hmath::fit01 ( double  value,
double  newmin,
double  newmax 
)
inline

Definition at line 84 of file HOM_hmath.h.

double HOM_hmath::fit10 ( double  value,
double  newmin,
double  newmax 
)
inline

Definition at line 87 of file HOM_hmath.h.

double HOM_hmath::fit11 ( double  value,
double  newmin,
double  newmax 
)
inline

Definition at line 90 of file HOM_hmath.h.

virtual HOM_Matrix4* HOM_hmath::identityTransform ( )
pure virtual
virtual double HOM_hmath::inCircle ( const std::vector< double > &  pa,
const std::vector< double > &  pb,
const std::vector< double > &  pc,
const std::vector< double > &  point 
)
pure virtual
virtual double HOM_hmath::inSphere ( const std::vector< double > &  pa,
const std::vector< double > &  pb,
const std::vector< double > &  pc,
const std::vector< double > &  pd,
const std::vector< double > &  point 
)
pure virtual
virtual double HOM_hmath::noise1d ( const std::vector< double > &  pos) const
pure virtual
virtual HOM_Vector3 HOM_hmath::noise3d ( const std::vector< double > &  pos) const
pure virtual
virtual double HOM_hmath::orient2d ( const std::vector< double > &  pa,
const std::vector< double > &  pb,
const std::vector< double > &  point 
)
pure virtual
virtual double HOM_hmath::orient3d ( const std::vector< double > &  pa,
const std::vector< double > &  pb,
const std::vector< double > &  pc,
const std::vector< double > &  point 
)
pure virtual
virtual double HOM_hmath::radToDeg ( double  radians)
pure virtual
virtual double HOM_hmath::rand ( double  seed) const
pure virtual
double HOM_hmath::sign ( double  value)
inline

Definition at line 93 of file HOM_hmath.h.

double HOM_hmath::smooth ( double  value,
double  min,
double  max 
)
inline

Definition at line 99 of file HOM_hmath.h.

virtual double HOM_hmath::wrap ( double  value,
double  min,
double  max 
) const
pure virtual

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