CFx SDK Documentation  2022 SP0
Classes | Public Member Functions | Static Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes | List of all members
OdGiSectionGeometryOutput Class Reference

#include <GiSectionGeometryOutput.h>

Inheritance diagram for OdGiSectionGeometryOutput:
OdRxObject OdGiEmptyGeometry OdGiConveyorGeometry

Classes

struct  SectionGeometryOutputInterface
 

Public Member Functions

 OdGiSectionGeometryOutput ()
 
SectionGeometryOutputInterfacegetInterface ()
 
void setInterface (SectionGeometryOutputInterface *pInterface)
 
bool isClosedSectionsOutputEnabled () const
 
void enableClosedSectionsOutput (bool bSet)
 
bool isOpenedSectionsOutputEnabled () const
 
void enableOpenedSectionsOutput (bool bSet)
 
bool isOutputOfClosedSectionsAsPolylinesEnabled () const
 
void enableOutputOfClosedSectionsAsPolylines (bool bSet)
 
bool isSectionToleranceOverrideEnabled () const
 
double sectionToleranceOverride () const
 
void setSectionToleranceOverride (double tolOverride)
 
void resetSectionToleranceOverride ()
 
void setTraitsOverrideFlags (OdUInt32 nFlags)
 
OdUInt32 traitsOverrideFlags () const
 
void setTraitsOverrides (const OdGiSubEntityTraitsData &pData)
 
OdGiSubEntityTraitsDatatraitsOverrides ()
 
const OdGiSubEntityTraitsDatatraitsOverrides () const
 
virtual void setupTraits (OdGiConveyorContext &context)
 
virtual void releaseTraits (OdGiConveyorContext &context)
 
void polylineProc (OdInt32 numPoints, const OdGePoint3d *vertexList, const OdGeVector3d *pNormal=0, const OdGeVector3d *pExtrusion=0, OdGsMarker baseSubEntMarker=-1)
 
void shellProc (OdInt32 numVertices, const OdGePoint3d *vertexList, OdInt32 faceListSize, const OdInt32 *faceList, const OdGiEdgeData *pEdgeData=0, const OdGiFaceData *pFaceData=0, const OdGiVertexData *pVertexData=0)
 
- Public Member Functions inherited from OdRxObject
 ODRX_HEAP_OPERATORS ()
 
 OdRxObject ()
 
virtual ~OdRxObject ()
 
virtual OdRxObjectqueryX (const OdRxClass *pClass) const
 
virtual OdRxObjectx (const OdRxClass *pClass) const
 
virtual OdRxClassisA () const
 
virtual void addRef ()=0
 
virtual void release ()=0
 
virtual long numRefs () const
 
bool isKindOf (const OdRxClass *pClass) const
 
virtual OdRxObjectPtr clone () const
 
virtual void copyFrom (const OdRxObject *pSource)
 
virtual OdRx::Ordering comparedTo (const OdRxObject *pOther) const
 
virtual bool isEqualTo (const OdRxObject *pOther) const
 
- Public Member Functions inherited from OdGiEmptyGeometry
void plineProc (const OdGiPolyline &polyline, const OdGeMatrix3d *xfm=0, OdUInt32 fromIndex=0, OdUInt32 numSegs=0)
 
void circleProc (const OdGePoint3d &center, double radius, const OdGeVector3d &normal, const OdGeVector3d *pExtrusion=0)
 
void circleProc (const OdGePoint3d &firstPoint, const OdGePoint3d &secondPoint, const OdGePoint3d &thirdPoint, const OdGeVector3d *pExtrusion=0)
 
void circularArcProc (const OdGePoint3d &center, double radius, const OdGeVector3d &normal, const OdGeVector3d &startVector, double sweepAngle, OdGiArcType arcType=kOdGiArcSimple, const OdGeVector3d *pExtrusion=0)
 
