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

#include <GsCullingVolume.h>

Inheritance diagram for OdGsCullingOBBox:
OdGsCullingPrimitive OdGeBoundBlock3d OdGeEntity3d

Public Member Functions

 OdGsCullingOBBox ()
 
 OdGsCullingOBBox (const OdGePoint3d &base, const OdGeVector3d &xAxis, const OdGeVector3d &yAxis, const OdGeVector3d &zAxis)
 
 OdGsCullingOBBox (const OdGeBoundBlock3d &bb)
 
 OdGsCullingOBBox (const OdGsCullingOBBox &obb)
 
 ~OdGsCullingOBBox ()
 
OdGsCullingOBBoxoperator= (const OdGeBoundBlock3d &bb)
 
OdGsCullingOBBoxoperator= (const OdGsCullingOBBox &obb)
 
PrimitiveType primitiveType () const
 
- Public Member Functions inherited from OdGsCullingPrimitive
 OdGsCullingPrimitive ()
 
virtual ~OdGsCullingPrimitive ()
 
virtual PrimitiveType primitiveType () const =0
 
- Public Member Functions inherited from OdGeBoundBlock3d
 OdGeBoundBlock3d ()
 
 OdGeBoundBlock3d (const OdGePoint3d &base, const OdGeVector3d &side1, const OdGeVector3d &side2, const OdGeVector3d &side3)
 
 OdGeBoundBlock3d (const OdGePoint3d &point1, const OdGePoint3d &point2)
 
 OdGeBoundBlock3d (const OdGeBoundBlock3d &source)
 
 OdGeBoundBlock3d (const OdGeMatrix3d &lcs, const OdGeExtents3d &localBox)
 
void getMinMaxPoints (OdGePoint3d &p1, OdGePoint3d &p2) const
 
void get (OdGePoint3d &base, OdGeVector3d &side1, OdGeVector3d &side2, OdGeVector3d &side3) const
 
OdGeBoundBlock3dset (const OdGePoint3d &p1, const OdGePoint3d &p2)
 
OdGeBoundBlock3dset (const OdGePoint3d &base, const OdGeVector3d &side1, const OdGeVector3d &side2, const OdGeVector3d &side3)
 
OdGeBoundBlock3dextend (const OdGePoint3d &point)
 
OdGeBoundBlock3dswell (double distance)
 
bool contains (const OdGePoint3d &point, const OdGeTol &tol=OdGeContext::gTol) const
 
bool isDisjoint (const OdGeBoundBlock3d &block, const OdGeTol &tol=OdGeContext::gTol) const
 
bool isBox () const
 
OdGeBoundBlock3dsetToBox (bool toBox)
 
OdGeBoundBlock3doperator= (const OdGeBoundBlock3d &block)
 
OdGePoint3d minPoint () const
 
OdGePoint3d maxPoint () const
 
OdGePoint3d center () const
 
void setToBoxOrtho (const OdGeVector3d &dir1, const OdGeVector3d &dir2, const OdGeVector3d &dir3)
 
void setToBoxOrtho ()
 
- Public Member Functions inherited from OdGeEntity3d
 ODRX_HEAP_OPERATORS ()
 
 ~OdGeEntity3d ()
 
bool isKindOf (OdGe::EntityId entType) const
 
OdGe::EntityId type () const
 
OdGeEntity3dcopy () const
 
OdGeEntity3doperator= (const OdGeEntity3d &entity)
 
bool operator== (const OdGeEntity3d &entity) const
 
bool operator!= (const OdGeEntity3d &entity) const
 
bool isEqualTo (const OdGeEntity3d &object, const OdGeTol &tol=OdGeContext::gTol) const
 
OdGeEntity3dtransformBy (const OdGeMatrix3d &xfm)
 
OdGeEntity3dtranslateBy (const OdGeVector3d &translateVec)
 
