CFx SDK Documentation  2020SP3
Public Member Functions | Protected Attributes | List of all members
OdGiConveyorContextWrapper Class Reference

#include <GiConveyorGeometry.h>

Inheritance diagram for OdGiConveyorContextWrapper:
OdGiConveyorContext

Public Member Functions

OdGiConveyorContextgetOriginalContext () const
 
void setOriginalContext (OdGiConveyorContext *pCtx)
 
 OdGiConveyorContextWrapper (OdGiConveyorContext *pCtx=NULL)
 
OdGiContextgiContext () const
 
OdGiSubEntityTraitssubEntityTraits () const
 
const OdGiSubEntityTraitsDataeffectiveTraits () const
 
void setEffectiveTraits (const OdGiSubEntityTraitsData &traits, const OdGeVector3d *fillNormal=NULL)
 
bool effectivelyVisible () const
 
const OdGiDrawableDesccurrentDrawableDesc () const
 
const OdGiDrawablecurrentDrawable () const
 
const OdGiViewportgiViewport () const
 
const OdGsViewgsView () const
 
void onTraitsModified ()
 
void onTextProcessing (const OdGePoint3d &position, const OdGeVector3d &direction, const OdGeVector3d &upVector)
 
bool regenAbort () const
 
const OdGiPathNodecurrentGiPath () const
 
const OdGiDeviationworldDeviation () const
 
const OdGiDeviationmodelDeviation () const
 
const OdGiDeviationeyeDeviation () const
 
OdGeMatrix3d getModelToWorldTransform () const
 
OdGeMatrix3d getWorldToModelTransform () const
 
const OdGiLineweightOverridecurrentLineweightOverride () const
 
OdUInt32 drawContextFlags () const
 
- Public Member Functions inherited from OdGiConveyorContext
virtual ~OdGiConveyorContext ()
 
virtual double annotationScale () const
 

Protected Attributes

OdGiConveyorContextm_pCtx
 

Additional Inherited Members

- Public Types inherited from OdGiConveyorContext
enum  ConveyorContextFlags {
  kSpatialFilterSimplPline = 1, kSpatialFilterSimplNurbs = 2, kSpatialFilterSimplText = 4, kSpatialFilterSimplShape = 8,
  kSpatialFilterSimplAll, kEmbranchmentSimplText = 16, kEmbranchmentSimplNurbs = 32, kEmbranchmentSimplAll = (kEmbranchmentSimplText | kEmbranchmentSimplNurbs),
  kConveyorSimplAll = (kSpatialFilterSimplAll | kEmbranchmentSimplAll), kPlineMarkers = 64, kForceMarkersOnModified = 128, kPolylineMarkers = 256,
  kPlineAllowArcProc = 512, kTestMode = 1024, kLineTyperAfterMetafile = 2048
}
 

Detailed Description

See also
TD_Gi <group OdGi_Classes>

Definition at line 229 of file GiConveyorGeometry.h.

Constructor & Destructor Documentation

◆ OdGiConveyorContextWrapper()

OdGiConveyorContextWrapper::OdGiConveyorContextWrapper ( OdGiConveyorContext pCtx = NULL)
inlineexplicit

Definition at line 236 of file GiConveyorGeometry.h.

Member Function Documentation

◆ currentDrawable()

const OdGiDrawable* OdGiConveyorContextWrapper::currentDrawable ( ) const
inlinevirtual

Returns the current OdGiDrawable object for this ConveyorContext object.

Remarks
This is the object currently being vectorized by the framework.

Implements OdGiConveyorContext.

Definition at line 245 of file GiConveyorGeometry.h.

◆ currentDrawableDesc()

const OdGiDrawableDesc* OdGiConveyorContextWrapper::currentDrawableDesc ( ) const
inlinevirtual

Returns the current OdGiDrawableDesc instance for this ConveyorContext object.

Remarks
This instance contains information about the current drawable object (the object itself, rendering flags, etc.).

Implements OdGiConveyorContext.

Definition at line 244 of file GiConveyorGeometry.h.

◆ currentGiPath()

const OdGiPathNode* OdGiConveyorContextWrapper::currentGiPath ( ) const
inlinevirtual

Returns current drawable nesting graph.

Implements OdGiConveyorContext.

Definition at line 252 of file GiConveyorGeometry.h.

◆ currentLineweightOverride()

const OdGiLineweightOverride* OdGiConveyorContextWrapper::currentLineweightOverride ( ) const
inlinevirtual

Returns current lineweight override (if present).

Reimplemented from OdGiConveyorContext.

Definition at line 258 of file GiConveyorGeometry.h.

◆ drawContextFlags()

OdUInt32 OdGiConveyorContextWrapper::drawContextFlags ( ) const
inlinevirtual

Returns set of conveyor context flags.

Reimplemented from OdGiConveyorContext.

Definition at line 259 of file GiConveyorGeometry.h.

◆ effectivelyVisible()

bool OdGiConveyorContextWrapper::effectivelyVisible ( ) const
inlinevirtual

Checks the current visibility state for current traits.

Reimplemented from OdGiConveyorContext.

Definition at line 243 of file GiConveyorGeometry.h.

◆ effectiveTraits()

const OdGiSubEntityTraitsData& OdGiConveyorContextWrapper::effectiveTraits ( ) const
inlinevirtual

Returns the traits currently in effect for this ConveyorContext object.