void circularArcProc (const OdGePoint3d &firstPoint, const OdGePoint3d &secondPoint, const OdGePoint3d &thirdPoint, OdGiArcType arcType=kOdGiArcSimple, const OdGeVector3d *pExtrusion=0)
 
void polygonProc (OdInt32 numPoints, const OdGePoint3d *vertexList, const OdGeVector3d *pNormal=0, const OdGeVector3d *pExtrusion=0)
 
void meshProc (OdInt32 rows, OdInt32 columns, const OdGePoint3d *vertexList, const OdGiEdgeData *pEdgeData=0, const OdGiFaceData *pFaceData=0, const OdGiVertexData *pVertexData=0)
 
void textProc (const OdGePoint3d &position, const OdGeVector3d &direction, const OdGeVector3d &upVector, const OdChar *msg, OdInt32 numChars, bool raw, const OdGiTextStyle *pTextStyle, const OdGeVector3d *pExtrusion=0)
 
void shapeProc (const OdGePoint3d &position, const OdGeVector3d &direction, const OdGeVector3d &upVector, int shapeNumber, const OdGiTextStyle *pTextStyle, const OdGeVector3d *pExtrusion=0)
 
void xlineProc (const OdGePoint3d &firstPoint, const OdGePoint3d &secondPoint)
 
void rayProc (const OdGePoint3d &basePoint, const OdGePoint3d &throughPoint)
 
void nurbsProc (const OdGeNurbCurve3d &nurbsCurve)
 
void ellipArcProc (const OdGeEllipArc3d &ellipArc, const OdGePoint3d *endPointsOverrides=0, OdGiArcType arcType=kOdGiArcSimple, const OdGeVector3d *pExtrusion=0)
 
void rasterImageProc (const OdGePoint3d &origin, const OdGeVector3d &u, const OdGeVector3d &v, const OdGiRasterImage *pImage, const OdGePoint2d *uvBoundary, OdUInt32 numBoundPts, bool transparency=false, double brightness=50.0, double contrast=50.0, double fade=0.0)
 
void metafileProc (const OdGePoint3d &origin, const OdGeVector3d &u, const OdGeVector3d &v, const OdGiMetafile *pMetafile, bool dcAligned=true, bool allowClipping=false)
 
void polypointProc (OdInt32 numPoints, const OdGePoint3d *vertexList, const OdCmEntityColor *pColors, const OdCmTransparency *pTransparency=0, const OdGeVector3d *pNormals=0, const OdGeVector3d *pExtrusions=0, const OdGsMarker *pSubEntMarkers=0, OdInt32 nPointSize=0)
 
void rowOfDotsProc (OdInt32 numPoints, const OdGePoint3d &startPoint, const OdGeVector3d &dirToNextPoint)
 
void edgeProc (const OdGiEdge2dArray &edges, const OdGeMatrix3d *pXform=0)
 
- Public Member Functions inherited from OdGiConveyorGeometry
virtual ~OdGiConveyorGeometry ()
 
virtual void textProc2 (const OdGePoint3d &position, const OdGeVector3d &direction, const OdGeVector3d &upVector, const OdChar *msg, OdInt32 numBytes, bool raw, const OdGiTextStyle *pTextStyle, const OdGeVector3d *pExtrusion=0, const OdGeExtents3d *=0)
 
virtual void xlineProc2 (const OdGePoint3d &basePoint, const OdGeVector3d &direction)
 
virtual void rayProc2 (const OdGePoint3d &basePoint, const OdGeVector3d &direction)
 
virtual void setExtentsProc (const OdGePoint3d *, bool=true)
 
virtual int ttfCharProcFlags () const
 
virtual bool ttfCharProc (OdChar, const OdGePoint3d &, const OdGeBoundBlock3d *)
 
virtual void ttfPolyDrawProc (OdInt32 numVertices, const OdGePoint3d *vertexList, OdInt32 faceListSize, const OdInt32 *faceList, const OdUInt8 *, const OdGiFaceData *pFaceData=0)
 
