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

#include <DbSectionSymbol.h>

Inheritance diagram for OdDbSectionSymbol:
OdDbViewSymbol OdDbEntity OdDbObject OdGiDrawable OdRxObject

Public Member Functions

 ODDB_DECLARE_MEMBERS (OdDbSectionSymbol)
 
 OdDbSectionSymbol ()
 
 ~OdDbSectionSymbol ()
 
int sectionPointsCount () const
 
OdResult getSectionPointAt (int idx, OdGePoint3d &pt) const
 
OdResult getBulgeAt (int idx, double &bulge) const
 
OdResult getIdentifierAt (int idx, OdString &sName) const
 
OdResult getIdentifierOffsetAt (int idx, OdGeVector3d &offset, bool *pIsFixed=nullptr) const
 
bool isViewDirectionLeft () const
 
void setViewDirectionLeft (bool bLeft)
 
bool isHalfSection () const
 
void setIsHalfSection (bool bHalf)
 
OdResult addSectionPoint (const OdGePoint3d &pt, double bulge=0)
 
OdResult removeSectionPointAt (int idx)
 
OdResult setSectionPointAt (int idx, const OdGePoint3d &pt, double bulge=0)
 
OdResult setIdentifierNameAt (int idx, const OdString &name)
 
OdResult setIdentifierOffsetAt (int idx, const OdGeVector3d &offset)
 
OdResult setSectionPoints (const OdGePoint3dArray &pts)
 
OdResult setSectionPoints (const OdGePoint3dArray &pts, const OdGeDoubleArray &bulges)
 
void clearSectionPoints ()
 
OdResult setLabelNames (const OdStringArray &names)
 
OdResult setLabelOffsets (const OdGeVector3dArray &offsets)
 
void resetLabelOffsets (bool bAllOffsets=true, int iVertex=-1)
 
bool flipDirection ()
 
- Public Member Functions inherited from OdDbViewSymbol
 ODDB_DECLARE_MEMBERS (OdDbViewSymbol)
 
virtual ~OdDbViewSymbol ()
 
OdDbObjectId symbolStyleId () const
 
void setSymbolStyleId (const OdDbObjectId &styleId)
 
double scale () const
 
void setScale (double val)
 
OdResult getIdentifier (OdString &sName) const
 
OdResult setIdentifier (const OdString &sName)
 
OdDbObjectId owningViewRep () const
 
void setOwningViewRep (const OdDbObjectId &owner)
 
OdResult createDefinition (OdRxSymbolSketch *pSketchObject)
 
OdResult exportSymbolGeometry (OdGeCurve3dPtrArray &geomArr, const OdDbObjectId &viewRepId)
 
OdResult setSymbolGeometry (const OdDbObjectIdArray &entIds)
 
OdResult setSymbolGeometry (const OdArray< OdDbObject * > &entities)
 
OdResult updateDefinition ()
 
- Public Member Functions inherited from OdDbEntity
 ODDB_DECLARE_MEMBERS (OdDbEntity)
 
 OdDbEntity ()
 
OdDbObjectId blockId () const
 
OdCmColor color () const
 
virtual OdResult setColor (const OdCmColor &color, bool doSubents=true)
 
OdUInt16 colorIndex () const
 
virtual OdCmEntityColor entityColor () const
 
virtual OdResult setColorIndex (OdUInt16 colorIndex, bool doSubents=true)
 
OdDbObjectId colorId () const
 
virtual OdResult setColorId (OdDbObjectId colorId, bool doSubents=true)
 
OdCmTransparency transparency () const
 
virtual OdResult setTransparency (const OdCmTransparency &transparency, bool doSubents=true)
 
OdString plotStyleName () const
 
OdDb::PlotStyleNameType getPlotStyleNameId (OdDbObjectId &plotStyleNameId) const
 
virtual OdResult setPlotStyleName (const OdString &plotStyleName, bool doSubents=true)
 
virtual OdResult setPlotStyleName (OdDb::PlotStyleNameType plotStyleNameType, OdDbObjectId plotStyleNameId=OdDbObjectId::kNull, bool doSubents=true)
 
OdString layer () const
 
OdDbObjectId layerId () const
 
virtual OdResult setLayer (const OdString &layerName, bool doSubents=true, bool allowHiddenLayer=false)
 
virtual OdResult setLayer (OdDbObjectId layerId, bool doSubents=true, bool allowHiddenLayer=false)
 
OdString linetype () const
 
OdDbObjectId linetypeId () const
 
virtual OdResult setLinetype (const OdString &linetypeName, bool doSubents=true)
 
virtual OdResult setLinetype (OdDbObjectId linetypeID, bool doSubents=true)
 
OdString material () const
 
OdDbObjectId materialId () const
 
virtual OdResult setMaterial (const OdString &materialName, bool doSubents=true)
 
virtual OdResult setMaterial (OdDbObjectId materialID, bool doSubents=true)
 
OdDbObjectId visualStyleId (VisualStyleType vstype=kFullVisualStyle) const
 
virtual OdResult setVisualStyle (OdDbObjectId visualStyleId, VisualStyleType vstype=kFullVisualStyle, bool doSubents=true)
 
virtual const OdGiMappermaterialMapper () const
 
