29 #include <Inventor/SbVec3f.h> 40 SbBox3f(
const float minx,
const float miny,
const float minz,
41 const float maxx,
const float maxy,
const float maxz);
48 void setBounds(
const float minx,
const float miny,
const float minz,
49 const float maxx,
const float maxy,
const float maxz);
55 void getBounds(
float & minx,
float & miny,
float & minz,
56 float & maxx,
float & maxy,
float & maxz)
const;
59 const SbVec3f & getMin(
void)
const;
61 const SbVec3f & getMax(
void)
const;
64 void extendBy(
const SbVec3f & point);
65 void extendBy(
const SbBox3f & box);
66 void transform(
const SbMatrix & matrix);
68 SbBool isEmpty(
void)
const;
69 SbBool hasVolume(
void)
const;
70 float getVolume(
void)
const;
72 SbBool intersect(
const SbVec3f & point)
const;
73 SbBool intersect(
const SbBox3f & box)
const;
75 SbBool outside(
const SbMatrix & mvp,
int & cullbits)
const;
78 void getOrigin(
float & x0,
float & y0,
float & z0)
const;
79 void getSize(
float & dx,
float & dy,
float & dz)
const;
81 void getSpan(
const SbVec3f & dir,
float & dmin,
float & dmax)
const;
83 friend COIN_DLL_API
int operator ==(
const SbBox3f & b1,
const SbBox3f & b2);
84 friend COIN_DLL_API
int operator !=(
const SbBox3f & b1,
const SbBox3f & b2);
86 void print(FILE * file)
const;
92 COIN_DLL_API
int operator ==(
const SbBox3f & b1,
const SbBox3f & b2);
93 COIN_DLL_API
int operator !=(
const SbBox3f & b1,
const SbBox3f & b2);
95 #endif // !COIN_SBBOX3F_H The SbBox3s class is a 3 dimensional box with short integer coordinates.This box class is used by oth...
Definition: SbBox3s.h:34
The SbBox3f class is an abstraction for an axis aligned 3 dimensional box.This box abstraction class ...
Definition: SbBox3f.h:37
SbBox3f(const SbBox3i32 &box)
Definition: SbBox3f.h:45
The SbVec3f class is a 3 dimensional vector with floating point coordinates.
Definition: SbVec3f.h:37
The SbMatrix class is a 4x4 dimensional representation of a matrix.SbMatrix is used by many other cla...
Definition: SbMatrix.h:37
The SbBox3d class is an abstraction for an axis aligned 3 dimensional box.This box abstraction class ...
Definition: SbBox3d.h:37
Definition: SbBox3i32.h:35
SbBox3f(const SbBox3s &box)
Definition: SbBox3f.h:44
SbBox3f(const SbBox3d &box)
Definition: SbBox3f.h:43