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

#include <DbSectionViewStyle.h>

Inheritance diagram for OdDbSectionViewStyle:
OdDbModelDocViewStyle OdDbObject OdGiDrawable OdRxObject

Public Types

enum  IdentifierPosition {
  kEndCuttingPlane = 0 , kAboveDirectionArrowLine = 1 , kAboveDirectionArrowSymbol = 2 , kStartDirectionArrow = 3 ,
  kEndDirectionArrow = 4
}
 
enum  ArrowDirection { kTowardsCuttingPlane = 0 , kAwayFromCuttingPlane = 1 }
 
- Public Types inherited from OdDbModelDocViewStyle
enum  AttachmentPoint { kAboveView = 0 , kBelowView = 1 }
 
enum  TextAlignment { kTextAlignmentLeft = 0 , kTextAlignmentCenter = 1 , kTextAlignmentRight = 2 }
 
- 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
}
 

Public Member Functions

 ODDB_DECLARE_MEMBERS (OdDbSectionViewStyle)
 
 OdDbSectionViewStyle ()
 
 ~OdDbSectionViewStyle ()
 
OdDbObjectId identifierStyleId () const
 
OdResult setIdentifierStyleId (const OdDbObjectId &objId)
 
OdCmColor identifierColor () const
 
OdResult setIdentifierColor (const OdCmColor &color)
 
double identifierHeight () const
 
OdResult setIdentifierHeight (double height)
 
OdString identifierExcludeCharacters () const
 
OdResult setIdentifierExcludeCharacters (const OdString &str)
 
OdDbObjectId arrowStartSymbolId () const
 
OdResult setArrowStartSymbolId (const OdDbObjectId &arrowSymbolId)
 
OdDbObjectId arrowEndSymbolId () const
 
OdResult setArrowEndSymbolId (const OdDbObjectId &arrowSymbolId)
 
OdCmColor arrowSymbolColor () const
 
OdResult setArrowSymbolColor (const OdCmColor &color)
 
double arrowSymbolSize () const
 
OdResult setArrowSymbolSize (double size)
 
double arrowSymbolExtensionLength () const
 
OdResult setArrowSymbolExtensionLength (double length)
 
OdDb::LineWeight planeLineWeight () const
 
OdResult setPlaneLineWeight (OdDb::LineWeight lineweight)
 
OdCmColor planeLineColor () const
 
OdResult setPlaneLineColor (const OdCmColor &color)
 
OdDbObjectId planeLineTypeId () const
 
OdResult setPlaneLineTypeId (const OdDbObjectId &objId)
 
OdCmColor bendLineColor () const
 
OdResult setBendLineColor (const OdCmColor &color)
 
OdDb::LineWeight bendLineWeight () const
 
OdResult setBendLineWeight (OdDb::LineWeight lineweight)
 
OdDbObjectId bendLineTypeId () const
 
OdResult setBendLineTypeId (const OdDbObjectId &objId)
 
double bendLineLength () const
 
OdResult setBendLineLength (double length)
 
double endLineLength () const
 
OdResult setEndLineLength (double length)
 
OdDbObjectId viewLabelTextStyleId () const
 
OdResult setViewLabelTextStyleId (const OdDbObjectId &objId)
 
OdCmColor viewLabelTextColor () const
 
OdResult setViewLabelTextColor (const OdCmColor &color)
 
double viewLabelTextHeight () const
 
OdResult setViewLabelTextHeight (double height)
 
double viewLabelOffset () const
 
OdResult setViewLabelOffset (double offset)
 
OdDbModelDocViewStyle::AttachmentPoint viewLabelAttachment () const
 
OdResult setViewLabelAttachment (OdDbModelDocViewStyle::AttachmentPoint attachment)
 
OdDbModelDocViewStyle::TextAlignment viewLabelAlignment () const
 
OdResult setViewLabelAlignment (OdDbModelDocViewStyle::TextAlignment alignment)
 