virtual void setMaterialMapper (const OdGiMapper *mapper, bool doSubents=true)
 
double linetypeScale () const
 
virtual OdResult setLinetypeScale (double linetypeScale, bool doSubents=true)
 
OdDb::Visibility visibility () const
 
ODRX_SEALED_VIRTUAL OdResult setVisibility (OdDb::Visibility visibility, bool doSubents=true) ODRX_FINAL
 
OdDb::Visibility tempVisibility () const
 
void setTempVisibility (OdDb::Visibility visibility)
 
OdDb::LineWeight lineWeight () const
 
virtual OdResult setLineWeight (OdDb::LineWeight lineWeight, bool doSubents=true)
 
virtual bool castShadows () const
 
virtual void setCastShadows (bool castShadows)
 
virtual bool receiveShadows () const
 
virtual void setReceiveShadows (bool receiveShadows)
 
virtual OdDb::CollisionType collisionType () const
 
void setPropertiesFrom (const OdDbEntity *pSource, bool doSubents=true)
 
virtual bool isPlanar () const
 
virtual OdResult getPlane (OdGePlane &plane, OdDb::Planarity &planarity) const
 
void subHandOverTo (OdDbObject *pNewObject)
 
ODRX_SEALED_VIRTUAL OdResult transformBy (const OdGeMatrix3d &xfm) ODRX_FINAL
 
ODRX_SEALED_VIRTUAL OdResult getTransformedCopy (const OdGeMatrix3d &xfm, OdDbEntityPtr &pCopy) const ODRX_FINAL
 
ODRX_SEALED_VIRTUAL OdResult explode (OdRxObjectPtrArray &entitySet) const ODRX_FINAL
 
virtual OdResult explodeToBlock (OdDbBlockTableRecord *pBlockRecord, OdDbObjectIdArray *ids=0)
 
virtual OdResult explodeGeometry (OdRxObjectPtrArray &entitySet) const
 
virtual OdResult explodeGeometryToBlock (OdDbBlockTableRecord *pBlockRecord, OdDbObjectIdArray *ids=0)
 
virtual void subViewportDraw (OdGiViewportDraw *pVd) const
 
void setDatabaseDefaults (OdDbDatabase *pDb=0, bool doSubents=false)
 
virtual void applyPartialUndo (OdDbDwgFiler *pUndoFiler, OdRxClass *pClassObj)
 
void appendToOwner (OdDbIdPair &idPair, OdDbObject *pOwnerObject, OdDbIdMapping &ownerIdMap)
 
virtual OdResult dxfIn (OdDbDxfFiler *pFiler)
 
virtual void dxfOut (OdDbDxfFiler *pFiler) const
 
virtual OdResult dxfInFields_R12 (OdDbDxfFiler *pFiler)
 
virtual void dxfOutFields_R12 (OdDbDxfFiler *pFiler) const
 
virtual OdGiDrawabledrawable ()
 
virtual OdUInt32 subSetAttributes (OdGiDrawableTraits *pTraits) const
 
virtual void subList () const
 
virtual OdResult subGetClassID (void *pClsid) const
 
void subSwapIdWith (const OdDbObjectId &otherId, bool swapXdata=false, bool swapExtDict=false)
 
virtual OdResult subErase (bool erasing) ODRX_OVERRIDE
 
virtual OdResult subOpen (OdDb::OpenMode mode) ODRX_OVERRIDE
 
void recordGraphicsModified (bool graphicsModified=true)
 
virtual void copyFrom (const OdRxObject *pSource)
 
ODRX_SEALED_VIRTUAL void list () const ODRX_FINAL
 
virtual OdResult getGeomExtents (OdGeExtents3d &extents) const ODRX_FINAL
 
ODRX_SEALED_VIRTUAL void highlight (bool bDoIt=true, const OdDbFullSubentPath *pSubId=0, bool highlightAll=false) const ODRX_FINAL
 
ODRX_SEALED_VIRTUAL OdResult getOsnapPoints (OdDb::OsnapMode osnapMode, OdGsMarker gsSelectionMark, const OdGePoint3d &pickPoint, const OdGePoint3d &lastPoint, const OdGeMatrix3d &xWorldToEye, OdGePoint3dArray &snapPoints) const ODRX_FINAL
 
ODRX_SEALED_VIRTUAL OdResult getOsnapPoints (OdDb::OsnapMode osnapMode, OdGsMarker gsSelectionMark, const OdGePoint3d &pickPoint, const OdGePoint3d &lastPoint, const OdGeMatrix3d &xWorldToEye, OdGePoint3dArray &snapPoints, const OdGeMatrix3d &insertionMat) const ODRX_FINAL
 
ODRX_SEALED_VIRTUAL bool isContentSnappable () const ODRX_FINAL
 
ODRX_SEALED_VIRTUAL OdResult getGripPoints (OdGePoint3dArray &gripPoints) const ODRX_FINAL
 
ODRX_SEALED_VIRTUAL OdResult moveGripPointsAt (const OdIntArray &indices, const OdGeVector3d &offset) ODRX_FINAL
 