virtual void conveyorBoundaryInfoProc (const OdGeBoundBlock3d &, OdUInt32 &)
 
void polypointProc2 (OdGiConveyorContext *pContext, OdInt32 numPoints, const OdGePoint3d *vertexList, const OdCmEntityColor *pColors=0, const OdCmTransparency *pTransparency=0, const OdGeVector3d *pNormals=0, const OdGeVector3d *pExtrusions=0, const OdGsMarker *pSubEntMarkers=0, OdInt32 nPointSize=0)
 
void rowOfDotsProc2 (OdInt32 numPoints, const OdGePoint3d &startPoint, const OdGeVector3d &dirToNextPoint)
 

Static Public Member Functions

static OdSmartPtr< OdGiSectionGeometryOutputcreateObject ()
 
- Static Public Member Functions inherited from OdRxObject
static OdRxObjectPtr cast (const OdRxObject *pointer)
 
static OdRxClassdesc ()
 

Protected Types

enum  Flags { kOutputClosedPrimitives = 1 , kOutputOpenedPrimitives = 2 , kClosedPrimitivesAsPolylines = 4 , kToleranceOverrideEnabled = 8 }
 

Protected Member Functions

void shellProcAsPolylineProc (OdInt32, const OdGePoint3d *vertexList, OdInt32 faceListSize, const OdInt32 *faceList, const OdGiEdgeData *, const OdGiFaceData *pFaceData, const OdGiVertexData *)
 

Protected Attributes

SectionGeometryOutputInterfacem_pIface
 
OdUInt32 m_flags
 
OdUInt32 m_overrideFlags
 
OdGiSubEntityTraitsData m_overrides
 
OdGiSubEntityTraitsData m_traits
 
double m_tolOverride
 
OdGePoint3dArray m_tmpPoints
 

Additional Inherited Members

- Public Types inherited from OdGiConveyorGeometry
enum  ETtfCharProcFlags { kTtfCharProcEnable = 1 , kTtfCharProcBoundBlock = 2 }
 
enum  EConveyorBoundaryInfoFlags {
  kBoundaryProcXform = 1 , kBoundaryProcXformNonUni = 2 , kBoundaryProcProjection = 4 , kBoundaryProcClip = 8 ,
  kBoundaryProcClipFull = 16
}
 
- Static Public Attributes inherited from OdGiEmptyGeometry
static ODGI_EXPORT_STATIC OdGiConveyorGeometrykVoid
 

Detailed Description

This class is an default implementation of OdGiConveyorGeometry that provides output of section geometry.

<group OdGi_Classes>

Definition at line 38 of file GiSectionGeometryOutput.h.

Member Enumeration Documentation

◆ Flags

Enumerator
kOutputClosedPrimitives 
kOutputOpenedPrimitives 
kClosedPrimitivesAsPolylines 
kToleranceOverrideEnabled 

Definition at line 58 of file GiSectionGeometryOutput.h.

Constructor & Destructor Documentation

◆ OdGiSectionGeometryOutput()

OdGiSectionGeometryOutput::OdGiSectionGeometryOutput ( )
inline

Definition at line 74 of file GiSectionGeometryOutput.h.

Member Function Documentation

◆ createObject()

static OdSmartPtr<OdGiSectionGeometryOutput> OdGiSectionGeometryOutput::createObject ( )
inlinestatic

Create new OdGiSectionGeometryOutput object.

Definition at line 79 of file GiSectionGeometryOutput.h.

◆ enableClosedSectionsOutput()

void OdGiSectionGeometryOutput::enableClosedSectionsOutput ( bool  bSet)
inline

Enables or disables closed sections output.

Parameters
bSet[in] New state of closed sections output.

Definition at line 101 of file GiSectionGeometryOutput.h.

◆ enableOpenedSectionsOutput()

void OdGiSectionGeometryOutput::enableOpenedSectionsOutput ( bool  bSet)
inline

