CFx SDK Documentation  2020SP3
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 ()
 
- Public Member Functions inherited from OdGeExtents3d
 OdGeExtents3d ()
 
 OdGeExtents3d (const OdGePoint3d &min, const OdGePoint3d &max)
 
const OdGePoint3dminPoint () const
 
const OdGePoint3dmaxPoint () const
 
void set (const OdGePoint3d &min, const OdGePoint3d &max)
 
void comparingSet (const OdGePoint3d &pt1, const OdGePoint3d &pt2)
 
void addPoint (const OdGePoint3d &point)
 
void addExt (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
 
IntersectionStatus intersectWith (const OdGeExtents3d &extents, OdGeExtents3d *pResult=0) const
 
OdGePoint3d center () 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 = 0x0C, kConvert2dPlaneYX = 0x01, kConvert2dPlaneYZ = 0x0D,
  kConvert2dPlaneZX = 0x03, kConvert2dPlaneZY = 0x07
}
 
- 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 alligned bounding box.

Corresponding C++ library: TD_Gs

<group OdGs_Classes>

Definition at line 100 of file GsCullingVolume.h.

Constructor & Destructor Documentation

◆ OdGsCullingBBox() [1/4]

OdGsCullingBBox::OdGsCullingBBox ( )
inline

Definition at line 103 of file GsCullingVolume.h.

◆ OdGsCullingBBox() [2/4]

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

Definition at line 109 of file GsCullingVolume.h.

◆ OdGsCullingBBox() [3/4]

OdGsCullingBBox::OdGsCullingBBox ( const OdGeExtents3d ext)
inline

Definition at line 115 of file GsCullingVolume.h.

◆ OdGsCullingBBox() [4/4]

OdGsCullingBBox::OdGsCullingBBox ( const OdGsCullingBBox aabb)
inline

Definition at line 121 of file GsCullingVolume.h.

◆ ~OdGsCullingBBox()

OdGsCullingBBox::~OdGsCullingBBox ( )
inline

Definition at line 127 of file GsCullingVolume.h.

Member Function Documentation

◆ operator=() [1/2]

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

Definition at line 131 of file GsCullingVolume.h.

◆ operator=() [2/2]

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

Definition at line 137 of file GsCullingVolume.h.

◆ primitiveType()

PrimitiveType OdGsCullingBBox::primitiveType ( ) const
inlinevirtual

Returns culling primitive type.

Implements OdGsCullingPrimitive.

Definition at line 148 of file GsCullingVolume.h.


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