ODRX_SEALED_VIRTUAL OdResult getGripPoints (OdDbGripDataPtrArray &grips, const double curViewUnitSize, const int gripSize, const OdGeVector3d &curViewDir, const int bitFlags) const ODRX_FINAL
 
ODRX_SEALED_VIRTUAL OdResult moveGripPointsAt (const OdDbVoidPtrArray &grips, const OdGeVector3d &offset, int bitFlags) ODRX_FINAL
 
ODRX_SEALED_VIRTUAL OdResult getStretchPoints (OdGePoint3dArray &stretchPoints) const ODRX_FINAL
 
ODRX_SEALED_VIRTUAL OdResult moveStretchPointsAt (const OdIntArray &indices, const OdGeVector3d &offset) ODRX_FINAL
 
virtual void dragStatus (const OdDb::DragStat status)
 
ODRX_SEALED_VIRTUAL void gripStatus (const OdDb::GripStat status) ODRX_FINAL
 
ODRX_SEALED_VIRTUAL bool cloneMeForDragging () ODRX_FINAL
 
ODRX_SEALED_VIRTUAL bool hideMeForDragging () const ODRX_FINAL
 
virtual void saveAs (OdGiWorldDraw *pWd, OdDb::DwgVersion ver) const
 
ODRX_SEALED_VIRTUAL OdResult getCompoundObjectTransform (OdGeMatrix3d &xM) const ODRX_FINAL
 
ODRX_SEALED_VIRTUAL OdResult intersectWith (const OdDbEntity *pEnt, OdDb::Intersect intType, OdGePoint3dArray &points, OdGsMarker thisGsMarker=0, OdGsMarker otherGsMarker=0) const ODRX_FINAL
 
ODRX_SEALED_VIRTUAL OdResult intersectWith (const OdDbEntity *pEnt, OdDb::Intersect intType, const OdGePlane &projPlane, OdGePoint3dArray &points, OdGsMarker thisGsMarker=0, OdGsMarker otherGsMarker=0) const ODRX_FINAL
 
OdResult boundingBoxIntersectWith (const OdDbEntity *pEnt, OdDb::Intersect intType, OdGePoint3dArray &points, OdGsMarker thisGsMarker, OdGsMarker otherGsMarker) const
 
OdResult boundingBoxIntersectWith (const OdDbEntity *pEnt, OdDb::Intersect intType, const OdGePlane &projPlane, OdGePoint3dArray &points, OdGsMarker thisGsMarker, OdGsMarker otherGsMarker) const
 
ODRX_SEALED_VIRTUAL OdResult getSubentPathsAtGsMarker (OdDb::SubentType type, OdGsMarker gsMark, const OdGePoint3d &pickPoint, const OdGeMatrix3d &xfm, OdDbFullSubentPathArray &subentPaths, const OdDbObjectIdArray *pEntAndInsertStack=0) const ODRX_FINAL
 
ODRX_SEALED_VIRTUAL OdResult getGsMarkersAtSubentPath (const OdDbFullSubentPath &subPath, OdGsMarkerArray &gsMarkers) const ODRX_FINAL
 
ODRX_SEALED_VIRTUAL OdResult getGripPointsAtSubentPath (const OdDbFullSubentPath &path, OdDbGripDataPtrArray &grips, const double curViewUnitSize, const int gripSize, const OdGeVector3d &curViewDir, const OdUInt32 bitflags) const ODRX_FINAL
 
ODRX_SEALED_VIRTUAL OdResult moveGripPointsAtSubentPaths (const OdDbFullSubentPathArray &paths, const OdDbVoidPtrArray &gripAppData, const OdGeVector3d &offset, const OdUInt32 bitflags) ODRX_FINAL
 
ODRX_SEALED_VIRTUAL OdResult deleteSubentPaths (const OdDbFullSubentPathArray &paths) ODRX_FINAL
 
ODRX_SEALED_VIRTUAL OdResult addSubentPaths (const OdDbFullSubentPathArray &paths) ODRX_FINAL
 
ODRX_SEALED_VIRTUAL OdDbEntityPtr subentPtr (const OdDbFullSubentPath &path) const ODRX_FINAL
 
ODRX_SEALED_VIRTUAL OdResult transformSubentPathsBy (const OdDbFullSubentPathArray &paths, const OdGeMatrix3d &xform) ODRX_FINAL
 
ODRX_SEALED_VIRTUAL OdResult getSubentClassId (const OdDbFullSubentPath &path, void *clsId) ODRX_FINAL
 
ODRX_SEALED_VIRTUAL OdResult getSubentPathGeomExtents (const OdDbFullSubentPath &path, OdGeExtents3d &extents) ODRX_FINAL
 
ODRX_SEALED_VIRTUAL void subentGripStatus (OdDb::GripStat status, const OdDbFullSubentPath &subentity) ODRX_FINAL
 
virtual OdGeMatrix3d getEcs () const
 
- Public Member Functions inherited from OdDbObject
 ODDB_DECLARE_MEMBERS (OdDbObject)
 
 ~OdDbObject ()
 
virtual void addRef () override
 
virtual void release () ODRX_NOEXCEPT override
 
virtual long numRefs () const override
 
OdDbObjectId objectId () const
 
OdDbHandle getDbHandle () const
 
OdDbHandle handle () const
 