Enables or disables opened sections output.

Parameters
bSet[in] New state of opened sections output.

Definition at line 111 of file GiSectionGeometryOutput.h.

◆ enableOutputOfClosedSectionsAsPolylines()

void OdGiSectionGeometryOutput::enableOutputOfClosedSectionsAsPolylines ( bool  bSet)
inline

Enables or disables output of closed sections as polyline primitives.

Parameters
bSet[in] New state of closed sections output mode.

Definition at line 121 of file GiSectionGeometryOutput.h.

◆ getInterface()

SectionGeometryOutputInterface& OdGiSectionGeometryOutput::getInterface ( )
inline

Returns section geometry interface.

Definition at line 84 of file GiSectionGeometryOutput.h.

◆ isClosedSectionsOutputEnabled()

bool OdGiSectionGeometryOutput::isClosedSectionsOutputEnabled ( ) const
inline

Returns true if closed sections output enabled.

Definition at line 96 of file GiSectionGeometryOutput.h.

◆ isOpenedSectionsOutputEnabled()

bool OdGiSectionGeometryOutput::isOpenedSectionsOutputEnabled ( ) const
inline

Returns true if opened sections output enabled.

Definition at line 106 of file GiSectionGeometryOutput.h.

◆ isOutputOfClosedSectionsAsPolylinesEnabled()

bool OdGiSectionGeometryOutput::isOutputOfClosedSectionsAsPolylinesEnabled ( ) const
inline

Returns true if enabled output of closed sections as polyline primitives.

Definition at line 116 of file GiSectionGeometryOutput.h.

◆ isSectionToleranceOverrideEnabled()

bool OdGiSectionGeometryOutput::isSectionToleranceOverrideEnabled ( ) const
inline

Returns true if sections generation tolerance override enabled.

Definition at line 126 of file GiSectionGeometryOutput.h.

◆ polylineProc()

void OdGiSectionGeometryOutput::polylineProc ( OdInt32  numPoints,
const OdGePoint3d vertexList,
const OdGeVector3d pNormal = 0,
const OdGeVector3d pExtrusion = 0,
OdGsMarker  baseSubEntMarker = -1 
)
inlinevirtual

Called for opened sections.

Remarks
Redirects to destination geometry in default implementation.

Reimplemented from OdGiEmptyGeometry.

Definition at line 224 of file GiSectionGeometryOutput.h.

◆ releaseTraits()

virtual void OdGiSectionGeometryOutput::releaseTraits ( OdGiConveyorContext context)
inlinevirtual

Called to release section geometry traits.

Parameters
context[in] Geometry conveyor context.
Remarks
Override to implement own traits processing.

Definition at line 208 of file GiSectionGeometryOutput.h.

◆ resetSectionToleranceOverride()

void OdGiSectionGeometryOutput::resetSectionToleranceOverride ( )
inline

Disables sections generation tolerance override.

Definition at line 141 of file GiSectionGeometryOutput.h.

◆ sectionToleranceOverride()

double OdGiSectionGeometryOutput::sectionToleranceOverride ( ) const
inline

Returns sections generation tolerance override value.

Definition at line 131 of file GiSectionGeometryOutput.h.

◆ setInterface()

void OdGiSectionGeometryOutput::setInterface ( SectionGeometryOutputInterface pInterface)
inline

Sets section geometry interface.

Parameters
pInterface[in] Pointer onto section geometry interface.
Remarks
Called internally by OdGiOrthoClipperEx conveyor node.

Definition at line 91 of file GiSectionGeometryOutput.h.

◆ setSectionToleranceOverride()

void OdGiSectionGeometryOutput::setSectionToleranceOverride ( double  tolOverride)
inline

Enables sections generation tolerance override and sets it's value.

Definition at line 136 of file GiSectionGeometryOutput.h.

◆ setTraitsOverrideFlags()

