#include <OSGFrustumVolume.h>
Inheritance diagram for osg::FrustumVolume:


Public Methods | |
Constructors | |
| FrustumVolume () | |
| FrustumVolume (const Plane &pnear, const Plane &pfar, const Plane &left, const Plane &right, const Plane &top, const Plane &bottom) | |
| Constructor given bounds. | |
| FrustumVolume (const FrustumVolume &obj) | |
| Copy Constructor. | |
Destructors | |
| ~FrustumVolume () | |
| Destructor. | |
Get | |
| const Plane & | getNear (void) const |
| Returns the near plane. | |
| const Plane & | getFar (void) const |
| Returns the far plane. | |
| const Plane & | getLeft (void) const |
| Returns the left plane. | |
| const Plane & | getRight (void) const |
| Returns the right plane. | |
| const Plane & | getTop (void) const |
| Returns the top plane. | |
| const Plane & | getBottom (void) const |
| Returns the bottom plane. | |
| const Plane * | getPlanes (void) |
| get method | |
| const Plane * | getPlanes (void) const |
| get method | |
| virtual void | getCenter (Pnt3f ¢er) const |
| Returns the center of a box. | |
| virtual Real32 | getScalarVolume (void) const |
| Gives the volume of the frustum. | |
| virtual void | getBounds (Pnt3f &minPnt, Pnt3f &maxPnt) const |
| Gives the boundaries of the volume. | |
Get | |
| void | setPlanes (const Plane &pnear, const Plane &pfar, const Plane &left, const Plane &right, const Plane &top, const Plane &bottom) |
| set method | |
| void | setPlanes (const Pnt3f &nlt, const Pnt3f &nlb, const Pnt3f &nrt, const Pnt3f &nrb, const Pnt3f &flt, const Pnt3f &flb, const Pnt3f &frt, const Pnt3f &frb) |
| set method | |
| void | setPlanes (const Matrix &matrix) |
| set method | |
Extending | |
| virtual void | extendBy (const Pnt3f &pt) |
| Extends Frustum3f (if necessary) to contain given 3D point. | |
| void | extendBy (const Volume &volume) |
| Extends Frustum3f (if necessary) to contain given 3D point. | |
| void | extendBy (const FrustumVolume &bb) |
| Extends Frustum3f (if necessary) to contain given 3D point. | |
Intersection | |
| bool | intersect (const Pnt3f &point) const |
| Returns true if intersection of given point and Frustum3f is not empty. | |
| bool | intersect (const Line &line) const |
| intersect the box with the given Line | |
| bool | intersect (const Line &line, Real32 &minDist, Real32 &maxDist) const |
| intersect the box with the given Line | |
| bool | intersect (const Volume &volume) const |
| Returns true if intersection of given point and Frustum3f is not empty. | |
| bool | intersect (const FrustumVolume &bb) const |
| Returns true if intersection of given point and Frustum3f is not empty. | |
| virtual bool | isOnSurface (const Pnt3f &point) const |
| Returns true if intersection of given point and Frustum3f is not empty. | |
Transformation | |
| virtual void | transform (const Matrix &m) |
| Transforms Frustum3f by matrix, enlarging Frustum3f to contain result. | |
Assignment | |
| const FrustumVolume & | operator= (const FrustumVolume &b1) |
| Assignment operator. | |
Output | |
| virtual void | dump (UInt32 uiIndent=0, const BitVector bvFlags=0) const |
| print the volume */ | |
Private Attributes | |
| Plane | _planeVec [6] |
|
|
Default constructor - leaves box totally empty |
|
||||||||||||||||||||||||||||
|
Constructor given bounds.
|
|
|
Copy Constructor.
|
|
|
Destructor.
|
|
|
Returns the near plane.
|
|
|
Returns the far plane.
|
|
|
Returns the left plane.
|
|
|
Returns the right plane.
|
|
|
Returns the top plane.
|
|
|
Returns the bottom plane.
|
|
|
get method
|
|
|
get method
|
|
|
Returns the center of a box.
Implements osg::Volume. |
|
|
Gives the volume of the frustum.
Implements osg::Volume. |
|
||||||||||||
|
Gives the boundaries of the volume.
Implements osg::Volume. |
|
||||||||||||||||||||||||||||
|
set method
|
|
||||||||||||||||||||||||||||||||||||
|
set method
|
|
|
set method
|
|
|
Extends Frustum3f (if necessary) to contain given 3D point.
Implements osg::Volume. |
|
|
Extends Frustum3f (if necessary) to contain given 3D point.
Implements osg::Volume. |
|
|
Extends Frustum3f (if necessary) to contain given 3D point.
|
|
|
Returns true if intersection of given point and Frustum3f is not empty.
Implements osg::Volume. |
|
|
intersect the box with the given Line
Implements osg::Volume. |
|
||||||||||||||||
|
intersect the box with the given Line
Implements osg::Volume. |
|
|
Returns true if intersection of given point and Frustum3f is not empty.
Implements osg::Volume. |
|
|
Returns true if intersection of given point and Frustum3f is not empty.
|
|
|
Returns true if intersection of given point and Frustum3f is not empty.
Implements osg::Volume. |
|
|
Transforms Frustum3f by matrix, enlarging Frustum3f to contain result.
Implements osg::Volume. |
|
|
Assignment operator.
|
|
||||||||||||
|
print the volume */
Implements osg::Volume. |
|
|
|
1.2.16