CFx SDK Documentation
2020SP3
|
Go to the documentation of this file.
25 #ifndef _OdDbSection_h_Included_
26 #define _OdDbSection_h_Included_
58 kSectionLineTop = 0x02,
59 kSectionLineBottom = 0x04,
62 kBackLineBottom = 0x20,
63 kVerticalLineTop = 0x40,
64 kVerticalLineBottom = 0x80
69 kHeightAboveSectionLine = 0x1,
70 kHeightBelowSectionLine = 0x2
173 bool bIsSetProperties)
const;
207 kIntersectionBoundary = 0x1,
208 kIntersectionFill = 0x2,
209 kBackgroundGeometry = 0x4,
210 kForegroundGeometry = 0x8,
211 kCurveTangencyLines = 0x10
216 kSourceAllObjects = 0x1,
217 kSourceSelectedObjects = 0x2,
219 kDestinationNewBlock = 0x10,
220 kDestinationReplaceBlock = 0x20,
221 kDestinationFile = 0x40
354 #endif //_OdDbSection_h_Included_
void enableLiveSection(bool bEnable)
void setName(const OdString &pszName)
bool hatchVisibility(OdDbSectionSettings::SectionType nSecType, OdDbSectionSettings::Geometry nGeometry) const
bool hiddenLine(OdDbSectionSettings::SectionType nSecType, OdDbSectionSettings::Geometry nGeometry) const
int faceTransparency(OdDbSectionSettings::SectionType nSecType, OdDbSectionSettings::Geometry nGeometry) const
virtual void dwgOutFields(OdDbDwgFiler *pFiler) const
OdResult setVertex(int nIndex, const OdGePoint3d &pt)
const OdString getName() const
void setLayer(OdDbSectionSettings::SectionType nSecType, OdDbSectionSettings::Geometry nGeometry, const OdString &pszLayer)
OdString linetype(OdDbSectionSettings::SectionType nSecType, OdDbSectionSettings::Geometry nGeometry) const
void setColor(OdDbSectionSettings::SectionType nSecType, OdDbSectionSettings::Geometry nGeometry, const OdCmColor &color)
OdResult generateSectionGeometry(OdDbEntity *pEnt, OdArray< OdDbEntityPtr > &intBoundaryEnts, OdArray< OdDbEntityPtr > &intFillEnts, OdArray< OdDbEntityPtr > &backgroundEnts, OdArray< OdDbEntityPtr > &foregroundEnts, OdArray< OdDbEntityPtr > &curveTangencyEnts) const
OdResult setVerticalDirection(const OdGeVector3d &dir)
virtual OdResult dwgInFields(OdDbDwgFiler *pFiler)
double bottomPlane() const
OdSmartPtr< OdDbSection > OdDbSectionPtr
OdResult setHeight(OdDbSection::Height nHeightType, double fHeight)
void setFaceTransparency(OdDbSectionSettings::SectionType nSecType, OdDbSectionSettings::Geometry nGeometry, int nTransparency)
void setIndicatorFillColor(const OdCmColor &color)
void setEdgeTransparency(OdDbSectionSettings::SectionType nSecType, OdDbSectionSettings::Geometry nGeometry, int nTransparency)
double sectionPlaneOffset() const
void setHatchVisibility(OdDbSectionSettings::SectionType nSecType, OdDbSectionSettings::Geometry nGeometry, bool bVisible)
double linetypeScale(OdDbSectionSettings::SectionType nSecType, OdDbSectionSettings::Geometry nGeometry) const
void setDestinationBlock(OdDbSectionSettings::SectionType nSecType, const OdDbObjectId &id)
void setLinetype(OdDbSectionSettings::SectionType nSecType, OdDbSectionSettings::Geometry nGeometry, const OdString &pszLinetype)
void setVisibility(OdDbSectionSettings::SectionType nSecType, OdDbSectionSettings::Geometry nGeometry, bool bVisible)
OdDbSectionSettingsPtr getSettings(OdDb::OpenMode mode) const
virtual void subViewportDraw(OdGiViewportDraw *pVd) const
OdString layer(OdDbSectionSettings::SectionType nSecType, OdDbSectionSettings::Geometry nGeometry) const
OdGeVector3d normal() const
void setLinetypeScale(OdDbSectionSettings::SectionType nSecType, OdDbSectionSettings::Geometry nGeometry, double fScale)
virtual bool subWorldDraw(OdGiWorldDraw *pWd) const
OdResult setBottomPlane(double)
void setSourceObjects(OdDbSectionSettings::SectionType nSecType, const OdDbObjectIdArray &ids)
ODDB_DECLARE_MEMBERS(OdDbSection)
bool divisionLines(OdDbSectionSettings::SectionType nSecType, OdDbSectionSettings::Geometry nGeometry) const
double height(OdDbSection::Height nHeightType) const
@ kNone
Light mode is inherited from the annotation.
void getVertices(OdGePoint3dArray &pts) const
OdResult setVertices(const OdGePoint3dArray &pts)
OdString plotStyleName(OdDbSectionSettings::SectionType nSecType, OdDbSectionSettings::Geometry nGeometry) const
virtual OdResult subGetTransformedCopy(const OdGeMatrix3d &mat, OdDbEntityPtr &pCopy) const
OdResult setSectionPlaneOffset(double offset)
void getName(OdString &sName) const
OdResult setTopPlane(double)
OdResult setViewingDirection(const OdGeVector3d &dir)
void setGenerationOptions(OdDbSectionSettings::SectionType nSecType, OdDbSectionSettings::Generation nOptions)
void setHiddenLine(OdDbSectionSettings::SectionType nSecType, OdDbSectionSettings::Geometry nGeometry, bool bHiddenLine)
OdResult plane(OdGeVector3d &uAxis, OdGeVector3d &vAxis) const
OdDbSectionSettings::SectionType currentSectionType() const
OdResult generateSectionGeometry(OdDbEntity *pEnt, OdArray< OdDbEntityPtr > &intBoundaryEnts, OdArray< OdDbEntityPtr > &intFillEnts, OdArray< OdDbEntityPtr > &backgroundEnts, OdArray< OdDbEntityPtr > &foregroundEnts, OdArray< OdDbEntityPtr > &curveTangencyEnts, bool bIsSetProperties) const
OdResult addVertex(int nInsertAt, const OdGePoint3d &pt)
virtual OdResult subGetClassID(void *pClsid) const
OdResult setThicknesDepth(double depth)
const OdString destinationFile(OdDbSectionSettings::SectionType nSecType) const
virtual OdResult subGetClassID(void *pClsid) const
OdCmColor indicatorFillColor() const
OdDbObjectId destinationBlock(OdDbSectionSettings::SectionType nSecType) const
virtual OdResult subTransformBy(const OdGeMatrix3d &xform)
OdGeVector3d verticalDirection() const
void setHatchPattern(OdDbSectionSettings::SectionType nSecType, OdDbSectionSettings::Geometry nGeometry, OdDbHatch::HatchPatternType nPatternType, const OdString &pszPatternName)
OdDb::LineWeight lineWeight(OdDbSectionSettings::SectionType nSecType, OdDbSectionSettings::Geometry nGeometry) const
void getSourceObjects(OdDbSectionSettings::SectionType nSecType, OdDbObjectIdArray &ids) const
virtual void dwgOutFields(OdDbDwgFiler *pFiler) const
ODDB_DECLARE_MEMBERS(OdDbSectionSettings)
bool visibility(OdDbSectionSettings::SectionType nSecType, OdDbSectionSettings::Geometry nGeometry) const
void setHatchSpacing(OdDbSectionSettings::SectionType nSecType, OdDbSectionSettings::Geometry nGeometry, double fSpacing)
void setIndicatorTransparency(int nTransparency)
void setState(OdDbSection::State nState)
void getHatchPattern(OdDbSectionSettings::SectionType nSecType, OdDbSectionSettings::Geometry nGeometry, OdDbHatch::HatchPatternType &nPatternType, OdString &pszPatternName) const
virtual OdResult dwgInFields(OdDbDwgFiler *pFiler)
OdSmartPtr< OdDbSectionSettings > OdDbSectionSettingsPtr
double hatchAngle(OdDbSectionSettings::SectionType nSecType, OdDbSectionSettings::Geometry nGeometry) const
OdResult removeVertex(int nIndex)
void setLineWeight(OdDbSectionSettings::SectionType nSecType, OdDbSectionSettings::Geometry nGeometry, OdDb::LineWeight nLineWeight)
virtual void dxfOutFields(OdDbDxfFiler *pFiler) const
void setDestinationFile(OdDbSectionSettings::SectionType nSecType, const OdString &pszFileName)
static OdDbSectionPtr createObject(const OdGePoint3dArray &pts, const OdGeVector3d &verticalDir)
double hatchScale(OdDbSectionSettings::SectionType nSecType, OdDbSectionSettings::Geometry nGeometry) const
void reset(OdDbSectionSettings::SectionType nSecType)
double thicknesDepth() const
OdDbObjectId getSettings() const
bool isLiveSectionEnabled() const
OdCmColor color(OdDbSectionSettings::SectionType nSecType, OdDbSectionSettings::Geometry nGeometry) const
void setDivisionLines(OdDbSectionSettings::SectionType nSecType, OdDbSectionSettings::Geometry nGeometry, bool bShow)
OdDbSection::State state() const
void setHatchAngle(OdDbSectionSettings::SectionType nSecType, OdDbSectionSettings::Geometry nGeometry, double fAngle)
virtual void dxfOutFields(OdDbDxfFiler *pFiler) const
void setCurrentSectionType(OdDbSectionSettings::SectionType nSecType)
virtual OdResult dxfInFields(OdDbDxfFiler *pFiler)
OdResult createJog(const OdGePoint3d &ptOnSection)
double hatchSpacing(OdDbSectionSettings::SectionType nSecType, OdDbSectionSettings::Geometry nGeometry) const
void setPlotStyleName(OdDbSectionSettings::SectionType nSecType, OdDbSectionSettings::Geometry nGeometry, const OdString &pszPlotStyleName)
virtual OdResult dxfInFields(OdDbDxfFiler *pFiler)
OdResult setElevation(double)
OdResult getVertex(int nIndex, OdGePoint3d &pt) const
void setHatchScale(OdDbSectionSettings::SectionType nSecType, OdDbSectionSettings::Geometry nGeometry, double fScale)
OdGeVector3d viewingDirection() const
OdResult setIsSlice(bool bIsSlice)
static OdDbSectionPtr createObject(const OdGePoint3dArray &pts, const OdGeVector3d &verticalDir, const OdGeVector3d &vecViewingDir)
int edgeTransparency(OdDbSectionSettings::SectionType nSecType, OdDbSectionSettings::Geometry nGeometry) const
OdDbSectionSettings::Generation generationOptions(OdDbSectionSettings::SectionType nSecType) const
int indicatorTransparency() const