OdString viewLabelPattern () const
 
OdString getViewLabelPattern (OdDbField *pField=NULL) const
 
OdResult setViewLabelPattern (const OdString &pattern, const OdDbField *pField=NULL)
 
OdString hatchPattern () const
 
OdResult setHatchPattern (const OdString &pattern)
 
OdCmColor hatchColor () const
 
OdResult setHatchColor (const OdCmColor &color)
 
OdCmColor hatchBackgroundColor () const
 
OdResult setHatchBackgroundColor (const OdCmColor &color)
 
double hatchScale () const
 
OdResult setHatchScale (double scale)
 
const OdGeDoubleArrayhatchAngles () const
 
OdResult setHatchAngles (const OdGeDoubleArray &angleArray)
 
OdResult setHatchTransparency (const OdCmTransparency &transparency)
 
OdCmTransparency hatchTransparency () const
 
bool isContinuousLabeling () const
 
OdResult setContinuousLabeling (bool bValue)
 
bool showArrowheads () const
 
OdResult setShowArrowheads (bool bValue)
 
bool showViewLabel () const
 
OdResult setShowViewLabel (bool bValue)
 
bool showAllPlaneLines () const
 
OdResult setShowAllPlaneLines (bool bValue)
 
bool showAllBendIndentifiers () const
 
OdResult setShowAllBendIndentifiers (bool bValue)
 
bool showEndAndBendLines () const
 
OdResult setShowEndAndBendLines (bool bValue)
 
bool showHatching () const
 
OdResult setShowHatching (bool bValue)
 
OdDbSectionViewStyle::IdentifierPosition viewIdentifierPosition () const
 ‍**
 
OdResult setViewIdentifierPosition (OdDbSectionViewStyle::IdentifierPosition type)
 
double viewIdentifierOffset () const
 
OdResult setViewIdentifierOffset (double offset)
 
OdDbSectionViewStyle::ArrowDirection arrowPosition () const
 
OdResult setArrowPosition (OdDbSectionViewStyle::ArrowDirection type)
 
double endLineOvershoot () const
 
OdResult setEndLineOvershoot (double length)
 
virtual OdDbObjectId postViewStyleToDb (OdDbDatabase *pDb, const OdString &styleName)
 
- Public Member Functions inherited from OdDbModelDocViewStyle
 ODDB_DECLARE_MEMBERS (OdDbModelDocViewStyle)
 
virtual ~OdDbModelDocViewStyle ()=0
 
virtual OdString getName () const
 
virtual void setName (const OdString &name)
 
virtual OdString description () const
 
virtual void setDescription (const OdString &description)
 
virtual void setDatabaseDefaults (OdDbDatabase *pDb)
 
virtual OdDbObjectId postViewStyleToDb (OdDbDatabase *pDb, const OdString &styleName)=0
 
bool isModifiedForRecompute () const
 
OdString defaultViewName (int index) const
 
bool isViewNameValid (const OdString &name) const
 
OdString getDisplayName () const
 ‍**
 
OdResult setDispayName (const OdString &name)
 
bool canRename () const
 
OdResult setCanRename (bool canRename)
 
- Public Member Functions inherited from OdDbObject
 ODDB_DECLARE_MEMBERS (OdDbObject)
 
 ~OdDbObject ()
 
void addRef ()
 
void release ()
 
long numRefs () const
 
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 OdResult subOpen (OdDb::OpenMode mode)
 
virtual void subClose ()
 
OdResult erase (bool eraseIt=true)
 
virtual OdResult subErase (bool erasing)
 
void handOverTo (OdDbObject *pNewObject, bool keepXData=true, bool keepExtDict=true)
 
virtual void subHandOverTo (OdDbObject *pNewObject)
 
void swapIdWith (OdDbObjectId otherId, bool swapXdata=false, bool swapExtDict=false)
 
virtual void subSwapIdWith (const OdDbObjectId &otherId, bool swapXdata=false, bool swapExtDict=false)
 