void OdGiSectionGeometryOutput::setTraitsOverrideFlags ( OdUInt32  nFlags)
inline

Setup traits override flags.

Parameters
nFlags[in] Traits override flags.

Definition at line 147 of file GiSectionGeometryOutput.h.

◆ setTraitsOverrides()

void OdGiSectionGeometryOutput::setTraitsOverrides ( const OdGiSubEntityTraitsData pData)
inline

Setup traits overrides.

Parameters
pData[in] Traits overrides.

Definition at line 163 of file GiSectionGeometryOutput.h.

◆ setupTraits()

virtual void OdGiSectionGeometryOutput::setupTraits ( OdGiConveyorContext context)
inlinevirtual

Called to setup section geometry traits.

Parameters
context[in] Geometry conveyor context.
Remarks
Override to implement own traits processing.

Definition at line 188 of file GiSectionGeometryOutput.h.

◆ shellProc()

void OdGiSectionGeometryOutput::shellProc ( OdInt32  numVertices,
const OdGePoint3d vertexList,
OdInt32  faceListSize,
const OdInt32 faceList,
const OdGiEdgeData pEdgeData = 0,
const OdGiFaceData pFaceData = 0,
const OdGiVertexData pVertexData = 0 
)
inlinevirtual

Called for closed sections.

Remarks
Redirects to destination geometry in default implementation.

Reimplemented from OdGiEmptyGeometry.

Definition at line 237 of file GiSectionGeometryOutput.h.

◆ shellProcAsPolylineProc()

void OdGiSectionGeometryOutput::shellProcAsPolylineProc ( OdInt32  ,
const OdGePoint3d vertexList,
OdInt32  faceListSize,
const OdInt32 faceList,
const OdGiEdgeData ,
const OdGiFaceData pFaceData,
const OdGiVertexData  
)
inlineprotected

Definition at line 248 of file GiSectionGeometryOutput.h.

◆ traitsOverrideFlags()

OdUInt32 OdGiSectionGeometryOutput::traitsOverrideFlags ( ) const
inline

Returns traits override flags.

Definition at line 154 of file GiSectionGeometryOutput.h.

◆ traitsOverrides() [1/2]

OdGiSubEntityTraitsData& OdGiSectionGeometryOutput::traitsOverrides ( )
inline

Returns traits overrides (for changing).

Definition at line 170 of file GiSectionGeometryOutput.h.

◆ traitsOverrides() [2/2]

const OdGiSubEntityTraitsData& OdGiSectionGeometryOutput::traitsOverrides ( ) const
inline

Returns traits overrides.

Definition at line 177 of file GiSectionGeometryOutput.h.

Member Data Documentation

◆ m_flags

OdUInt32 OdGiSectionGeometryOutput::m_flags
protected

Definition at line 67 of file GiSectionGeometryOutput.h.

◆ m_overrideFlags

OdUInt32 OdGiSectionGeometryOutput::m_overrideFlags
protected

Definition at line 68 of file GiSectionGeometryOutput.h.

◆ m_overrides

OdGiSubEntityTraitsData OdGiSectionGeometryOutput::m_overrides
protected

Definition at line 69 of file GiSectionGeometryOutput.h.

◆ m_pIface

SectionGeometryOutputInterface* OdGiSectionGeometryOutput::m_pIface
protected

Definition at line 66 of file GiSectionGeometryOutput.h.

◆ m_tmpPoints

OdGePoint3dArray OdGiSectionGeometryOutput::m_tmpPoints
protected

Definition at line 72 of file GiSectionGeometryOutput.h.

◆ m_tolOverride

double OdGiSectionGeometryOutput::m_tolOverride
protected

Definition at line 71 of file GiSectionGeometryOutput.h.

◆ m_traits

OdGiSubEntityTraitsData OdGiSectionGeometryOutput::m_traits
protected

Definition at line 70 of file GiSectionGeometryOutput.h.


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