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
 
OdSmartPtr< OdDbSectionSettings > OdDbSectionSettingsPtr
 
OdSmartPtr< OdDbSection > OdDbSectionPtr
 
virtual OdResult dwgInFields(OdDbDwgFiler *pFiler)
 
void setIndicatorTransparency(int nTransparency)
 
virtual bool subWorldDraw(OdGiWorldDraw *pWd) const
 
OdResult setIsSlice(bool bIsSlice)
 
OdResult setTopPlane(double)
 
OdDbSection::State state() const
 
OdResult setHeight(OdDbSection::Height nHeightType, double fHeight)
 
OdResult plane(OdGeVector3d &uAxis, OdGeVector3d &vAxis) const
 
static OdDbSectionPtr createObject(const OdGePoint3dArray &pts, const OdGeVector3d &verticalDir)
 
OdResult setVertex(int nIndex, const OdGePoint3d &pt)
 
int indicatorTransparency() const
 
OdResult generateSectionGeometry(OdDbEntity *pEnt, OdArray< OdDbEntityPtr > &intBoundaryEnts, OdArray< OdDbEntityPtr > &intFillEnts, OdArray< OdDbEntityPtr > &backgroundEnts, OdArray< OdDbEntityPtr > &foregroundEnts, OdArray< OdDbEntityPtr > &curveTangencyEnts) const
 
void getName(OdString &sName) const
 
ODDB_DECLARE_MEMBERS(OdDbSection)
 
OdGeVector3d viewingDirection() const
 
OdResult addVertex(int nInsertAt, const OdGePoint3d &pt)
 
OdGeVector3d verticalDirection() const
 
void setState(OdDbSection::State nState)
 
OdResult setThicknesDepth(double depth)
 
const OdString getName() const
 
virtual OdResult dxfInFields(OdDbDxfFiler *pFiler)
 
OdResult setSectionPlaneOffset(double offset)
 
OdResult setBottomPlane(double)
 
OdResult setViewingDirection(const OdGeVector3d &dir)
 
double thicknesDepth() const
 
void getVertices(OdGePoint3dArray &pts) const
 
bool isLiveSectionEnabled() const
 
OdCmColor indicatorFillColor() const
 
void setName(const OdString &pszName)
 
OdResult removeVertex(int nIndex)
 
double height(OdDbSection::Height nHeightType) const
 
double bottomPlane() const
 
virtual OdResult subTransformBy(const OdGeMatrix3d &xform)
 
OdResult setVertices(const OdGePoint3dArray &pts)
 
virtual void subViewportDraw(OdGiViewportDraw *pVd) const
 
virtual void dwgOutFields(OdDbDwgFiler *pFiler) const
 
OdGeVector3d normal() const
 
OdResult getVertex(int nIndex, OdGePoint3d &pt) const
 
void enableLiveSection(bool bEnable)
 
OdResult generateSectionGeometry(OdDbEntity *pEnt, OdArray< OdDbEntityPtr > &intBoundaryEnts, OdArray< OdDbEntityPtr > &intFillEnts, OdArray< OdDbEntityPtr > &backgroundEnts, OdArray< OdDbEntityPtr > &foregroundEnts, OdArray< OdDbEntityPtr > &curveTangencyEnts, bool bIsSetProperties) const
 
OdDbObjectId getSettings() const
 
OdResult setElevation(double)
 
void setIndicatorFillColor(const OdCmColor &color)
 
virtual OdResult subGetTransformedCopy(const OdGeMatrix3d &mat, OdDbEntityPtr &pCopy) const
 
static OdDbSectionPtr createObject(const OdGePoint3dArray &pts, const OdGeVector3d &verticalDir, const OdGeVector3d &vecViewingDir)
 
virtual OdResult subGetClassID(void *pClsid) const
 
double sectionPlaneOffset() const
 
OdDbSectionSettingsPtr getSettings(OdDb::OpenMode mode) const
 
OdResult createJog(const OdGePoint3d &ptOnSection)
 
virtual void dxfOutFields(OdDbDxfFiler *pFiler) const
 
OdResult setVerticalDirection(const OdGeVector3d &dir)
 
double linetypeScale(OdDbSectionSettings::SectionType nSecType, OdDbSectionSettings::Geometry nGeometry) const
 
double hatchAngle(OdDbSectionSettings::SectionType nSecType, OdDbSectionSettings::Geometry nGeometry) const
 
OdString layer(OdDbSectionSettings::SectionType nSecType, OdDbSectionSettings::Geometry nGeometry) const
 
bool visibility(OdDbSectionSettings::SectionType nSecType, OdDbSectionSettings::Geometry nGeometry) const
 
virtual void dwgOutFields(OdDbDwgFiler *pFiler) const
 
OdDbSectionSettings::SectionType currentSectionType() const
 
void setLinetype(OdDbSectionSettings::SectionType nSecType, OdDbSectionSettings::Geometry nGeometry, const OdString &pszLinetype)
 
int edgeTransparency(OdDbSectionSettings::SectionType nSecType, OdDbSectionSettings::Geometry nGeometry) const
 
void setGenerationOptions(OdDbSectionSettings::SectionType nSecType, OdDbSectionSettings::Generation nOptions)
 
