34#define MAX_LEADER_NUMBER 5000
35#define MAX_LEADERLINE_NUMBER 5000
474 bool bAutoSwitchDogleg =
true);
537 int& leaderLineIndex);
550 int& leaderLineIndex);
561 int leaderLineIndex);
581 int leaderLineIndex);
635 int leaderLineIndex);
713 int& leaderIndex) const;
877 double dDoglegLength);
885 int leaderIndex) const;
1218 void* pContextDataManager);
1288 int leaderLineIndex,
1297 int leaderLineIndex) const;
1364 int leaderLineIndex) const;
1447 int leaderLineIndex,
1456 int leaderLineIndex)
const;
1469 int leaderLineIndex,
1478 int leaderLineIndex)
const;
1491 int leaderLineIndex,
1500 int leaderLineIndex)
const;
1513 int leaderLineIndex,
1522 int leaderLineIndex)
const;
1535 int leaderLineIndex,
1544 int leaderLineIndex)
const;
OdSmartPtr< OdDbAttribute > OdDbAttributePtr
OdSmartPtr< OdDbEntity > OdDbEntityPtr
OdSmartPtr< OdDbMLeader > OdDbMLeaderPtr
#define MAX_LEADERLINE_NUMBER
OdSmartPtr< OdDbMLeaderRecomputePE > OdDbMLeaderRecomputePEPtr
DBDIM_EXPORT void fxMLeaderRecompute(OdDbMLeader *pMLeader)
#define MAX_LEADER_NUMBER
OdSmartPtr< OdDbMText > OdDbMTextPtr
OdSmartPtr< OdDbObject > OdDbObjectPtr
OdArray< OdDbFullSubentPath > OdDbFullSubentPathArray
OdArray< OdGsMarker, OdMemoryAllocator< OdGsMarker > > OdGsMarkerArray
OdArray< OdDbObjectId, OdClrMemAllocator< OdDbObjectId > > OdDbObjectIdArray
OdArray< int, OdMemoryAllocator< int > > OdIntArray
OdArray< OdRxObjectPtr > OdRxObjectPtrArray
OdDbObjectId blockId() const
void setArrowSize(double arrowSize)
OdCmColor leaderLineColor(int leaderLineIndex) const
OdResult getContentGeomExtents(OdGeExtents3d &extents) const
OdDb::LineWeight leaderLineWeight(int leaderLineIndex) const
void getVertex(int leaderLineIndex, int index, OdGePoint3d &point) const
OdDbObjectId MLeaderStyle() const
void setDoglegDirection(int leaderIndex, const OdGeVector3d &vector)
void setPlane(const OdGePlane &plane)
virtual OdResult dwgInFields(OdDbDwgFiler *filer) ODRX_OVERRIDE
virtual OdDbEntityPtr subSubentPtr(const OdDbFullSubentPath &path) const ODRX_OVERRIDE
void removeLeaderLine(int leaderLineIndex)
bool isOverride(PropertyOverrideType propertyType) const
OdDbObjectId blockContentId() const
virtual OdResult subGetSubentPathsAtGsMarker(OdDb::SubentType type, OdGsMarker gsMark, const OdGePoint3d &pickPoint, const OdGeMatrix3d &xfm, OdDbFullSubentPathArray &subentPaths, const OdDbObjectIdArray *pEntAndInsertStack=0) const ODRX_OVERRIDE
OdDbMLeaderStyle::TextAngleType textAngleType() const
virtual OdResult subGetGeomExtents(OdGeExtents3d &extents) const ODRX_OVERRIDE
OdResult removeFirstVertex(int leaderLineIndex)
void setLeaderLineWeight(int leaderLineIndex, OdDb::LineWeight leaderLineWeight)
void setLeaderLineColor(int leaderLineIndex, const OdCmColor &leaderLineColor)
OdDbMLeaderStyle::LeaderType leaderLineType(int leaderLineIndex) const
OdResult setLastVertex(int leaderLineIndex, const OdGePoint3d &point)
OdResult numVertices(int leaderLineIndex, int &num) const
void setEnableLanding(bool enableLanding)
ODDB_DECLARE_MEMBERS(OdDbMLeader)
bool enableFrameText() const
OdCmColor textColor() const
virtual OdResult subGetGsMarkersAtSubentPath(const OdDbFullSubentPath &subPath, OdGsMarkerArray &gsMarkers) const ODRX_OVERRIDE
double blockRotation() const
void getTextLocation(OdGePoint3d &location) const
virtual void dxfOutFields(OdDbDxfFiler *filer) const ODRX_OVERRIDE
void getDoglegDirection(int leaderIndex, OdGeVector3d &vector) const
@ kMoveContentAndDoglegPoints
@ kMoveAllExceptArrowHeaderPoints
void setBlockPosition(const OdGePoint3d &position)
OdDbMLeaderStyle::LeaderType leaderLineType() const
void setTextLocation(const OdGePoint3d &location)
void setLeaderLineColor(const OdCmColor &leaderLineColor)
void setBlockColor(const OdCmColor &blockColor)
OdResult setToleranceLocation(const OdGePoint3d &location)
virtual bool subWorldDraw(OdGiWorldDraw *pWd) const ODRX_OVERRIDE
double landingGap() const
@ kTextRightAttachmentType
@ kTextBottomAttachmentType
@ kTextSwitchAlignmentType
@ kTextLeftAttachmentType
@ kTextAttachmentDirection
OdResult recomputeBreakPoints()
void setBlockContentId(OdDbObjectId blockId)
virtual OdResult subMoveGripPointsAt(const OdIntArray &indices, const OdGeVector3d &offset)
OdCmColor blockColor() const
virtual OdResult subGetTransformedCopy(const OdGeMatrix3d &xform, OdDbEntityPtr &pEnt) const
OdGeScale3d blockScale() const
OdDbObjectId leaderLineTypeId() const
void setEnableDogleg(bool enableDogleg)
void setTextHeight(double textHeight)
void setTextAlignmentType(OdDbMLeaderStyle::TextAlignmentType textAlignmentType)
OdResult addLeaderLine(int leaderIndex, int &leaderLineIndex)
void getBlockPosition(OdGePoint3d &position) const
OdResult updateLeaderLinePosition()
OdResult updateContentScale(OdDbMLeaderObjectContextData *pContext)
OdResult setScale(double scale)
void setArrowSize(int leaderLineIndex, double arrowSize)
double doglegLength(int leaderIndex) const
void setLeaderLineType(int leaderLineIndex, OdDbMLeaderStyle::LeaderType leaderLineType)
bool extendLeaderToText() const
void setArrowSymbolId(OdDbObjectId arrowSymbolId)
virtual bool isPlanar() const ODRX_OVERRIDE
void setBlockConnectionType(OdDbMLeaderStyle::BlockConnectionType blockConnectionType)
void setTextColor(const OdCmColor &textColor)
void setLeaderLineWeight(OdDb::LineWeight leaderLineWeight)
virtual OdResult dxfInFields(OdDbDxfFiler *filer) ODRX_OVERRIDE
virtual OdResult subExplode(OdRxObjectPtrArray &entitySet) const ODRX_OVERRIDE
void setLeaderLineTypeId(OdDbObjectId leaderLineTypeId)
void setLandingGap(double landingGap)
void setLeaderLineTypeId(int leaderLineIndex, OdDbObjectId leaderLineTypeId)
OdResult setBlockAttributeValue(OdDbObjectId attdefId, const OdDbAttribute *pAtt)
void setContentType(OdDbMLeaderStyle::ContentType contentType)
double textHeight() const
OdDbMTextPtr mtext() const
OdResult getLastVertex(int leaderLineIndex, OdGePoint3d &point) const
void setEnableAnnotationScale(bool enableAnnotationScale)
OdResult removeLastVertex(int leaderLineIndex)
bool enableAnnotationScale() const
OdDbObjectId arrowSymbolId() const
void setTextAttachmentDirection(OdDbMLeaderStyle::TextAttachmentDirection direction)
OdResult getBlockAttributeValue(OdDbObjectId attdefId, OdDbAttributePtr &pAtt) const
virtual OdDbObjectPtr subDeepClone(OdDbIdMapping &ownerIdMap, OdDbObject *pObj, bool bPrimary) const ODRX_OVERRIDE
void setBlockScale(const OdGeScale3d &scale)
virtual void modified(const OdDbObject *pObj) ODRX_OVERRIDE
OdDbMLeaderStyle::BlockConnectionType blockConnectionType() const
OdResult addFirstVertex(int leaderLineIndex, const OdGePoint3d &point)
bool isOverride(int leaderLineIndex, LeaderLineOverrideType value)
OdResult setFirstVertex(int leaderLineIndex, const OdGePoint3d &point)
virtual void subSetDatabaseDefaults(OdDbDatabase *pDb, bool doSubents) ODRX_OVERRIDE
void setBlockRotation(double rotation)
void setTextAttachmentType(OdDbMLeaderStyle::TextAttachmentType textAttachmentType, OdDbMLeaderStyle::LeaderDirectionType leaderDirection)
virtual void dwgOutFields(OdDbDwgFiler *filer) const ODRX_OVERRIDE
OdResult setContextDataManager(void *pContextDataManager)
void setMText(const OdDbMText *pMText)
void removeLeader(int leaderIndex)
OdResult addLastVertex(int leaderLineIndex, const OdGePoint3d &point)
OdResult setVertex(int leaderLineIndex, int index, const OdGePoint3d &point)
OdResult getToleranceLocation(OdGePoint3d &location) const
void setLeaderLineType(OdDbMLeaderStyle::LeaderType leaderLineType)
virtual void copyFrom(const OdRxObject *pSource)
bool enableDogleg() const
virtual void subClose() ODRX_OVERRIDE
virtual OdDbObjectPtr subWblockClone(OdDbIdMapping &ownerIdMap, OdDbObject *pObj, bool bPrimary) const ODRX_OVERRIDE
virtual void subViewportDraw(OdGiViewportDraw *mode) const ODRX_OVERRIDE
OdResult postMLeaderToDb(OdDbDatabase *pDb)
virtual OdUInt32 subSetAttributes(OdGiDrawableTraits *pTraits) const ODRX_OVERRIDE
void setTextStyleId(OdDbObjectId textStyleId)
OdResult removeLeaderLineRefAssoc(int leaderLineIndex) const
OdDbMLeaderStyle::TextAlignmentType textAlignmentType() const
OdDbMLeaderStyle::TextAttachmentType textAttachmentType(OdDbMLeaderStyle::LeaderDirectionType leaderDirection) const
void setOverride(PropertyOverrideType propertyType, bool isOverride=true)
void getLeaderIndex(int leaderLineIndex, int &leaderIndex) const
void setExtendLeaderToText(bool bSet)
virtual OdResult subDeleteSubentPaths(const OdDbFullSubentPathArray &paths) ODRX_OVERRIDE
OdResult getOverridedMLeaderStyle(OdDbMLeaderStyle &mleaderStyle) const
OdResult moveMLeader(const OdGeVector3d &vector, MoveType moveType, bool bAutoSwitchDogleg=true)
void setEnableFrameText(bool enableFrameText)
void setDoglegLength(int leaderIndex, double dDoglegLength)
OdDb::LineWeight leaderLineWeight() const
OdResult getFirstVertex(int leaderLineIndex, OdGePoint3d &point) const
virtual OdResult getPlane(OdGePlane &plane, OdDb::Planarity &planarity) const ODRX_OVERRIDE
OdGeVector3d normal() const
void getLeaderIndexes(OdIntArray &leaderIndexes) const
void setMLeaderStyle(OdDbObjectId newStyleId)
OdCmColor leaderLineColor() const
int numLeaderLines() const
void getLeaderLineIndexes(OdIntArray &leaderLineIndexes) const
void addLeader(int &leaderIndex)
virtual OdResult subGetClassID(void *pClsid) const ODRX_OVERRIDE
void * getContextDataManager() const
OdDbObjectId textStyleId() const
virtual OdResult subTransformBy(const OdGeMatrix3d &xform) ODRX_OVERRIDE
OdDbMLeaderStyle::ContentType contentType() const
OdResult connectionPoint(const OdGeVector3d &vect, OdGePoint3d &point) const
OdDbMLeaderStyle::TextAttachmentDirection textAttachmentDirection() const
bool enableLanding() const
OdDbObjectId leaderLineTypeId(int leaderLineIndex) const
double arrowSize(int leaderLineIndex) const
void setTextAngleType(OdDbMLeaderStyle::TextAngleType textAngleType)
virtual OdResult recomputeBreakPoints(OdDbMLeader *pMLeader)=0
ODRX_DECLARE_MEMBERS(OdDbMLeaderRecomputePE)
GLuint GLsizei GLsizei GLint GLenum * type
GLsizei const GLfloat * value