virtual void audit (OdDbAuditInfo *pAuditInfo)
 
void dwgIn (OdDbDwgFiler *pFiler)
 
void dwgOut (OdDbDwgFiler *pFiler) const
 
virtual OdResult dxfIn (OdDbDxfFiler *pFiler)
 
virtual void dxfOut (OdDbDxfFiler *pFiler) const
 
virtual OdResult dwgInFields (OdDbDwgFiler *pFiler)
 
virtual void dwgOutFields (OdDbDwgFiler *pFiler) const
 
virtual OdResult dxfInFields (OdDbDxfFiler *pFiler)
 
virtual void dxfOutFields (OdDbDxfFiler *pFiler) const
 
virtual OdResult dxfInFields_R12 (OdDbDxfFiler *pFiler)
 
virtual void dxfOutFields_R12 (OdDbDxfFiler *pFiler) const
 
virtual OdDb::DuplicateRecordCloning mergeStyle () const
 
virtual OdResBufPtr xData (const OdString &regappName=OdString::kEmpty) const
 
virtual void setXData (const OdResBuf *pRb)
 
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 ()
 
virtual void applyPartialUndo (OdDbDwgFiler *pUndoFiler, OdRxClass *pClassObj)
 
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_SEALED
 
ODRX_SEALED_VIRTUAL OdDbObjectPtr wblockClone (OdDbIdMapping &idMap, OdDbObject *pOwner, bool bPrimary=true) const ODRX_SEALED
 
virtual void appendToOwner (OdDbIdPair &idPair, OdDbObject *pOwnerObject, OdDbIdMapping &idMap)
 
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 modified (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)
 
virtual void copyFrom (const OdRxObject *pSource)
 
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 OdGiDrawabledrawable ()
 
virtual OdUInt32 subSetAttributes (OdGiDrawableTraits *pTraits) const
 
virtual bool subWorldDraw (OdGiWorldDraw *pWd) const
 
virtual void subViewportDraw (OdGiViewportDraw *pVd) const
 
virtual bool isPersistent () const
 
virtual OdDbStub * id () const
 
ODRX_SEALED_VIRTUAL OdResult getClassID (void *pClsid) const ODRX_SEALED
 
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_SEALED
 
ODRX_SEALED_VIRTUAL bool worldDraw (OdGiWorldDraw *pWd) const ODRX_SEALED
 
ODRX_SEALED_VIRTUAL void viewportDraw (OdGiViewportDraw *pVd) const ODRX_SEALED
 
virtual bool isPersistent () const =0
 
virtual OdDbStub * id () const =0
 
virtual void setGsNode (OdGsCache *pGsNode)=0
 
virtual OdGsCachegsNode () const =0
 
ODRX_SEALED_VIRTUAL OdUInt32 viewportDrawLogicalFlags (OdGiViewportDraw *pVd) const ODRX_SEALED
 
virtual OdResult getGeomExtents (OdGeExtents3d &extents) const
 
ODRX_SEALED_VIRTUAL OdUInt32 regenSupportFlags () const ODRX_SEALED
 
- 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
 

Protected Member Functions

virtual OdResult dwgInFields (OdDbDwgFiler *pFiler)
 
virtual void dwgOutFields (OdDbDwgFiler *pFiler) const
 
virtual OdResult dxfInFields (OdDbDxfFiler *pFiler)
 
virtual void dxfOutFields (OdDbDxfFiler *pFiler) const
 
virtual OdDbObjectPtr subWblockClone (OdDbIdMapping &idMap, OdDbObject *pOwner, bool isPrimary=true) const
 
- Protected Member Functions inherited from OdDbModelDocViewStyle
 OdDbModelDocViewStyle ()
 
virtual OdResult dwgInFields (OdDbDwgFiler *pFiler)
 
virtual void dwgOutFields (OdDbDwgFiler *pFiler) const
 
virtual OdResult dxfInFields (OdDbDxfFiler *pFiler)
 