OdGeEntity3drotateBy (double angle, const OdGeVector3d &vect, const OdGePoint3d &basePoint=OdGePoint3d::kOrigin)
 
OdGeEntity3dmirror (const OdGePlane &plane)
 
OdGeEntity3dscaleBy (double scaleFactor, const OdGePoint3d &basePoint=OdGePoint3d::kOrigin)
 
bool isOn (const OdGePoint3d &point, const OdGeTol &tol=OdGeContext::gTol) const
 

Additional Inherited Members

- Public Types inherited from OdGsCullingPrimitive
enum  PrimitiveType { kPrimBBox , kPrimBSphere , kPrimOBBox }
 
- Protected Member Functions inherited from OdGeEntity3d
 OdGeEntity3d ()
 
 OdGeEntity3d (const OdGeEntity3d &)
 
void connectTo (OdGeEntity3dImpl *)
 

Detailed Description

Culling primitive: oriented bounding box.

Corresponding C++ library: TD_Gs

<group OdGs_Classes>

Definition at line 295 of file GsCullingVolume.h.

Constructor & Destructor Documentation

◆ OdGsCullingOBBox() [1/4]

OdGsCullingOBBox::OdGsCullingOBBox ( )
inline

Default constructor for the OdGsCullingOBBox class. Creates an oriented culling box with origin point at (0,0,0) extending 1.0 unit in a positive direction for x-, y- and z-axis.

Definition at line 301 of file GsCullingVolume.h.

◆ OdGsCullingOBBox() [2/4]

OdGsCullingOBBox::OdGsCullingOBBox ( const OdGePoint3d base,
const OdGeVector3d xAxis,
const OdGeVector3d yAxis,
const OdGeVector3d zAxis 
)
inline

Constructor for the OdGsCullingOBBox class. Creates an oriented culling box with specified base point and directions.

Parameters
base[in] Base of the bounding box.
xAxis[in] X-axis direction.
yAxis[in] Y-axis direction.
zAxis[in] Z-axis direction.

Definition at line 315 of file GsCullingVolume.h.

◆ OdGsCullingOBBox() [3/4]

OdGsCullingOBBox::OdGsCullingOBBox ( const OdGeBoundBlock3d bb)
inline

Constructor for the OdGsCullingOBBox class. Creates an oriented culling box based on the provided bounding block.

Parameters
bb[in] Bounding box.

Definition at line 326 of file GsCullingVolume.h.

◆ OdGsCullingOBBox() [4/4]

OdGsCullingOBBox::OdGsCullingOBBox ( const OdGsCullingOBBox obb)
inline

Copy constructor for the OdGsCullingOBBox class.

Parameters
obb[in] Oriented bounding box.

Definition at line 337 of file GsCullingVolume.h.

◆ ~OdGsCullingOBBox()

OdGsCullingOBBox::~OdGsCullingOBBox ( )
inline

Destructor for the OdGsCullingBBox class.

Definition at line 346 of file GsCullingVolume.h.

Member Function Documentation

◆ operator=() [1/2]

OdGsCullingOBBox & OdGsCullingOBBox::operator= ( const OdGeBoundBlock3d bb)
inline

Assignment operator for the OdGsCullingOBBox class. Assigns origin and direction vectors of the passed bounding block.

Parameters
bb[in] Bounding block.

Definition at line 355 of file GsCullingVolume.h.

◆ operator=() [2/2]

OdGsCullingOBBox & OdGsCullingOBBox::operator= ( const OdGsCullingOBBox obb)
inline

Assignment operator for the OdGsCullingOBBox class. Assigns origin and direction vectors of the passed oriented bounding box.

Parameters
obb[in] Oriented bounding box.

Definition at line 368 of file GsCullingVolume.h.

◆ primitiveType()

PrimitiveType OdGsCullingOBBox::primitiveType ( ) const
inlinevirtual

Returns culling primitive type.

Implements OdGsCullingPrimitive.

Definition at line 381 of file GsCullingVolume.h.


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