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

#include <HOM_BoundingBox.h>

Public Member Functions

 HOM_BoundingBox ()
 
 HOM_BoundingBox (double xmin, double ymin, double zmin, double xmax, double ymax, double zmax)
 
 HOM_BoundingBox (const HOM_BoundingBox &src)
 
 HOM_BoundingBox (const UT_BoundingBoxD &bbox)
 
 ~HOM_BoundingBox ()
 
bool operator== (HOM_PtrOrNull< HOM_BoundingBox > bbox)
 
bool operator!= (HOM_PtrOrNull< HOM_BoundingBox > bbox)
 
bool isAlmostEqual (HOM_BoundingBox &bbox, double tolerance=0.00001)
 
bool almostEqual (HOM_BoundingBox &bbox, double tolerance=0.00001)
 
int __hash__ ()
 
std::string __str__ ()
 
std::string __repr__ ()
 
HOM_BoundingBox __mul__ (const HOM_Matrix4 &matrix4)
 
bool isValid ()
 
void setTo (const std::vector< double > &tuple)
 
HOM_Vector3 minvec ()
 
HOM_Vector3 maxvec ()
 
HOM_Vector3 sizevec ()
 
HOM_Vector3 center ()
 
void enlargeToContain (const std::vector< double > &point)
 
void enlargeToContain (const HOM_BoundingBox &bbox)
 
bool contains (const std::vector< double > &point)
 
HOM_BoundingBoxoperator= (const HOM_BoundingBox &bbox)
 
void_asVoidPointer ()
 

Public Attributes

UT_BoundingBoxD myBoundingBox
 

Detailed Description

Definition at line 25 of file HOM_BoundingBox.h.

Constructor & Destructor Documentation

HOM_BoundingBox::HOM_BoundingBox ( )
inline

Definition at line 28 of file HOM_BoundingBox.h.

HOM_BoundingBox::HOM_BoundingBox ( double  xmin,
double  ymin,
double  zmin,
double  xmax,
double  ymax,
double  zmax 
)
inline

Definition at line 32 of file HOM_BoundingBox.h.

HOM_BoundingBox::HOM_BoundingBox ( const HOM_BoundingBox src)
inline

Definition at line 38 of file HOM_BoundingBox.h.

HOM_BoundingBox::HOM_BoundingBox ( const UT_BoundingBoxD bbox)
inline

Definition at line 43 of file HOM_BoundingBox.h.

HOM_BoundingBox::~HOM_BoundingBox ( )
inline

Definition at line 47 of file HOM_BoundingBox.h.

Member Function Documentation

int HOM_BoundingBox::__hash__ ( )
HOM_BoundingBox HOM_BoundingBox::__mul__ ( const HOM_Matrix4 matrix4)
std::string HOM_BoundingBox::__repr__ ( )
std::string HOM_BoundingBox::__str__ ( )
void* HOM_BoundingBox::_asVoidPointer ( )
inline

Definition at line 96 of file HOM_BoundingBox.h.

bool HOM_BoundingBox::almostEqual ( HOM_BoundingBox bbox,
double  tolerance = 0.00001 
)
inline

Definition at line 59 of file HOM_BoundingBox.h.

HOM_Vector3 HOM_BoundingBox::center ( )
inline

Definition at line 80 of file HOM_BoundingBox.h.

bool HOM_BoundingBox::contains ( const std::vector< double > &  point)
void HOM_BoundingBox::enlargeToContain ( const std::vector< double > &  point)
void HOM_BoundingBox::enlargeToContain ( const HOM_BoundingBox bbox)
inline

Definition at line 84 of file HOM_BoundingBox.h.

bool HOM_BoundingBox::isAlmostEqual ( HOM_BoundingBox bbox,
double  tolerance = 0.00001 
)
bool HOM_BoundingBox::isValid ( )
inline

Definition at line 68 of file HOM_BoundingBox.h.

HOM_Vector3 HOM_BoundingBox::maxvec ( )
inline

Definition at line 75 of file HOM_BoundingBox.h.

HOM_Vector3 HOM_BoundingBox::minvec ( )
inline

Definition at line 73 of file HOM_BoundingBox.h.

Definition at line 53 of file HOM_BoundingBox.h.

HOM_BoundingBox& HOM_BoundingBox::operator= ( const HOM_BoundingBox bbox)
inline

Definition at line 90 of file HOM_BoundingBox.h.

bool HOM_BoundingBox::operator== ( HOM_PtrOrNull< HOM_BoundingBox bbox)
inline

Definition at line 50 of file HOM_BoundingBox.h.

void HOM_BoundingBox::setTo ( const std::vector< double > &  tuple)
HOM_Vector3 HOM_BoundingBox::sizevec ( )
inline

Definition at line 77 of file HOM_BoundingBox.h.

Member Data Documentation

UT_BoundingBoxD HOM_BoundingBox::myBoundingBox

Definition at line 101 of file HOM_BoundingBox.h.


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