HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ImathBoxAlgo.h File Reference
#include "ImathBox.h"
#include "ImathMatrix.h"
#include "ImathLineAlgo.h"
#include "ImathPlane.h"
#include "ImathNamespace.h"
+ Include dependency graph for ImathBoxAlgo.h:

Go to the source code of this file.

Functions

template<class T >
IMATH_INTERNAL_NAMESPACE_HEADER_ENTER
clip (const T &p, const Box< T > &box)
 
template<class T >
closestPointInBox (const T &p, const Box< T > &box)
 
template<class T >
Vec3< T > closestPointOnBox (const Vec3< T > &p, const Box< Vec3< T > > &box)
 
template<class S , class T >
Box< Vec3< S > > transform (const Box< Vec3< S > > &box, const Matrix44< T > &m)
 
template<class S , class T >
void transform (const Box< Vec3< S > > &box, const Matrix44< T > &m, Box< Vec3< S > > &result)
 
template<class S , class T >
Box< Vec3< S > > affineTransform (const Box< Vec3< S > > &box, const Matrix44< T > &m)
 
template<class S , class T >
void affineTransform (const Box< Vec3< S > > &box, const Matrix44< T > &m, Box< Vec3< S > > &result)
 
template<class T >
bool findEntryAndExitPoints (const Line3< T > &r, const Box< Vec3< T > > &b, Vec3< T > &entry, Vec3< T > &exit)
 
template<class T >
bool intersects (const Box< Vec3< T > > &b, const Line3< T > &r, Vec3< T > &ip)
 
template<class T >
bool intersects (const Box< Vec3< T > > &box, const Line3< T > &ray)
 

Function Documentation

template<class S , class T >
Box< Vec3<S> > affineTransform ( const Box< Vec3< S > > &  box,
const Matrix44< T > &  m 
)

Definition at line 328 of file ImathBoxAlgo.h.

template<class S , class T >
void affineTransform ( const Box< Vec3< S > > &  box,
const Matrix44< T > &  m,
Box< Vec3< S > > &  result 
)

Definition at line 379 of file ImathBoxAlgo.h.

template<class T >
IMATH_INTERNAL_NAMESPACE_HEADER_ENTER T clip ( const T &  p,
const Box< T > &  box 
)
inline
Examples:
CHOP/CHOP_Blend.C, CHOP/CHOP_Spring.C, and SOP/SOP_BouncyAgent.C.

Definition at line 89 of file ImathBoxAlgo.h.

template<class T >
T closestPointInBox ( const T &  p,
const Box< T > &  box 
)
inline

Definition at line 114 of file ImathBoxAlgo.h.

template<class T >
Vec3<T> closestPointOnBox ( const Vec3< T > &  p,
const Box< Vec3< T > > &  box 
)

Definition at line 122 of file ImathBoxAlgo.h.

template<class T >
bool findEntryAndExitPoints ( const Line3< T > &  r,
const Box< Vec3< T > > &  b,
Vec3< T > &  entry,
Vec3< T > &  exit 
)

Definition at line 438 of file ImathBoxAlgo.h.

template<class T >
bool intersects ( const Box< Vec3< T > > &  b,
const Line3< T > &  r,
Vec3< T > &  ip 
)

Definition at line 728 of file ImathBoxAlgo.h.

template<class T >
bool intersects ( const Box< Vec3< T > > &  box,
const Line3< T > &  ray 
)

Definition at line 1007 of file ImathBoxAlgo.h.

template<class S , class T >
Box< Vec3<S> > transform ( const Box< Vec3< S > > &  box,
const Matrix44< T > &  m 
)

Definition at line 165 of file ImathBoxAlgo.h.

template<class S , class T >
void transform ( const Box< Vec3< S > > &  box,
const Matrix44< T > &  m,
Box< Vec3< S > > &  result 
)

Definition at line 247 of file ImathBoxAlgo.h.