CFx SDK Documentation 2026 SP0
Loading...
Searching...
No Matches
OdGiModelTransformSaverOpt Class Reference

#include <GiGeometry.h>

Public Member Functions

 OdGiModelTransformSaverOpt (OdGiGeometry &geom, const OdGeMatrix3d &xMat)
 
 ~OdGiModelTransformSaverOpt ()
 

Detailed Description

This class is used to ensure OdGiGeometry::pushModelTransform()/OdGiGeometry::popModelTransform() consistency (exception safety) with additional optimization check of matrix identity.

See also
TD_Gi

<group OdGi_Classes>

Definition at line 1621 of file GiGeometry.h.

Constructor & Destructor Documentation

◆ OdGiModelTransformSaverOpt()

OdGiModelTransformSaverOpt::OdGiModelTransformSaverOpt ( OdGiGeometry & geom,
const OdGeMatrix3d & xMat )
inline

Constructor for the OdGiModelTransformSaverOpt class.

Parameters
geom[in] Geometry for which apply a transformation matrix.
xMat[in] Transformation matrix.

Definition at line 1632 of file GiGeometry.h.

◆ ~OdGiModelTransformSaverOpt()

OdGiModelTransformSaverOpt::~OdGiModelTransformSaverOpt ( )
inline

Destructor for the OdGiModelTransformSaverOpt class. Pops a transformation matrix from the stack for associated geometry if the transformation matrix is not identity matrix.

Definition at line 1645 of file GiGeometry.h.


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