HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
TS_Quadric Class Reference

#include <TS_Quadric.h>

Public Member Functions

 TS_Quadric ()
 
 TS_Quadric (const UT_Matrix4 &)
 
 operator UT_Matrix4 () const
 
TS_Quadricoperator*= (float rhs)
 
TS_Quadricoperator+= (float rhs)
 
TS_Quadricoperator/= (float rhs)
 
TS_Quadricoperator-= (float rhs)
 
void toMatrix4 (UT_Matrix4 &m) const
 
void fromMatrix4 (const UT_Matrix4 &m)
 
void toMatrix4 (UT_DMatrix4 &m) const
 
void fromMatrix4 (const UT_DMatrix4 &m)
 
void cylinder (const UT_Vector3 &p0, const UT_Vector3 &axis, float radius=1.0F)
 
void sphere (const UT_Vector3 &center, float radius=1.0F)
 
void planes (const UT_Vector3 &p0, const UT_Vector3 &n, float r)
 
void transform (const UT_Matrix4 &m)
 
void zeroTransform ()
 
int computeBound (UT_Vector3 &min, UT_Vector3 &max) const
 
int computeBound (UT_BoundingBox &bound) const
 
fpreal64 eval (const UT_Vector3 &) const
 
fpreal64 eval2 (const UT_Vector3 &) const
 
fpreal64 evalMix (const UT_Vector3 &p0, const UT_Vector3 &p1) const
 
void evalGrad (const UT_Vector3 &p, UT_Vector3 &n) const
 

Public Attributes

fpreal64 xx
 
fpreal64 yy
 
fpreal64 zz
 
fpreal64 xy
 
fpreal64 xz
 
fpreal64 yz
 
fpreal64 xw
 
fpreal64 yw
 
fpreal64 zw
 
fpreal64 ww
 

Detailed Description

Definition at line 33 of file TS_Quadric.h.

Constructor & Destructor Documentation

TS_Quadric::TS_Quadric ( )
TS_Quadric::TS_Quadric ( const UT_Matrix4 )

Member Function Documentation

int TS_Quadric::computeBound ( UT_Vector3 min,
UT_Vector3 max 
) const
int TS_Quadric::computeBound ( UT_BoundingBox bound) const
void TS_Quadric::cylinder ( const UT_Vector3 p0,
const UT_Vector3 axis,
float  radius = 1.0F 
)
fpreal64 TS_Quadric::eval ( const UT_Vector3 ) const
fpreal64 TS_Quadric::eval2 ( const UT_Vector3 ) const
void TS_Quadric::evalGrad ( const UT_Vector3 p,
UT_Vector3 n 
) const
fpreal64 TS_Quadric::evalMix ( const UT_Vector3 p0,
const UT_Vector3 p1 
) const
void TS_Quadric::fromMatrix4 ( const UT_Matrix4 m)
void TS_Quadric::fromMatrix4 ( const UT_DMatrix4 m)
TS_Quadric::operator UT_Matrix4 ( ) const
TS_Quadric& TS_Quadric::operator*= ( float  rhs)
TS_Quadric& TS_Quadric::operator+= ( float  rhs)
TS_Quadric& TS_Quadric::operator-= ( float  rhs)
TS_Quadric& TS_Quadric::operator/= ( float  rhs)
void TS_Quadric::planes ( const UT_Vector3 p0,
const UT_Vector3 n,
float  r 
)
void TS_Quadric::sphere ( const UT_Vector3 center,
float  radius = 1.0F 
)
void TS_Quadric::toMatrix4 ( UT_Matrix4 m) const
void TS_Quadric::toMatrix4 ( UT_DMatrix4 m) const
void TS_Quadric::transform ( const UT_Matrix4 m)
void TS_Quadric::zeroTransform ( )

Member Data Documentation

fpreal64 TS_Quadric::ww

Definition at line 60 of file TS_Quadric.h.

fpreal64 TS_Quadric::xw

Definition at line 60 of file TS_Quadric.h.

fpreal64 TS_Quadric::xx

Definition at line 60 of file TS_Quadric.h.

fpreal64 TS_Quadric::xy

Definition at line 60 of file TS_Quadric.h.

fpreal64 TS_Quadric::xz

Definition at line 60 of file TS_Quadric.h.

fpreal64 TS_Quadric::yw

Definition at line 60 of file TS_Quadric.h.

fpreal64 TS_Quadric::yy

Definition at line 60 of file TS_Quadric.h.

fpreal64 TS_Quadric::yz

Definition at line 60 of file TS_Quadric.h.

fpreal64 TS_Quadric::zw

Definition at line 60 of file TS_Quadric.h.

fpreal64 TS_Quadric::zz

Definition at line 60 of file TS_Quadric.h.


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