virtual void dxfOutFields (OdDbDxfFiler *pFiler) const
 
- Protected Member Functions inherited from OdDbObject
 OdDbObject ()
 
virtual OdResult subGetClassID (void *pClsid) const
 
virtual OdDbObjectPtr subDeepClone (OdDbIdMapping &ownerIdMap, OdDbObject *pOwner, bool bPrimary) const
 
virtual OdDbObjectPtr subWblockClone (OdDbIdMapping &ownerIdMap, OdDbObject *pOwner, bool bPrimary) const
 
- Protected Member Functions inherited from OdGiDrawable
 OdGiDrawable ()
 
virtual OdUInt32 subSetAttributes (OdGiDrawableTraits *traits) const =0
 
virtual bool subWorldDraw (OdGiWorldDraw *wd) const =0
 
virtual void subViewportDraw (OdGiViewportDraw *vd) const =0
 
virtual OdUInt32 subViewportDrawLogicalFlags (OdGiViewportDraw *vd) const
 
virtual OdUInt32 subRegenSupportFlags () const
 

Additional Inherited Members

- Static Public Member Functions inherited from OdRxObject
static OdRxObjectPtr cast (const OdRxObject *pointer)
 
static OdRxClassdesc ()
 
- Protected Types inherited from OdDbModelDocViewStyle
enum  { kCanRename = 1 }
 
- Protected Attributes inherited from OdDbObject
OdDbObjectImplm_pImpl
 

Detailed Description

This class represents detail view style objects.

Corresponding C++ library: TD_Db <group OdDb_Classes>

Definition at line 38 of file DbSectionViewStyle.h.

Member Enumeration Documentation

◆ ArrowDirection

Defines section view symbol arrowhead direction.

Enumerator
kTowardsCuttingPlane 
kAwayFromCuttingPlane 

Definition at line 57 of file DbSectionViewStyle.h.

◆ IdentifierPosition

Defines identifier position types.

Enumerator
kEndCuttingPlane 
kAboveDirectionArrowLine 
kAboveDirectionArrowSymbol 
kStartDirectionArrow 
kEndDirectionArrow 

Definition at line 46 of file DbSectionViewStyle.h.

Constructor & Destructor Documentation

◆ OdDbSectionViewStyle()

OdDbSectionViewStyle::OdDbSectionViewStyle ( )

Default constructor. Creates an OdDbSectionViewStyle instance.

◆ ~OdDbSectionViewStyle()

OdDbSectionViewStyle::~OdDbSectionViewStyle ( )

Member Function Documentation

◆ arrowEndSymbolId()

OdDbObjectId OdDbSectionViewStyle::arrowEndSymbolId ( ) const

Returns the object ID of the arrow end symbol.

◆ arrowPosition()

OdDbSectionViewStyle::ArrowDirection OdDbSectionViewStyle::arrowPosition ( ) const

Returns arrow position type for this OdDbSectionViewStyle object as an OdDbSectionViewStyle::ArrowDirection value.

◆ arrowStartSymbolId()

OdDbObjectId OdDbSectionViewStyle::arrowStartSymbolId ( ) const

Returns the object ID of the arrow start symbol.

◆ arrowSymbolColor()

OdCmColor OdDbSectionViewStyle::arrowSymbolColor ( ) const

Returns the arrow symbol's color.

◆ arrowSymbolExtensionLength()

double OdDbSectionViewStyle::arrowSymbolExtensionLength ( ) const

Returns the arrow symbol's extension length.

◆ arrowSymbolSize()

double OdDbSectionViewStyle::arrowSymbolSize ( ) const

Returns the arrow symbol's size.

◆ bendLineColor()

OdCmColor OdDbSectionViewStyle::bendLineColor ( ) const

Returns the bend line's color.

◆ bendLineLength()

double OdDbSectionViewStyle::bendLineLength ( ) const

Returns the bend line's length.