Implements OdGiConveyorContext.

Definition at line 240 of file GiConveyorGeometry.h.

◆ eyeDeviation()

const OdGiDeviation& OdGiConveyorContextWrapper::eyeDeviation ( ) const
inlinevirtual

Returns deviations array accessor for eye coordinate system.

Implements OdGiConveyorContext.

Definition at line 255 of file GiConveyorGeometry.h.

◆ getModelToWorldTransform()

OdGeMatrix3d OdGiConveyorContextWrapper::getModelToWorldTransform ( ) const
inlinevirtual

Returns the model-to-world coordinate transform matrix for the entity being vectorized.

Remarks
This is the inverse of the matrix returned by getWorldToModelTransform().

If an entity is in one or more blocks, this matrix can be used to determine the WCS coordinates of the entity.

Implements OdGiConveyorContext.

Definition at line 256 of file GiConveyorGeometry.h.

◆ getOriginalContext()

OdGiConveyorContext* OdGiConveyorContextWrapper::getOriginalContext ( ) const
inline

Definition at line 234 of file GiConveyorGeometry.h.

◆ getWorldToModelTransform()

OdGeMatrix3d OdGiConveyorContextWrapper::getWorldToModelTransform ( ) const
inlinevirtual

Returns the world-to-model coordinate transform matrix for the entity being vectorized.

Remarks
This is the inverse of the matrix returned by getModelToWorldTransform().

Implements OdGiConveyorContext.

Definition at line 257 of file GiConveyorGeometry.h.

◆ giContext()

OdGiContext& OdGiConveyorContextWrapper::giContext ( ) const
inlinevirtual

Returns the OdGiContext object associated with this ConveyorContext object.

Implements OdGiConveyorContext.

Definition at line 238 of file GiConveyorGeometry.h.

◆ giViewport()

const OdGiViewport* OdGiConveyorContextWrapper::giViewport ( ) const
inlinevirtual

Returns the OdGiViewport associated with this ConveyorContext object.

Implements OdGiConveyorContext.

Definition at line 246 of file GiConveyorGeometry.h.

◆ gsView()

const OdGsView* OdGiConveyorContextWrapper::gsView ( ) const
inlinevirtual

Returns the OdGsView associated with this ConveyorContext object.

Implements OdGiConveyorContext.

Definition at line 247 of file GiConveyorGeometry.h.

◆ modelDeviation()

const OdGiDeviation& OdGiConveyorContextWrapper::modelDeviation ( ) const
inlinevirtual

Returns deviations array accessor for model coordinate system.

Implements OdGiConveyorContext.

Definition at line 254 of file GiConveyorGeometry.h.

◆ onTextProcessing()

void OdGiConveyorContextWrapper::onTextProcessing ( const OdGePoint3d ,
const OdGeVector3d ,
const OdGeVector3d  
)
inlinevirtual

Notification function called by the vectorization framework whenever the text is become to be rendered.

Remarks
This function provides a hook for setting geometry transformation before text was drawn.

Reimplemented from OdGiConveyorContext.

Definition at line 249 of file GiConveyorGeometry.h.

◆ onTraitsModified()

void OdGiConveyorContextWrapper::onTraitsModified ( )
inlinevirtual

Notification function called by the vectorization framework whenever the rendering attributes have changed.

Remarks
This function is called before sending any geometry through the geometry conveyor.

This function provides a hook for setting rendering attributes for the final geometry handler (e.g. Win GDI device).

Implements OdGiConveyorContext.

Definition at line 248 of file GiConveyorGeometry.h.

◆ regenAbort()

bool OdGiConveyorContextWrapper::regenAbort ( ) const
inlinevirtual

Returns true if and only if regen was aborted.

Implements OdGiConveyorContext.

Definition at line 251 of file GiConveyorGeometry.h.

◆ setEffectiveTraits()

void OdGiConveyorContextWrapper::setEffectiveTraits ( const OdGiSubEntityTraitsData traits,
const OdGeVector3d fillNormal = NULL 
)
inlinevirtual

Sets the traits currently in effect for this ConveyorContext object.

Parameters
traits[in] New traits data which will be used for effective traits substitution.
fillNormal[in] Optional fill normal.

Implements OdGiConveyorContext.

Definition at line 241 of file GiConveyorGeometry.h.

◆ setOriginalContext()

void OdGiConveyorContextWrapper::setOriginalContext ( OdGiConveyorContext pCtx)
inline

Definition at line 235 of file GiConveyorGeometry.h.

◆ subEntityTraits()

OdGiSubEntityTraits& OdGiConveyorContextWrapper::subEntityTraits ( ) const
inlinevirtual

Returns the OdGiSubEntityTraits instance associated with this ConveyorContext object.

Remarks
The OdGiSubEntityTraits object is used to register attribute changes with the vectorization framework.

Implements OdGiConveyorContext.

Definition at line 239 of file GiConveyorGeometry.h.

◆ worldDeviation()

const OdGiDeviation& OdGiConveyorContextWrapper::worldDeviation ( ) const
inlinevirtual

Returns deviations array accessor for world coordinate system.

Implements OdGiConveyorContext.

Definition at line 253 of file GiConveyorGeometry.h.

Member Data Documentation

◆ m_pCtx

OdGiConveyorContext* OdGiConveyorContextWrapper::m_pCtx
protected

Definition at line 232 of file GiConveyorGeometry.h.


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