OdDbObjectId ownerId () const
 
virtual void setOwnerId (OdDbObjectId ownerId)
 
OdDbDatabasedatabase () const
 
void createExtensionDictionary ()
 
OdDbObjectId extensionDictionary () const
 
bool releaseExtensionDictionary ()
 
OdDbXrecordPtr createXrecord (const OdString &xrecordName, OdDb::DuplicateRecordCloning style=OdDb::kDrcIgnore)
 
void upgradeOpen ()
 
void downgradeOpen ()
 
void cancel ()
 
virtual void subClose ()
 
OdResult erase (bool eraseIt=true)
 
void handOverTo (OdDbObject *pNewObject, bool keepXData=true, bool keepExtDict=true)
 
void swapIdWith (OdDbObjectId otherId, bool swapXdata=false, bool swapExtDict=false)
 
virtual void audit (OdDbAuditInfo *pAuditInfo)
 
void dwgIn (OdDbDwgFiler *pFiler)
 
void dwgOut (OdDbDwgFiler *pFiler) const
 
virtual OdDb::DuplicateRecordCloning mergeStyle () const
 
virtual OdResBufPtr xData (const OdString &regappName=OdString::kEmpty) const
 
virtual void setXData (const OdResBuf *pRb)
 
bool hasXData (const OdChar *regappName=nullptr) const
 
bool isEraseStatusToggled () const
 
bool isErased () const
 
bool isReadEnabled () const
 
bool isWriteEnabled () const
 
bool isNotifyEnabled () const
 
bool isModified () const
 
bool isModifiedXData () const
 
bool isModifiedGraphics () const
 
bool isNewObject () const
 
bool isNotifying () const
 
bool isUndoing () const
 
bool isReallyClosing () const
 
bool isDBRO () const
 
void assertReadEnabled () const
 
void assertWriteEnabled (bool autoUndo=true, bool recordModified=true)
 
void assertNotifyEnabled () const
 
void disableUndoRecording (bool disable)
 
bool isUndoRecordingDisabled () const
 
OdDbDwgFilerundoFiler ()
 
void addReactor (OdDbObjectReactor *pReactor) const
 
void removeReactor (OdDbObjectReactor *pReactor) const
 
virtual void addPersistentReactor (const OdDbObjectId &objId)
 
virtual void removePersistentReactor (const OdDbObjectId &objId)
 
bool hasPersistentReactor (const OdDbObjectId &objId) const
 
OdDbObjectIdArray getPersistentReactors () const
 
OdDbObjectReactorArray getTransientReactors () const
 
virtual void recvPropagateModify (const OdDbObject *pSubObj)
 
virtual void xmitPropagateModify () const
 
ODRX_SEALED_VIRTUAL OdDbObjectPtr deepClone (OdDbIdMapping &idMap, OdDbObject *pOwner, bool bPrimary=true) const ODRX_FINAL
 
ODRX_SEALED_VIRTUAL OdDbObjectPtr wblockClone (OdDbIdMapping &idMap, OdDbObject *pOwner, bool bPrimary=true) const ODRX_FINAL
 
void setOdDbObjectIdsInFlux ()
 
bool isOdDbObjectIdsInFlux () const
 
virtual void copied (const OdDbObject *pObject, const OdDbObject *pNewObject)
 
virtual void erased (const OdDbObject *pObject, bool erasing=true)
 
virtual void goodbye (const OdDbObject *pObject)
 
virtual void openedForModify (const OdDbObject *pObject)
 
virtual void subObjModified (const OdDbObject *pObject, const OdDbObject *pSubObj)
 
virtual void modifyUndone (const OdDbObject *pObject)
 
virtual void modifiedXData (const OdDbObject *pObject)
 
virtual void unappended (const OdDbObject *pObject)
 
virtual void reappended (const OdDbObject *pObject)
 
bool isAProxy () const
 
virtual void objectClosed (const OdDbObjectId &objectId)
 
virtual void modifiedGraphics (const OdDbObject *pObject)
 
bool hasSaveVersionOverride () const
 
void setHasSaveVersionOverride (bool hasSaveVersionOverride)
 
virtual OdDb::DwgVersion getObjectSaveVersion (const OdDbFiler *pFiler, OdDb::MaintReleaseVer *pMaintVer=0) const
 
virtual OdDbObjectPtr decomposeForSave (OdDb::DwgVersion ver, OdDbObjectId &replaceId, bool &exchangeXData)
 
virtual OdDbObjectPtr decomposeForSave (OdDb::SaveType format, OdDb::DwgVersion ver, OdDbObjectId &replaceId, bool &exchangeXData)
 
void convertForSave (OdDb::DwgVersion ver)
 
virtual void composeForLoad (OdDb::SaveType format, OdDb::DwgVersion version, OdDbAuditInfo *pAuditInfo)
 
virtual bool isPersistent () const
 
virtual OdDbStub * id () const
 
ODRX_SEALED_VIRTUAL OdResult getClassID (void *pClsid) const ODRX_FINAL
 
void setGsNode (OdGsCache *pNode)
 
OdGsCachegsNode () const
 
void xDataTransformBy (const OdGeMatrix3d &xfm)
 