◆ bendLineTypeId()

OdDbObjectId OdDbSectionViewStyle::bendLineTypeId ( ) const

Returns the object ID of the bend line's linetype.

◆ bendLineWeight()

OdDb::LineWeight OdDbSectionViewStyle::bendLineWeight ( ) const

Returns the bend line's lineweight.

◆ dwgInFields()

virtual OdResult OdDbSectionViewStyle::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 OdDbModelDocViewStyle.

◆ dwgOutFields()

virtual void OdDbSectionViewStyle::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 OdDbModelDocViewStyle.

◆ dxfInFields()

virtual OdResult OdDbSectionViewStyle::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 OdDbModelDocViewStyle.

◆ dxfOutFields()

virtual void OdDbSectionViewStyle::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 OdDbModelDocViewStyle.

◆ endLineLength()

double OdDbSectionViewStyle::endLineLength ( ) const

Returns the end line's length.

◆ endLineOvershoot()

double OdDbSectionViewStyle::endLineOvershoot ( ) const

Returns the end line's overshoot value.

◆ getViewLabelPattern()

OdString OdDbSectionViewStyle::getViewLabelPattern ( OdDbField pField = NULL) const

Returns the view label's pattern.

pField (Optional) If the pattern uses fields, they are copied 'pField'.

Returns
Pattern of the view label.

◆ hatchAngles()

const OdGeDoubleArray & OdDbSectionViewStyle::hatchAngles ( ) const

Returns the hatch's angle array as a pointer to an OdGeDoubleArray object.

◆ hatchBackgroundColor()

OdCmColor OdDbSectionViewStyle::hatchBackgroundColor ( ) const

Returns the hatch's background color.

◆ hatchColor()

OdCmColor OdDbSectionViewStyle::hatchColor ( ) const

Returns the hatch's color.

◆ hatchPattern()

OdString OdDbSectionViewStyle::hatchPattern ( ) const

Returns the hatch pattern.

◆ hatchScale()

double OdDbSectionViewStyle::hatchScale ( ) const

Returns the hatch's scale.

◆ hatchTransparency()

OdCmTransparency OdDbSectionViewStyle::hatchTransparency ( ) const

Returns the hatch's transparency as an OdCmTransparency object.

◆ identifierColor()

OdCmColor OdDbSectionViewStyle::identifierColor ( ) const

Returns the identifier's color.

◆ identifierExcludeCharacters()

OdString OdDbSectionViewStyle::identifierExcludeCharacters ( ) const

Returns the excluded characters that are specified for the identifier.

◆ identifierHeight()

double OdDbSectionViewStyle::identifierHeight ( ) const

Returns the identifier's height.

◆ identifierStyleId()

OdDbObjectId OdDbSectionViewStyle::identifierStyleId ( ) const

Returns the object ID of the style assigned to the identifier.

◆ isContinuousLabeling()

bool OdDbSectionViewStyle::isContinuousLabeling ( ) const

Returns whether continuous labeling is enabled.

◆ ODDB_DECLARE_MEMBERS()

OdDbSectionViewStyle::ODDB_DECLARE_MEMBERS ( OdDbSectionViewStyle  )

◆ planeLineColor()

OdCmColor OdDbSectionViewStyle::planeLineColor ( ) const

Returns the plane line's color.

◆ planeLineTypeId()

OdDbObjectId OdDbSectionViewStyle::planeLineTypeId ( ) const

Returns the object ID of the plane line's linetype.

◆ planeLineWeight()

OdDb::LineWeight OdDbSectionViewStyle::planeLineWeight ( ) const

Returns the plane line's lineweight.

◆ postViewStyleToDb()

virtual OdDbObjectId OdDbSectionViewStyle::postViewStyleToDb ( OdDbDatabase pDb,
const OdString styleName 
)
virtual

Includes this view style object in a OdDbDatabase object.