void setSourceObjects(OdDbSectionSettings::SectionType nSecType, const OdDbObjectIdArray &ids)
 
OdDbObjectId destinationBlock(OdDbSectionSettings::SectionType nSecType) const
 
void setDestinationBlock(OdDbSectionSettings::SectionType nSecType, const OdDbObjectId &id)
 
OdString linetype(OdDbSectionSettings::SectionType nSecType, OdDbSectionSettings::Geometry nGeometry) const
 
void setDestinationFile(OdDbSectionSettings::SectionType nSecType, const OdString &pszFileName)
 
int faceTransparency(OdDbSectionSettings::SectionType nSecType, OdDbSectionSettings::Geometry nGeometry) const
 
void setLayer(OdDbSectionSettings::SectionType nSecType, OdDbSectionSettings::Geometry nGeometry, const OdString &pszLayer)
 
void reset(OdDbSectionSettings::SectionType nSecType)
 
void setHatchPattern(OdDbSectionSettings::SectionType nSecType, OdDbSectionSettings::Geometry nGeometry, OdDbHatch::HatchPatternType nPatternType, const OdString &pszPatternName)
 
const OdString destinationFile(OdDbSectionSettings::SectionType nSecType) const
 
bool hiddenLine(OdDbSectionSettings::SectionType nSecType, OdDbSectionSettings::Geometry nGeometry) const
 
void setHatchScale(OdDbSectionSettings::SectionType nSecType, OdDbSectionSettings::Geometry nGeometry, double fScale)
 
bool hatchVisibility(OdDbSectionSettings::SectionType nSecType, OdDbSectionSettings::Geometry nGeometry) const
 
virtual void dxfOutFields(OdDbDxfFiler *pFiler) const
 
void setFaceTransparency(OdDbSectionSettings::SectionType nSecType, OdDbSectionSettings::Geometry nGeometry, int nTransparency)
 
OdCmColor color(OdDbSectionSettings::SectionType nSecType, OdDbSectionSettings::Geometry nGeometry) const
 
OdString plotStyleName(OdDbSectionSettings::SectionType nSecType, OdDbSectionSettings::Geometry nGeometry) const
 
void setHiddenLine(OdDbSectionSettings::SectionType nSecType, OdDbSectionSettings::Geometry nGeometry, bool bHiddenLine)
 
void getSourceObjects(OdDbSectionSettings::SectionType nSecType, OdDbObjectIdArray &ids) const
 
void setDivisionLines(OdDbSectionSettings::SectionType nSecType, OdDbSectionSettings::Geometry nGeometry, bool bShow)
 
void setHatchSpacing(OdDbSectionSettings::SectionType nSecType, OdDbSectionSettings::Geometry nGeometry, double fSpacing)
 
void setLinetypeScale(OdDbSectionSettings::SectionType nSecType, OdDbSectionSettings::Geometry nGeometry, double fScale)
 
void setEdgeTransparency(OdDbSectionSettings::SectionType nSecType, OdDbSectionSettings::Geometry nGeometry, int nTransparency)
 
void getHatchPattern(OdDbSectionSettings::SectionType nSecType, OdDbSectionSettings::Geometry nGeometry, OdDbHatch::HatchPatternType &nPatternType, OdString &pszPatternName) const
 
bool divisionLines(OdDbSectionSettings::SectionType nSecType, OdDbSectionSettings::Geometry nGeometry) const
 
void setVisibility(OdDbSectionSettings::SectionType nSecType, OdDbSectionSettings::Geometry nGeometry, bool bVisible)
 
OdDb::LineWeight lineWeight(OdDbSectionSettings::SectionType nSecType, OdDbSectionSettings::Geometry nGeometry) const
 
void setLineWeight(OdDbSectionSettings::SectionType nSecType, OdDbSectionSettings::Geometry nGeometry, OdDb::LineWeight nLineWeight)
 
void setHatchVisibility(OdDbSectionSettings::SectionType nSecType, OdDbSectionSettings::Geometry nGeometry, bool bVisible)
 
virtual OdResult subGetClassID(void *pClsid) const
 
double hatchSpacing(OdDbSectionSettings::SectionType nSecType, OdDbSectionSettings::Geometry nGeometry) const
 
void setColor(OdDbSectionSettings::SectionType nSecType, OdDbSectionSettings::Geometry nGeometry, const OdCmColor &color)
 
double hatchScale(OdDbSectionSettings::SectionType nSecType, OdDbSectionSettings::Geometry nGeometry) const
 
ODDB_DECLARE_MEMBERS(OdDbSectionSettings)
 
virtual OdResult dwgInFields(OdDbDwgFiler *pFiler)
 
OdDbSectionSettings::Generation generationOptions(OdDbSectionSettings::SectionType nSecType) const
 
void setHatchAngle(OdDbSectionSettings::SectionType nSecType, OdDbSectionSettings::Geometry nGeometry, double fAngle)
 
void setCurrentSectionType(OdDbSectionSettings::SectionType nSecType)
 
virtual OdResult dxfInFields(OdDbDxfFiler *pFiler)
 
void setPlotStyleName(OdDbSectionSettings::SectionType nSecType, OdDbSectionSettings::Geometry nGeometry, const OdString &pszPlotStyleName)
 
@ kNone
Light mode is inherited from the annotation.