bool hasFields () const
 
OdDbObjectId getField (const OdString &fieldName) const
 
OdDbObjectPtr getField (const OdString &fieldName, OdDb::OpenMode mode) const
 
virtual OdDbObjectId setField (const OdString &fieldName, OdDbField *pField)
 
virtual OdResult removeField (OdDbObjectId fieldId)
 
virtual OdDbObjectId removeField (const OdString &fieldName)
 
OdDbObjectId getFieldDictionary () const
 
OdDbObjectPtr getFieldDictionary (OdDb::OpenMode mode) const
 
virtual OdRxClasssaveAsClass (OdRxClass *pClass) const
 
- Public Member Functions inherited from OdGiDrawable
 ODRX_DECLARE_MEMBERS (OdGiDrawable)
 
virtual DrawableType drawableType () const
 
ODRX_SEALED_VIRTUAL OdUInt32 setAttributes (OdGiDrawableTraits *pTraits) const ODRX_FINAL
 
ODRX_SEALED_VIRTUAL bool worldDraw (OdGiWorldDraw *pWd) const ODRX_FINAL
 
ODRX_SEALED_VIRTUAL void viewportDraw (OdGiViewportDraw *pVd) const ODRX_FINAL
 
ODRX_SEALED_VIRTUAL OdUInt32 viewportDrawLogicalFlags (OdGiViewportDraw *pVd) const ODRX_FINAL
 
ODRX_SEALED_VIRTUAL OdUInt32 regenSupportFlags () const ODRX_FINAL
 
- 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
 
bool isKindOf (const OdRxClass *pClass) const
 
virtual OdRxObjectPtr clone () const
 
virtual OdRx::Ordering comparedTo (const OdRxObject *pOther) const
 
virtual bool isEqualTo (const OdRxObject *pOther) const
 

Protected Member Functions

virtual void modified (const OdDbObject *pObject) ODRX_OVERRIDE
 
virtual OdResult dwgInFields (OdDbDwgFiler *pFiler) ODRX_OVERRIDE
 
virtual void dwgOutFields (OdDbDwgFiler *pFiler) const ODRX_OVERRIDE
 
virtual OdResult dxfInFields (OdDbDxfFiler *pFiler) ODRX_OVERRIDE
 
virtual void dxfOutFields (OdDbDxfFiler *pFiler) const ODRX_OVERRIDE
 
virtual void subSetDatabaseDefaults (OdDbDatabase *db, bool doSubents) ODRX_OVERRIDE
 
virtual bool subWorldDraw (OdGiWorldDraw *pWorldDraw) const ODRX_OVERRIDE
 
virtual OdResult subTransformBy (const OdGeMatrix3d &xfm) ODRX_OVERRIDE
 
- Protected Member Functions inherited from OdDbViewSymbol
virtual OdDbObjectPtr subWblockClone (OdDbIdMapping &idMap, OdDbObject *owner, bool bPrimary) const
 
 OdDbViewSymbol ()
 
- Protected Member Functions inherited from OdDbEntity
virtual OdDbObjectPtr subDeepClone (OdDbIdMapping &ownerIdMap, OdDbObject *, bool bPrimary) const ODRX_OVERRIDE
 
virtual OdResult subGetTransformedCopy (const OdGeMatrix3d &xfm, OdDbEntityPtr &pCopy) const
 
virtual OdResult subExplode (OdRxObjectPtrArray &entitySet) const
 
virtual OdResult subGetCompoundObjectTransform (OdGeMatrix3d &xM) const
 
virtual bool subCloneMeForDragging ()
 
virtual bool subHideMeForDragging () const
 
virtual void subGripStatus (const OdDb::GripStat status)
 
virtual OdResult subGetOsnapPoints (OdDb::OsnapMode osnapMode, OdGsMarker gsSelectionMark, const OdGePoint3d &pickPoint, const OdGePoint3d &lastPoint, const OdGeMatrix3d &xWorldToEye, OdGePoint3dArray &snapPoints) const
 
virtual OdResult subGetOsnapPoints (OdDb::OsnapMode osnapMode, OdGsMarker gsSelectionMark, const OdGePoint3d &pickPoint, const OdGePoint3d &lastPoint, const OdGeMatrix3d &xWorldToEye, OdGePoint3dArray &snapPoints, const OdGeMatrix3d &insertionMat) const
 
virtual bool subIsContentSnappable () const
 
virtual OdResult subGetGripPoints (OdGePoint3dArray &gripPoints) const
 
virtual OdResult subMoveGripPointsAt (const OdIntArray &indices, const OdGeVector3d &offset)
 
virtual OdResult subGetGripPoints (OdDbGripDataPtrArray &grips, const double curViewUnitSize, const int gripSize, const OdGeVector3d &curViewDir, const int bitFlags) const
 
virtual OdResult subMoveGripPointsAt (const OdDbVoidPtrArray &grips, const OdGeVector3d &offset, int bitFlags)
 
virtual OdResult subGetStretchPoints (OdGePoint3dArray &stretchPoints) const
 
virtual OdResult subMoveStretchPointsAt (const OdIntArray &indices, const OdGeVector3d &offset)
 