Parameters
pDb[in] Pointer of the database to receive the OdDbModelDocViewStyle object.
styleName[in] Name of the view style.
Returns
Returns the OdDbObjectID of the newly added OdDbModelDocViewStyle object.

Implements OdDbModelDocViewStyle.

◆ setArrowEndSymbolId()

OdResult OdDbSectionViewStyle::setArrowEndSymbolId ( const OdDbObjectId arrowSymbolId)

Sets the arrow end symbol to use a specified block.

◆ setArrowPosition()

OdResult OdDbSectionViewStyle::setArrowPosition ( OdDbSectionViewStyle::ArrowDirection  type)

Sets section view symbol arrowhead direction for this OdDbSectionViewStyle object.

Parameters
type[in] Arrowhead direction.
Returns
eOk if successful.

◆ setArrowStartSymbolId()

OdResult OdDbSectionViewStyle::setArrowStartSymbolId ( const OdDbObjectId arrowSymbolId)

Sets the arrow start symbol to use a specified block.

◆ setArrowSymbolColor()

OdResult OdDbSectionViewStyle::setArrowSymbolColor ( const OdCmColor color)

Sets the arrow symbol's color.

◆ setArrowSymbolExtensionLength()

OdResult OdDbSectionViewStyle::setArrowSymbolExtensionLength ( double  length)

Sets the arrow symbol's extension length.

◆ setArrowSymbolSize()

OdResult OdDbSectionViewStyle::setArrowSymbolSize ( double  size)

Sets the arrow symbol's size.

◆ setBendLineColor()

OdResult OdDbSectionViewStyle::setBendLineColor ( const OdCmColor color)

Sets the bend line's color.

◆ setBendLineLength()

OdResult OdDbSectionViewStyle::setBendLineLength ( double  length)

Sets the bend line's length.

◆ setBendLineTypeId()

OdResult OdDbSectionViewStyle::setBendLineTypeId ( const OdDbObjectId objId)

Sets the bend line's linetype.

◆ setBendLineWeight()

OdResult OdDbSectionViewStyle::setBendLineWeight ( OdDb::LineWeight  lineweight)

Sets the bend line's lineweight.

◆ setContinuousLabeling()

OdResult OdDbSectionViewStyle::setContinuousLabeling ( bool  bValue)

Sets whether continuous labeling is enabled or disabled.

Parameters
bValue[in] True if continuous labeling is to be enabled, false otherwise.
Returns
eOk if successful.

◆ setEndLineLength()

OdResult OdDbSectionViewStyle::setEndLineLength ( double  length)

Sets the end line's length.

◆ setEndLineOvershoot()

OdResult OdDbSectionViewStyle::setEndLineOvershoot ( double  length)

Sets the end line's overshoot value.

Parameters
length[in] Line's overshoot length.
Returns
eOk if successful.

◆ setHatchAngles()

OdResult OdDbSectionViewStyle::setHatchAngles ( const OdGeDoubleArray angleArray)

Sets the hatch's angle array.

Parameters
angleArray[in] Array of doubles to set hatch's angles used by section views.
Returns
eOk if successful.
Remarks
Angles are set in radians. At least one angle value must be present in the array. The first element is used by the first section view component, the second element is used by the second component and so on. If the component number is more than the array size then the sequence is cycled.

◆ setHatchBackgroundColor()

OdResult OdDbSectionViewStyle::setHatchBackgroundColor ( const OdCmColor color)

Sets the hatch's background color.

◆ setHatchColor()

OdResult OdDbSectionViewStyle::setHatchColor ( const OdCmColor color)

Sets the hatch's color.

◆ setHatchPattern()

OdResult OdDbSectionViewStyle::setHatchPattern ( const OdString pattern)

Sets the hatch pattern.

◆ setHatchScale()

OdResult OdDbSectionViewStyle::setHatchScale ( double  scale)

Sets the hatch's scale.

◆ setHatchTransparency()

OdResult OdDbSectionViewStyle::setHatchTransparency ( const OdCmTransparency transparency)

