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

#include <GsBaseVectorizer.h>

Public Member Functions

 OdGsWriter ()
 
OdGsExtAccumextentsAccum ()
 
OdGsBaseModelgsModel () const
 
bool isRecordingMetafile ()
 
OdGsGeomPortioncurrentGeomPortion () const
 
OdGsGeomPortionheadGeomPortion () const
 
void beginMetafileRecording (OdGsGeomPortion *pGeomPortion)
 
void endMetafileRecording ()
 
void onNestedDrawable (OdDbStub *layerId, const OdGsNestedMetafile *pNestedMf=NULL)
 
void separateMetafile ()
 
bool isLayerFrozen (OdGsLayerNode *pLayerNode) const
 
bool hasFrozenLayerBefore (OdGsLayerNode *pLayerNode, const OdGsGeomPortion *pTillPortion=NULL) const
 

Public Attributes

OdGsBaseModelm_pGsModel
 

Protected Member Functions

bool isCurrentGeomPortionDiscardable ()
 

Protected Attributes

OdGsExtAccumPtr m_pExtAccum
 
OdGsGeomPortionm_pGeomPortionHead
 
OdGsGeomPortionm_pGeomPortion
 
OdGsBaseVectorizerm_vectorizer
 
bool m_bFinalizedMetafile
 

Friends

class OdGsBaseVectorizer
 

Detailed Description

Corresponding C++ library: TD_Gs

<group OdGs_Classes>

Definition at line 74 of file GsBaseVectorizer.h.

Constructor & Destructor Documentation

◆ OdGsWriter()

OdGsWriter::OdGsWriter ( )

Default constructor for objects of the OdGsWriter class. Sets the following data members:

member Value Description m_pGsModel NULL Pointer to a model. m_pGeomPortionHead NULL Pointer to a geometry portion head. m_pGeomPortion NULL Pointer to a geometry portion. m_vectorizer NULL Vectorizer in use. m_bFinalizedMetafile false Flag that shows whether there is currently no recording process of a metafile. m_pExtAccum OdGsExtAccum::createObject() Accumulated extents.

Member Function Documentation

◆ beginMetafileRecording()

void OdGsWriter::beginMetafileRecording ( OdGsGeomPortion pGeomPortion)
inline

Begins metafile recording.

Parameters
pGeomPortion[in] Pointer to geometry portion.

Definition at line 126 of file GsBaseVectorizer.h.

◆ currentGeomPortion()

OdGsGeomPortion * OdGsWriter::currentGeomPortion ( ) const
inline

Retrieves pointer to current geometry portion.

Definition at line 115 of file GsBaseVectorizer.h.

◆ endMetafileRecording()

void OdGsWriter::endMetafileRecording ( )

Ends metafile recording.

◆ extentsAccum()

OdGsExtAccum & OdGsWriter::extentsAccum ( )
inline

Returns the accumulated extents when writing to the object.

Definition at line 95 of file GsBaseVectorizer.h.

◆ gsModel()

OdGsBaseModel * OdGsWriter::gsModel ( ) const
inline

Returns pointer to GS model.

Definition at line 103 of file GsBaseVectorizer.h.

◆ hasFrozenLayerBefore()

bool OdGsWriter::hasFrozenLayerBefore ( OdGsLayerNode pLayerNode,
const OdGsGeomPortion pTillPortion = NULL 
) const

Checks whether the specified layer node is already invoked in geometry portions list of active metafile.

Parameters
pLayerNode[in] Layer node pointer for check.
pTillPortion[in] Geometry portion pointer till which metafile geometry portions will be checked.
Returns
True if the layer node is available in metafile geometry portions list, false otherwise.

◆ headGeomPortion()

OdGsGeomPortion * OdGsWriter::headGeomPortion ( ) const
inline

Retrieves pointer to head geometry portion.

Definition at line 120 of file GsBaseVectorizer.h.

◆ isCurrentGeomPortionDiscardable()

bool OdGsWriter::isCurrentGeomPortionDiscardable ( )
protected

◆ isLayerFrozen()

bool OdGsWriter::isLayerFrozen ( OdGsLayerNode pLayerNode) const

Checks whether the specified layer node is frozen.

Parameters
pLayerNode[in] Layer node pointer for check.
Returns
True if the layer node is frozen, false otherwise.

◆ isRecordingMetafile()

bool OdGsWriter::isRecordingMetafile ( )
inline

Checks whether metafile recording is active.

Returns
True if metafile is currently recording, false otherwise.

Definition at line 110 of file GsBaseVectorizer.h.

◆ onNestedDrawable()

void OdGsWriter::onNestedDrawable ( OdDbStub *  layerId,
const OdGsNestedMetafile *  pNestedMf = NULL 
)

◆ separateMetafile()

void OdGsWriter::separateMetafile ( )

Friends And Related Function Documentation

◆ OdGsBaseVectorizer

friend class OdGsBaseVectorizer
friend

Definition at line 153 of file GsBaseVectorizer.h.

Member Data Documentation

◆ m_bFinalizedMetafile

bool OdGsWriter::m_bFinalizedMetafile
protected

Definition at line 170 of file GsBaseVectorizer.h.

◆ m_pExtAccum

OdGsExtAccumPtr OdGsWriter::m_pExtAccum
protected

Definition at line 166 of file GsBaseVectorizer.h.

◆ m_pGeomPortion

OdGsGeomPortion* OdGsWriter::m_pGeomPortion
protected

Definition at line 168 of file GsBaseVectorizer.h.

◆ m_pGeomPortionHead

OdGsGeomPortion* OdGsWriter::m_pGeomPortionHead
protected

Definition at line 167 of file GsBaseVectorizer.h.

◆ m_pGsModel

OdGsBaseModel* OdGsWriter::m_pGsModel

Definition at line 161 of file GsBaseVectorizer.h.

◆ m_vectorizer

OdGsBaseVectorizer* OdGsWriter::m_vectorizer
protected

Definition at line 169 of file GsBaseVectorizer.h.


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