CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
Public Member Functions | List of all members
OdGsCullingBBox Class Reference

#include <GsCullingVolume.h>

Inheritance diagram for OdGsCullingBBox:
OdGsCullingPrimitive OdGeExtents3d

Public Member Functions

 OdGsCullingBBox ()
 
 OdGsCullingBBox (const OdGePoint3d &min, const OdGePoint3d &max)
 
 OdGsCullingBBox (const OdGeExtents3d &ext)
 
 OdGsCullingBBox (const OdGsCullingBBox &aabb)
 
 ~OdGsCullingBBox ()
 
OdGsCullingBBoxoperator= (const OdGeExtents3d &ext)
 
OdGsCullingBBoxoperator= (const OdGsCullingBBox &aabb)
 
PrimitiveType primitiveType () const
 
- Public Member Functions inherited from OdGsCullingPrimitive
 OdGsCullingPrimitive ()
 
virtual ~OdGsCullingPrimitive ()
 
virtual PrimitiveType primitiveType () const =0
 
- Public Member Functions inherited from OdGeExtents3d
 OdGeExtents3d ()
 
 OdGeExtents3d (const OdGePoint3d &min, const OdGePoint3d &max)
 
const OdGePoint3dminPoint () const
 
const OdGePoint3dmaxPoint () const
 
const OdGePoint3doperator[] (int iIndex) const
 
OdGePoint3doperator[] (int iIndex)
 
void set (const OdGePoint3d &min, const OdGePoint3d &max)
 
void comparingSet (const OdGePoint3d &pt1, const OdGePoint3d &pt2)
 
OdGeExtents3daddPoint (const OdGePoint3d &point)
 
OdGeExtents3daddPoints (const OdGePoint3dArray &points)
 
OdGeExtents3daddExt (const OdGeExtents3d &extents)
 
bool isValidExtents () const
 
void expandBy (const OdGeVector3d &vect)
 
void transformBy (const OdGeMatrix3d &xfm)
 
bool contains (const OdGePoint3d &point, const OdGeTol &tol=OdGeContext::gTol) const
 
bool contains (const OdGeExtents3d &extents, const OdGeTol &tol=OdGeContext::gTol) const
 
bool isDisjoint (const OdGeExtents3d &extents, const OdGeTol &tol=OdGeContext::gTol) const
 
bool isDisjointEuclidean (const OdGeExtents3d &extents, const OdGeTol &tol=OdGeContext::gTol) const
 
double distanceTo (const OdGePoint3d &iPoint) const
 
double distanceTo (const OdGeExtents3d &iExtents) const
 
IntersectionStatus intersectWith (const OdGeExtents3d &extents, OdGeExtents3d *pResult=0) const
 
bool isWithinRange (const OdGePoint3d &pt, double radius)
 
OdGePoint3d center () const
 
OdGeVector3d diagonal () const
 
void convert2d (OdGeExtents2d &extents, Convert2dPlane plane=kConvert2dPlaneXY) const
 
void setFrom2d (const OdGeExtents2d &extents, Convert2dPlane plane=kConvert2dPlaneXY)
 
bool isEqualTo (const OdGeExtents3d &extents, const OdGeTol &tol=OdGeContext::gTol) const
 
bool operator== (const OdGeExtents3d &extents) const
 
bool operator!= (const OdGeExtents3d &extents) const
 

Additional Inherited Members

- Public Types inherited from OdGsCullingPrimitive
enum  PrimitiveType { kPrimBBox , kPrimBSphere , kPrimOBBox }
 
- Public Types inherited from OdGeExtents3d
enum  IntersectionStatus {
  kIntersectUnknown , kIntersectNot , kIntersectOpIn , kIntersectOpOut ,
  kIntersectOk
}
 
enum  Convert2dPlane {
  kConvert2dPlaneXY = 0x04 , kConvert2dPlaneXZ = 0x08 , kConvert2dPlaneYX = 0x01 , kConvert2dPlaneYZ = 0x09 ,
  kConvert2dPlaneZX = 0x02 , kConvert2dPlaneZY = 0x06
}
 
- Static Public Attributes inherited from OdGeExtents3d
static GE_STATIC_EXPORT const OdGeExtents3d kInvalid
 
- Protected Attributes inherited from OdGeExtents3d
OdGePoint3d m_min
 
OdGePoint3d m_max
 

Detailed Description

Culling primitive: axis-aligned bounding box.

Corresponding C++ library: TD_Gs

<group OdGs_Classes>

Definition at line 109 of file GsCullingVolume.h.

Constructor & Destructor Documentation

◆ OdGsCullingBBox() [1/4]

OdGsCullingBBox::OdGsCullingBBox ( )
inline

Default constructor for the OdGsCullingBBox class. Creates a culling box with invalid extents.

Definition at line 115 of file GsCullingVolume.h.

◆ OdGsCullingBBox() [2/4]

OdGsCullingBBox::OdGsCullingBBox ( const OdGePoint3d min,
const OdGePoint3d max 
)
inline

Constructor for the OdGsCullingBBox class. Creates a culling box with specified minimum and maximum points for the extents.

Parameters
min[in] Minimum extents point.
max[in] Maximum extents point.

Definition at line 127 of file GsCullingVolume.h.

◆ OdGsCullingBBox() [3/4]

OdGsCullingBBox::OdGsCullingBBox ( const OdGeExtents3d ext)
inline

Constructor for the OdGsCullingBBox class. Creates a culling box with specified extents.

Parameters
ext[in] Extents to copy.

Definition at line 138 of file GsCullingVolume.h.

◆ OdGsCullingBBox() [4/4]

OdGsCullingBBox::OdGsCullingBBox ( const OdGsCullingBBox aabb)
inline

Copy constructor for the OdGsCullingBBox class.

Parameters
aabb[in] Culling box to copy.

Definition at line 149 of file GsCullingVolume.h.

◆ ~OdGsCullingBBox()

OdGsCullingBBox::~OdGsCullingBBox ( )
inline

Destructor for the OdGsCullingBBox class.

Definition at line 158 of file GsCullingVolume.h.

Member Function Documentation

◆ operator=() [1/2]

OdGsCullingBBox & OdGsCullingBBox::operator= ( const OdGeExtents3d ext)
inline

Assignment operator for the OdGsCullingBBox class. Assigns points of the passed extents object.

Parameters
ext[in] Extents to assign.

Definition at line 167 of file GsCullingVolume.h.

◆ operator=() [2/2]

OdGsCullingBBox & OdGsCullingBBox::operator= ( const OdGsCullingBBox aabb)
inline

Assignment operator for the OdGsCullingBBox class. Assigns points of the passed culling box object.

Parameters
aabb[in] Culling box to assign.

Definition at line 178 of file GsCullingVolume.h.

◆ primitiveType()

PrimitiveType OdGsCullingBBox::primitiveType ( ) const
inlinevirtual

Returns culling primitive type.

Implements OdGsCullingPrimitive.

Definition at line 189 of file GsCullingVolume.h.


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