Sets the hatch's transparency.

Parameters
transparency[in] Transparency object to set hatch's transparency.
Returns
eOk if successful.

◆ setIdentifierColor()

OdResult OdDbSectionViewStyle::setIdentifierColor ( const OdCmColor color)

Sets the identifier's color.

◆ setIdentifierExcludeCharacters()

OdResult OdDbSectionViewStyle::setIdentifierExcludeCharacters ( const OdString str)

Sets the characters to exclude for the identifier.

str Characters to exclude, each separated by a comma.

Returns
eOk if successful or eInvalidInput if incorrect format or invalid characters.

◆ setIdentifierHeight()

OdResult OdDbSectionViewStyle::setIdentifierHeight ( double  height)

Sets the identifier's height.

◆ setIdentifierStyleId()

OdResult OdDbSectionViewStyle::setIdentifierStyleId ( const OdDbObjectId objId)

Sets the identifier's text style.

ObjectId The ID of the text style for the identifier.

\returns
OdDb::eOk if successful.

◆ setPlaneLineColor()

OdResult OdDbSectionViewStyle::setPlaneLineColor ( const OdCmColor color)

Sets the plane line's color.

◆ setPlaneLineTypeId()

OdResult OdDbSectionViewStyle::setPlaneLineTypeId ( const OdDbObjectId objId)

Sets the plane line's linetype according to the linetype's object ID.

◆ setPlaneLineWeight()

OdResult OdDbSectionViewStyle::setPlaneLineWeight ( OdDb::LineWeight  lineweight)

Sets the plane line's lineweight.

◆ setShowAllBendIndentifiers()

OdResult OdDbSectionViewStyle::setShowAllBendIndentifiers ( bool  bValue)

Sets whether identifiers at all bends are shown or not.

Parameters
bValue[in] True if identifiers at all bends are to be shown, false otherwise.
Returns
eOk if successful.

◆ setShowAllPlaneLines()

OdResult OdDbSectionViewStyle::setShowAllPlaneLines ( bool  bValue)

Sets whether plane lines are shown or not.

Parameters
bValue[in] True if plane lines are to be shown, false otherwise.
Returns
eOk if successful.

◆ setShowArrowheads()

OdResult OdDbSectionViewStyle::setShowArrowheads ( bool  bValue)

Sets whether arrowheads are shown or not.

Parameters
bValue[in] True if arrowheads are to be shown, false otherwise.
Returns
eOk if successful.

◆ setShowEndAndBendLines()

OdResult OdDbSectionViewStyle::setShowEndAndBendLines ( bool  bValue)

Sets whether end lines and bend lines are shown or not.

Parameters
bValue[in] True if end lines and bend lines are to be shown, false otherwise.
Returns
eOk if successful.

◆ setShowHatching()

OdResult OdDbSectionViewStyle::setShowHatching ( bool  bValue)

Sets whether hatches are shown or not.

Parameters
bValue[in] True if hatches are to be shown, false otherwise.
Returns
eOk if successful.

◆ setShowViewLabel()

OdResult OdDbSectionViewStyle::setShowViewLabel ( bool  bValue)

Sets whether view labels are shown or not.

Parameters
bValue[in] True if view labels are to be shown, false otherwise.
Returns
eOk if successful.

◆ setViewIdentifierOffset()

OdResult OdDbSectionViewStyle::setViewIdentifierOffset ( double  offset)

Sets view identifier offset.

Parameters
offset[in] View identifier offset.
Returns
eOk if successful.

◆ setViewIdentifierPosition()

OdResult OdDbSectionViewStyle::setViewIdentifierPosition ( OdDbSectionViewStyle::IdentifierPosition  type)

Sets view identifier position type.

Parameters
type[in] Identifier position type.
Returns
eOk if successful.

◆ setViewLabelAlignment()

OdResult OdDbSectionViewStyle::setViewLabelAlignment ( OdDbModelDocViewStyle::TextAlignment  alignment)

