CFx SDK Documentation 2024 SP0
|
#include <GsCullingVolume.h>
Public Types | |
enum | ProjectionType { kProjOrtho , kProjPerspective } |
enum | IntersectionStatus { kIntersectNot , kIntersectOk , kIntersectIn } |
Public Member Functions | |
ODRX_DECLARE_MEMBERS (OdGsCullingVolume) | |
virtual ProjectionType | projectionType () const =0 |
virtual bool | intersectWithOpt (const OdGsCullingPrimitive &prim) const =0 |
virtual IntersectionStatus | intersectWith (const OdGsCullingPrimitive &prim) const =0 |
virtual void | transformBy (const OdGeMatrix3d &xfm)=0 |
Public Member Functions inherited from OdRxObject | |
ODRX_HEAP_OPERATORS () | |
OdRxObject () | |
virtual | ~OdRxObject () |
virtual OdRxObject * | queryX (const OdRxClass *pClass) const |
virtual OdRxObject * | x (const OdRxClass *pClass) const |
virtual OdRxClass * | isA () const |
virtual void | addRef ()=0 |
virtual void | release ()=0 |
virtual long | numRefs () const |
bool | isKindOf (const OdRxClass *pClass) const |
virtual OdRxObjectPtr | clone () const |
virtual void | copyFrom (const OdRxObject *pSource) |
virtual OdRx::Ordering | comparedTo (const OdRxObject *pOther) const |
virtual bool | isEqualTo (const OdRxObject *pOther) const |
Additional Inherited Members | |
Static Public Member Functions inherited from OdRxObject | |
static OdRxObjectPtr | cast (const OdRxObject *pointer) |
static OdRxClass * | desc () |
Base class for orthogonal and perspective culling volumes.
Corresponding C++ library: TD_Gs
<group OdGs_Classes>
Definition at line 398 of file GsCullingVolume.h.
Represents the intersection status of the culling volume.
Enumerator | |
---|---|
kIntersectNot | No intersection detected. |
kIntersectOk | Intersects with projection boundary. |
kIntersectIn | Primitive completely inside projection boundary. |
Definition at line 414 of file GsCullingVolume.h.
Represents the projection type of the culling volume.
Enumerator | |
---|---|
kProjOrtho | Orthogonal projection. |
kProjPerspective | Perspective projection. |
Definition at line 404 of file GsCullingVolume.h.
|
pure virtual |
Intersection test between culling volume and culling primitive (returns complete and incomplete intersection statuses).
prim | [in] Input primitive for culling detection. |
|
pure virtual |
Optimized intersection test between culling volume and culling primitive.
prim | [in] Input primitive for culling detection. |
OdGsCullingVolume::ODRX_DECLARE_MEMBERS | ( | OdGsCullingVolume | ) |
|
pure virtual |
Returns type of projection for this culling volume object.
|
pure virtual |
Transform culling volume by transformation matrix.
xfm | [in] Xform matrix. |