virtual OdResult subIntersectWith (const OdDbEntity *pEnt, OdDb::Intersect intType, OdGePoint3dArray &points, OdGsMarker thisGsMarker=0, OdGsMarker otherGsMarker=0) const
 
virtual OdResult subIntersectWith (const OdDbEntity *pEnt, OdDb::Intersect intType, const OdGePlane &projPlane, OdGePoint3dArray &points, OdGsMarker thisGsMarker=0, OdGsMarker otherGsMarker=0) const
 
virtual void subHighlight (bool bDoIt=true, const OdDbFullSubentPath *pSubId=0, bool highlightAll=false) const
 
virtual OdDb::Visibility subVisibility () const
 
virtual OdResult subSetVisibility (OdDb::Visibility visibility, bool doSubents=true)
 
virtual OdResult subGetGeomExtents (OdGeExtents3d &extents) const
 
virtual OdResult subDeleteSubentPaths (const OdDbFullSubentPathArray &paths)
 
virtual OdResult subAddSubentPaths (const OdDbFullSubentPathArray &paths)
 
virtual OdResult subMoveGripPointsAtSubentPaths (const OdDbFullSubentPathArray &paths, const OdDbVoidPtrArray &gripAppData, const OdGeVector3d &offset, const OdUInt32 bitflags)
 
virtual OdResult subGetGripPointsAtSubentPath (const OdDbFullSubentPath &path, OdDbGripDataPtrArray &grips, const double curViewUnitSize, const int gripSize, const OdGeVector3d &curViewDir, const OdUInt32 bitflags) const
 
virtual OdResult subGetSubentPathsAtGsMarker (OdDb::SubentType type, OdGsMarker gsMark, const OdGePoint3d &pickPoint, const OdGeMatrix3d &xfm, OdDbFullSubentPathArray &subentPaths, const OdDbObjectIdArray *pEntAndInsertStack=0) const
 
virtual OdResult subGetGsMarkersAtSubentPath (const OdDbFullSubentPath &subPath, OdGsMarkerArray &gsMarkers) const
 
virtual OdDbEntityPtr subSubentPtr (const OdDbFullSubentPath &path) const
 
virtual OdResult subTransformSubentPathsBy (const OdDbFullSubentPathArray &paths, const OdGeMatrix3d &xform)
 
virtual OdResult subGetSubentClassId (const OdDbFullSubentPath &path, void *clsId) const
 
virtual OdResult subGetSubentPathGeomExtents (const OdDbFullSubentPath &path, OdGeExtents3d &extents) const
 
virtual void subSubentGripStatus (OdDb::GripStat status, const OdDbFullSubentPath &subentity)
 
- Protected Member Functions inherited from OdDbObject
 OdDbObject ()
 
- Protected Member Functions inherited from OdGiDrawable
 OdGiDrawable ()
 
virtual OdUInt32 subViewportDrawLogicalFlags (OdGiViewportDraw *vd) const
 
virtual OdUInt32 subRegenSupportFlags () const
 

Additional Inherited Members

- Public Types inherited from OdDbEntity
enum  VisualStyleType { kFullVisualStyle , kFaceVisualStyle , kEdgeVisualStyle }
 
- Public Types inherited from OdGiDrawable
enum  SetAttributesFlags {
  kDrawableNone = 0 , kDrawableIsAnEntity = 1 , kDrawableUsesNesting = 2 , kDrawableIsCompoundObject = 4 ,
  kDrawableViewIndependentViewportDraw = 8 , kDrawableIsInvisible = 16 , kDrawableHasAttributes = 32 , kDrawableRegenTypeDependantGeometry = 64 ,
  kDrawableIsDimension = (kDrawableIsAnEntity + kDrawableIsCompoundObject + 128) , kDrawableRegenDraw = 256 , kDrawableStandardDisplaySingleLOD = 512 , kDrawableShadedDisplaySingleLOD = 1024 ,
  kDrawableViewDependentViewportDraw = 2048 , kDrawableBlockDependentViewportDraw = 4096 , kDrawableIsExternalReference = 8192 , kDrawableNotPlottable = 16384 ,
  kDrawableNotAllowLCS = 32768 , kDrawableMergeControlOff = 65536 , kLastFlag = kDrawableMergeControlOff
}
 
enum  DrawableType {
  kGeometry = 0 , kDistantLight = 1 , kPointLight = 2 , kSpotLight = 3 ,
  kAmbientLight , kSolidBackground , kGradientBackground , kImageBackground ,
  kGroundPlaneBackground , kViewport , kWebLight , kSkyBackground ,
  kImageBasedLightingBackground , kEnvironmentBackground = 16 , kCustomBackground
}
 
- Static Public Member Functions inherited from OdRxObject
static OdRxObjectPtr cast (const OdRxObject *pointer)
 
static OdRxClassdesc ()
 
static void rxInit ()
 
static void rxUninit ()
 
- Protected Attributes inherited from OdDbObject
OdDbObjectImplm_pImpl
 

Detailed Description

This class represents Section Symbol entities.

Corresponding C++ library: AcModelDocObj <group OdModelDocObj_Classes>

Definition at line 36 of file DbSectionSymbol.h.

Constructor & Destructor Documentation

◆ OdDbSectionSymbol()

