CFx SDK Documentation  2023 SP0
Public Types | Public Member Functions | List of all members
OdGsCullingPrimitive Class Referenceabstract

#include <GsCullingVolume.h>

Inheritance diagram for OdGsCullingPrimitive:
OdGsCullingBBox OdGsCullingBSphere OdGsCullingOBBox

Public Types

enum  PrimitiveType { kPrimBBox , kPrimBSphere , kPrimOBBox }
 

Public Member Functions

 OdGsCullingPrimitive ()
 
virtual ~OdGsCullingPrimitive ()
 
virtual PrimitiveType primitiveType () const =0
 

Detailed Description

Base class for culling primitives.

Corresponding C++ library: TD_Gs

<group OdGs_Classes>

Definition at line 50 of file GsCullingVolume.h.

Member Enumeration Documentation

◆ PrimitiveType

Type of culling primitive.

Remarks
Value Description kPrimBBox 0 Axis Alligned Bounding Box. kPrimBSphere 1 Bounding Sphere. kPrimOBBox 2 Oriented Bounding Box.
Enumerator
kPrimBBox 
kPrimBSphere 
kPrimOBBox 

Definition at line 64 of file GsCullingVolume.h.

Constructor & Destructor Documentation

◆ OdGsCullingPrimitive()

OdGsCullingPrimitive::OdGsCullingPrimitive ( )
inline

Definition at line 71 of file GsCullingVolume.h.

◆ ~OdGsCullingPrimitive()

virtual OdGsCullingPrimitive::~OdGsCullingPrimitive ( )
inlinevirtual

Definition at line 75 of file GsCullingVolume.h.

Member Function Documentation

◆ primitiveType()

virtual PrimitiveType OdGsCullingPrimitive::primitiveType ( ) const
pure virtual

Returns culling primitive type.

Remarks
Value Description kPrimBBox 0 Axis Alligned Bounding Box. kPrimBSphere 1 Bounding Sphere. kPrimOBBox 2 Oriented Bounding Box.

Implemented in OdGsCullingOBBox, OdGsCullingBSphere, and OdGsCullingBBox.


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