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

#include <GiLineweightOverride.h>

Public Member Functions

 OdGiLineweightOverrideHelper ()
 
 OdGiLineweightOverrideHelper (OdGiSubEntityTraits &pTraits, const OdGiLineweightOverride &pOverride)
 
 ~OdGiLineweightOverrideHelper ()
 
void setLineweightOverride (OdGiSubEntityTraits &pTraits, const OdGiLineweightOverride &pOverride)
 

Protected Attributes

OdGiSubEntityTraitsm_pTraits
 

Detailed Description

Helper class to simplify lineweight override setting.

See also
TD_Gi

<group OdGi_Classes>

Definition at line 269 of file GiLineweightOverride.h.

Constructor & Destructor Documentation

◆ OdGiLineweightOverrideHelper() [1/2]

OdGiLineweightOverrideHelper::OdGiLineweightOverrideHelper ( )
inline

Default constructor for the OdGiLineweightOverrideHelper class. Sets the lineweight override traits to NULL.

Definition at line 277 of file GiLineweightOverride.h.

◆ OdGiLineweightOverrideHelper() [2/2]

OdGiLineweightOverrideHelper::OdGiLineweightOverrideHelper ( OdGiSubEntityTraits pTraits,
const OdGiLineweightOverride pOverride 
)
inline

Constructor for the OdGiLineweightOverrideHelper class. Sets the object with the specified traits and underlaying override object.

Parameters
pTraits[in] Entity traits.
pOverride[in] Lineweight override object to wrap.

Definition at line 284 of file GiLineweightOverride.h.

◆ ~OdGiLineweightOverrideHelper()

OdGiLineweightOverrideHelper::~OdGiLineweightOverrideHelper ( )
inline

Destructor for the OdGiLineweightOverrideHelper class.

Definition at line 290 of file GiLineweightOverride.h.

Member Function Documentation

◆ setLineweightOverride()

void OdGiLineweightOverrideHelper::setLineweightOverride ( OdGiSubEntityTraits pTraits,
const OdGiLineweightOverride pOverride 
)
inline

Sets the specified traits and lineweight object.

Parameters
pTraits[in] Entity traits.
pOverride[in] Lineweight override object to wrap.

Definition at line 301 of file GiLineweightOverride.h.

Member Data Documentation

◆ m_pTraits

OdGiSubEntityTraits* OdGiLineweightOverrideHelper::m_pTraits
protected

Definition at line 272 of file GiLineweightOverride.h.


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