OdDbSectionSymbol::OdDbSectionSymbol ( )

Default constructor. Creates an OdDbSectionSymbol instance.

◆ ~OdDbSectionSymbol()

OdDbSectionSymbol::~OdDbSectionSymbol ( )

Member Function Documentation

◆ addSectionPoint()

OdResult OdDbSectionSymbol::addSectionPoint ( const OdGePoint3d & pt,
double bulge = 0 )

Appends new point of section line.

Parameters
pt[in] Point of the section line.
bulge[in] Value of bulge.
Returns
eOk value if successful.

◆ clearSectionPoints()

void OdDbSectionSymbol::clearSectionPoints ( )

Clears the section points.

◆ dwgInFields()

virtual OdResult OdDbSectionSymbol::dwgInFields ( OdDbDwgFiler * pFiler)
protectedvirtual

Reads the .dwg file data of this object.

Parameters
pFiler[in] Filer object from which data are read.
Returns
Returns the filer status.

This function is called by dwgIn() to allow the object to read its data.

When overriding this function:

1) Call assertWriteEnabled(). 2) Call the parent class's dwgInFields(pFiler). 3) If it returns eOK, continue; otherwise return whatever the parent's dwgInFields(pFiler) returned. 4) Call the OdDbDwgFiler(pFiler) methods to read each of the object's data items in the order they were written. 5) Return pFiler->filerStatus().

Reimplemented from OdDbViewSymbol.

◆ dwgOutFields()

virtual void OdDbSectionSymbol::dwgOutFields ( OdDbDwgFiler * pFiler) const
protectedvirtual

Writes the .dwg file data of this object.

Parameters
pFiler[in] Pointer to the filer to which data are written.
Remarks

This function is called by dwgIn() to allow the object to write its data.

When overriding this function:

1) Call assertReadEnabled(). 2) Call the parent class's dwgOutFields(pFiler). 3) Call the OdDbDwgFiler(pFiler) methods to write each of the object's data items in the order they were written.

Reimplemented from OdDbViewSymbol.

◆ dxfInFields()

virtual OdResult OdDbSectionSymbol::dxfInFields ( OdDbDxfFiler * pFiler)
protectedvirtual

Reads the DXF data of this object.

Parameters
pFiler[in] Pointer to the filer from which data are read.
Returns
Returns the filer status.

This function is called by dxfIn() to allow the object to read its data.

When overriding this function:

1) Call assertWriteEnabled(). 2) Call the parent class's dwgInFields(pFiler). 3) If it returns eOK, continue; otherwise return whatever the parent's dxfInFields(pFiler) returned. 4) Call the OdDbDxfFiler(pFiler) methods to read each of the object's data items in the order they were written. 5) Return pFiler->filerStatus().

Reimplemented from OdDbViewSymbol.

◆ dxfOutFields()

virtual void OdDbSectionSymbol::dxfOutFields ( OdDbDxfFiler * pFiler) const
protectedvirtual

Writes the DXF data of this object.

Parameters
pFiler[in] Pointer to the filer to which data are to be written.
Remarks

This function is called by dxfOut() to allow the object to write its data.

When overriding this function:

1) Call assertReadEnabled(). 2) Call the parent class's dxfOutFields(pFiler). 4) Use pFiler to call the OdDbDxfFiler methods to write each of the object's data items in the order they were written.

Reimplemented from OdDbViewSymbol.

◆ flipDirection()

bool OdDbSectionSymbol::flipDirection ( )

Flips direction of the section.

Returns
true - if successful, false - otherwise.

◆ getBulgeAt()

OdResult OdDbSectionSymbol::getBulgeAt ( int idx,
double & bulge ) const

Gets the section vertex bulge parameter at the specified index.

Parameters
idx[in] Index of the section symbol vertex.
bulge[out] Receives the bulge at the index idx.
Returns
eOk value if successful, eOutOfRange if idx is out of range (idx > sectionPointsCount()).

◆ getIdentifierAt()

OdResult OdDbSectionSymbol::getIdentifierAt ( int idx,
OdString & sName ) const

Gets the identifier at the specified vertex index.

Parameters
idx[in] Index of the section symbol vertex.
sName[out] Receives the string that represents identifier.
Returns
eOk value if successful, eOutOfRange if idx is out of range (idx > sectionPointsCount()).

◆ getIdentifierOffsetAt()

OdResult OdDbSectionSymbol::getIdentifierOffsetAt ( int idx,
OdGeVector3d & offset,
bool * pIsFixed = nullptr ) const

Gets the identifier offset value from the specified vertex.

Parameters
idx[in] Index of the section symbol vertex.
offset[out] Receives the offset value.
pIsFixed[out] Optional flag indicating that identifier position is fixed.
Returns
eOk value if successful, eOutOfRange if idx is out of range (idx > sectionPointsCount()).

◆ getSectionPointAt()

OdResult OdDbSectionSymbol::getSectionPointAt ( int idx,
OdGePoint3d & pt ) const

Gets the section line point at the specified index.

Parameters
idx[in] Index of the section line vertex.
pt[out] Receives the point at the index idx.
Returns
eOk value if successful, eOutOfRange if idx is out of range (idx > sectionPointsCount()).

