CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
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 

Axis-aligned Bounding box defines culling volume shape.

kPrimBSphere 

Bounding sphere defines culling volume shape.

kPrimOBBox 

Oriented bounding box defines culling volume shape.

Definition at line 64 of file GsCullingVolume.h.

Constructor & Destructor Documentation

◆ OdGsCullingPrimitive()

OdGsCullingPrimitive::OdGsCullingPrimitive ( )
inline

Default constructor for the OdGsCullingPrimitive class.

Definition at line 77 of file GsCullingVolume.h.

◆ ~OdGsCullingPrimitive()

virtual OdGsCullingPrimitive::~OdGsCullingPrimitive ( )
inlinevirtual

Destructor for the OdGsCullingPrimitive class.

Definition at line 84 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 OdGsCullingBBox, OdGsCullingBSphere, and OdGsCullingOBBox.


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