Sets the view label's text alignment.

◆ setViewLabelAttachment()

OdResult OdDbSectionViewStyle::setViewLabelAttachment ( OdDbModelDocViewStyle::AttachmentPoint  attachment)

Sets the view label's attachment point.

◆ setViewLabelOffset()

OdResult OdDbSectionViewStyle::setViewLabelOffset ( double  offset)

Sets the view label's offset.

◆ setViewLabelPattern()

OdResult OdDbSectionViewStyle::setViewLabelPattern ( const OdString pattern,
const OdDbField pField = NULL 
)

Sets the view label's pattern.

pattern Pattern to assign to the view label. pField (Optional) Specify a field to assign the pattern from the field (instead of the pattern itself).

Returns
OdDb::eOk if successful.

◆ setViewLabelTextColor()

OdResult OdDbSectionViewStyle::setViewLabelTextColor ( const OdCmColor color)

Sets the view label's color.

◆ setViewLabelTextHeight()

OdResult OdDbSectionViewStyle::setViewLabelTextHeight ( double  height)

Sets the view label's text height.

◆ setViewLabelTextStyleId()

OdResult OdDbSectionViewStyle::setViewLabelTextStyleId ( const OdDbObjectId objId)

Sets the view label's text style.

◆ showAllBendIndentifiers()

bool OdDbSectionViewStyle::showAllBendIndentifiers ( ) const

Returns whether identifiers at all bends of the cutting plane lines display.

◆ showAllPlaneLines()

bool OdDbSectionViewStyle::showAllPlaneLines ( ) const

Returns whether plane lines display.

◆ showArrowheads()

bool OdDbSectionViewStyle::showArrowheads ( ) const

Returns whether arrowheads display.

◆ showEndAndBendLines()

bool OdDbSectionViewStyle::showEndAndBendLines ( ) const

Returns whether end lines and bend lines display.

◆ showHatching()

bool OdDbSectionViewStyle::showHatching ( ) const

Returns whether hatches display.

◆ showViewLabel()

bool OdDbSectionViewStyle::showViewLabel ( ) const

Returns whether view labels display.

◆ subWblockClone()

virtual OdDbObjectPtr OdDbSectionViewStyle::subWblockClone ( OdDbIdMapping idMap,
OdDbObject pOwner,
bool  isPrimary = true 
) const
protectedvirtual

Reimplemented from OdDbObject.

◆ viewIdentifierOffset()

double OdDbSectionViewStyle::viewIdentifierOffset ( ) const

Returns view identifier offset as a double value.

◆ viewIdentifierPosition()

OdDbSectionViewStyle::IdentifierPosition OdDbSectionViewStyle::viewIdentifierPosition ( ) const

‍**

Returns view identifier position as an OdDbSectionViewStyle::IdentifierPosition value.

◆ viewLabelAlignment()

OdDbModelDocViewStyle::TextAlignment OdDbSectionViewStyle::viewLabelAlignment ( ) const

Returns the view label's text alignment.

◆ viewLabelAttachment()

OdDbModelDocViewStyle::AttachmentPoint OdDbSectionViewStyle::viewLabelAttachment ( ) const

Returns the view label's attachment point.

◆ viewLabelOffset()

double OdDbSectionViewStyle::viewLabelOffset ( ) const

Returns the view label's offset.

◆ viewLabelPattern()

OdString OdDbSectionViewStyle::viewLabelPattern ( ) const

Returns the view label's pattern.

◆ viewLabelTextColor()

OdCmColor OdDbSectionViewStyle::viewLabelTextColor ( ) const

Returns the view label's color.

◆ viewLabelTextHeight()

double OdDbSectionViewStyle::viewLabelTextHeight ( ) const

Returns the view label's text height.

◆ viewLabelTextStyleId()

OdDbObjectId OdDbSectionViewStyle::viewLabelTextStyleId ( ) const

Returns the object ID of the view label's text style.


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