◆ isHalfSection()

bool OdDbSectionSymbol::isHalfSection ( ) const

Checks whether the section symbol defines a half or full section.

Returns
Returns true only if the section symbol defines a half section cut, false for full sections.

◆ isViewDirectionLeft()

bool OdDbSectionSymbol::isViewDirectionLeft ( ) const

Checks whether the view direction of the section symbol is left.

Returns
Returns true only if the view direction is left, and false otherwise.

◆ modified()

virtual void OdDbSectionSymbol::modified ( const OdDbObject * pObject)
protectedvirtual

Notification from section view style. Invalidates Gs cache.

Reimplemented from OdDbObject.

◆ ODDB_DECLARE_MEMBERS()

OdDbSectionSymbol::ODDB_DECLARE_MEMBERS ( OdDbSectionSymbol )

◆ removeSectionPointAt()

OdResult OdDbSectionSymbol::removeSectionPointAt ( int idx)

Removes point of section line at specified index.

Parameters
idx[in] Index of the section symbol point to remove.
Returns
eOk value if successful.

◆ resetLabelOffsets()

void OdDbSectionSymbol::resetLabelOffsets ( bool bAllOffsets = true,
int iVertex = -1 )

Resets labels offsets.

Parameters
bAllOffsets[in] true - for reset all, false - otherwise.

◆ sectionPointsCount()

int OdDbSectionSymbol::sectionPointsCount ( ) const

Returns the number of points in the section line of this Section Symbol entity.

◆ setIdentifierNameAt()

OdResult OdDbSectionSymbol::setIdentifierNameAt ( int idx,
const OdString & name )

Modifies identifier name by index.

Parameters
idx[in] Index of the section symbol vertex.
name[in] Name of identifier.
Returns
eOk value if successful, eOutOfRange if idx is out of range (idx > sectionPointsCount()).

◆ setIdentifierOffsetAt()

OdResult OdDbSectionSymbol::setIdentifierOffsetAt ( int idx,
const OdGeVector3d & offset )

Modifies identifier offset by index.

Parameters
idx[in] Index of the section symbol vertex.
offset[in] Value of identifier's offset.
Returns
eOk value if successful, eOutOfRange if idx is out of range (idx > sectionPointsCount()).

◆ setIsHalfSection()

void OdDbSectionSymbol::setIsHalfSection ( bool bHalf)

◆ setLabelNames()

OdResult OdDbSectionSymbol::setLabelNames ( const OdStringArray & names)

Sets labels names.

Parameters
names[in] Names to set.
Returns
eOk - if successful, corresponding error type - otherwise.
Remarks
Currently is not implemented.

◆ setLabelOffsets()

OdResult OdDbSectionSymbol::setLabelOffsets ( const OdGeVector3dArray & offsets)

Sets labels offsets.

Parameters
offsets[in] Offsets to set.
Returns
eOk - if successful, corresponding error type - otherwise.

◆ setSectionPointAt()

OdResult OdDbSectionSymbol::setSectionPointAt ( int idx,
const OdGePoint3d & pt,
double bulge = 0 )

Modifies point by index.

Parameters
idx[in] Index of the section symbol vertex.
pt[in] New value of point.
bulge[in] Value of bulge.
Returns
eOk value if successful, eOutOfRange if idx is out of range (idx > sectionPointsCount()).

◆ setSectionPoints() [1/2]

OdResult OdDbSectionSymbol::setSectionPoints ( const OdGePoint3dArray & pts)

Sets section points.

Parameters
pts[in] Section points to set.
Returns
eOk - if successful, corresponding error type - otherwise.

◆ setSectionPoints() [2/2]

OdResult OdDbSectionSymbol::setSectionPoints ( const OdGePoint3dArray & pts,
const OdGeDoubleArray & bulges )

Sets section points.

Parameters
pts[in] Section points to set.
bulges[in] Bulges to set.
Returns
eOk - if successful, corresponding error type - otherwise.
Remarks
Currently is not implemented.

◆ setViewDirectionLeft()

void OdDbSectionSymbol::setViewDirectionLeft ( bool bLeft)

◆ subSetDatabaseDefaults()

virtual void OdDbSectionSymbol::subSetDatabaseDefaults ( OdDbDatabase * pDb,
bool doSubents )
protectedvirtual

Called by setDatabaseDefaults() after the values are set.

Parameters
pDb[in] Pointer to the database whose default values are to be used.
doSubents[in] Set to true if subentities should be processed
Remarks
If pDb is null, the database containing this entity is used.

This function allows custom classes to inspect and modify the values set by setDatabaseDefaults.

The default implementation of this function returns eNotApplicable. This function can be overridden in custom classes.

Remarks
This function is not intended to be called by the user.

Reimplemented from OdDbViewSymbol.

◆ subTransformBy()

virtual OdResult OdDbSectionSymbol::subTransformBy ( const OdGeMatrix3d & xfm)
protectedvirtual

Reimplemented from OdDbViewSymbol.

◆ subWorldDraw()

virtual bool OdDbSectionSymbol::subWorldDraw ( OdGiWorldDraw * pWorldDraw) const
protectedvirtual

Reimplemented from OdDbViewSymbol.


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