CFx SDK Documentation  2020SP3
DbShHistory.h
Go to the documentation of this file.
1 // Copyright (C) 2002-2017, Open Design Alliance (the "Alliance").
3 // All rights reserved.
4 //
5 // This software and its documentation and related materials are owned by
6 // the Alliance. The software may only be incorporated into application
7 // programs owned by members of the Alliance, subject to a signed
8 // Membership Agreement and Supplemental Software License Agreement with the
9 // Alliance. The structure and organization of this software are the valuable
10 // trade secrets of the Alliance and its suppliers. The software is also
11 // protected by copyright law and international treaty provisions. Application
12 // programs incorporating this software must include the following statement
13 // with their copyright notices:
14 //
15 // This application incorporates Teigha(R) software pursuant to a license
16 // agreement with Open Design Alliance.
17 // Teigha(R) Copyright (C) 2002-2017 by Open Design Alliance.
18 // All rights reserved.
19 //
20 // By use of this software, its documentation or related materials, you
21 // acknowledge and accept the above terms.
23 
24 #ifndef ODDB_DBSHHISTORY_H
25 #define ODDB_DBSHHISTORY_H
26 
27 #include "TD_PackPush.h"
28 
29 #include <DbObject.h>
30 #include "TD_3DSolidHistoryDef.h"
31 #include "DbLoftOptions.h"
32 #include "DbRevolveOptions.h"
33 #include "DbSweepOptions.h"
34 
42 {
43 public:
45 
46  //OdDbShHistory(OdDbShHistory const &)
48  virtual ~OdDbShHistory();
49 
50  virtual OdResult dwgInFields( OdDbDwgFiler* pFiler );
51  virtual void dwgOutFields( OdDbDwgFiler* pFiler ) const;
52  virtual OdResult dxfInFields( OdDbDxfFiler* pFiler );
53  virtual void dxfOutFields( OdDbDxfFiler* pFiler ) const;
54 
55  virtual OdResult setShowHistory( bool bShowhistory );
56  virtual bool showHistory() const;
57  virtual int numNodes() const;
58 
59  virtual OdResult setRecordHistory( bool bRecordHistory );
60  virtual bool recordHistory() const;
61 
62  virtual void clearHistory();
63  virtual OdResult purgeGraph();
65 
66  virtual OdResult createBox( double dXLen, double dYLen, double dZLen/*, BODY*&*/);
67  //virtual OdResult createBrep(OdCmColor const &, OdDbObjectId,void *)
68  virtual OdResult createFrustum( double dHeight, double dXRadius, double dYRadius, double dTopXRadius/*, BODY*&*/);
69  virtual OdResult createSphere( double dRadius/*, BODY * &*/);
70  virtual OdResult createTorus( double dMajorRadius, double dMinorRadius/*, BODY * &*/);
71  virtual OdResult createWedge( double dXLen, double dYLen, double dZLen/*, BODY * &*/);
72  virtual OdResult createPyramid( double dHeight, int iSides, double dRadius, double dTopRadius/*, BODY * &*/);
73 
74  virtual OdResult setSubentColor( const OdDbSubentId &subentId, const OdCmColor &color );
75  virtual OdResult setSubentMaterial( const OdDbSubentId &subentId, OdDbObjectId matId );
76 
77  virtual OdResult createLoftedSolid(OdDbEntityPtrArray& crossSections, OdDbEntityPtrArray& guideCurves, OdDbEntity* pPathCurve, OdDbLoftOptions& loftOpt/*, BODY*&*/);
78  virtual OdResult createRevolvedSolid(OdDbEntity* pRevolveCurve, const OdGePoint3d& axisPoint, const OdGeVector3d& axisDir, double dAngleOfRevolution, double dStartAngle, OdDbRevolveOptions& revolveOpt/*, BODY*&*/);
79  virtual OdResult createSweptSolid(OdDbEntity* pSweepCurve, OdDbEntity* pPathCurve, const OdGeVector3d& directioVector, OdDbSweepOptions& sweepOpt/*, BODY * &*/);
80  //OdDbShBrep
81  virtual OdResult booleanOper( OdDbShHistory* pSecondEll, OdDb::BoolOperType operation );
82 
83  virtual OdResult postInDatabase(OdDbObjectId& objId, OdDbDatabase* pDatabase);
84  virtual OdResult subTransformBy( const OdGeMatrix3d& xform );
85 };
86 
91 
92 #include "TD_PackPop.h"
93 
94 #endif
95 
OdResult
OdResult
Definition: OdResult.h:29
OdDbShHistory::purgeGraph
virtual OdResult purgeGraph()
OdDbShHistory::createFrustum
virtual OdResult createFrustum(double dHeight, double dXRadius, double dYRadius, double dTopXRadius)
OdGeVector3d
Definition: GeVector3d.h:54
OdDbDatabase
Definition: DbDatabase.h:421
OdDbShHistory::booleanOper
virtual OdResult booleanOper(OdDbShHistory *pSecondEll, OdDb::BoolOperType operation)
OdDbShHistory::postInDatabase
virtual OdResult postInDatabase(OdDbObjectId &objId, OdDbDatabase *pDatabase)
OdDbShHistory::setSubentColor
virtual OdResult setSubentColor(const OdDbSubentId &subentId, const OdCmColor &color)
DbObject.h
OdDbShHistory::setSubentMaterial
virtual OdResult setSubentMaterial(const OdDbSubentId &subentId, OdDbObjectId matId)
OdDbObjectId
Definition: DbObjectId.h:99
DbRevolveOptions.h
OdArray< OdDbEntityPtr >
TD_PackPop.h
OdGeMatrix3d
Definition: GeMatrix3d.h:73
TD_3DSolidHistoryDef.h
OdDbShHistory::ODDB_DECLARE_MEMBERS
ODDB_DECLARE_MEMBERS(OdDbShHistory)
OdDbShHistory::getGraph
virtual OdResult getGraph(OdDbObjectId &)
OdDbShHistory::dwgInFields
virtual OdResult dwgInFields(OdDbDwgFiler *pFiler)
OdDbShHistory::createWedge
virtual OdResult createWedge(double dXLen, double dYLen, double dZLen)
OdSmartPtr
Definition: SmartPtr.h:58
OdGePoint3d
Definition: GePoint3d.h:55
OdDbShHistory::~OdDbShHistory
virtual ~OdDbShHistory()
OdDbShHistory::showHistory
virtual bool showHistory() const
OdDbShHistory::setShowHistory
virtual OdResult setShowHistory(bool bShowhistory)
OdDbRevolveOptions
Definition: DbRevolveOptions.h:41
OdDbShHistory::createSphere
virtual OdResult createSphere(double dRadius)
OdDbShHistory::createTorus
virtual OdResult createTorus(double dMajorRadius, double dMinorRadius)
OdDbShHistory::createSweptSolid
virtual OdResult createSweptSolid(OdDbEntity *pSweepCurve, OdDbEntity *pPathCurve, const OdGeVector3d &directioVector, OdDbSweepOptions &sweepOpt)
DbLoftOptions.h
OdDbDxfFiler
Definition: DbFiler.h:194
OdDbShHistory::createBox
virtual OdResult createBox(double dXLen, double dYLen, double dZLen)
OdDbShHistory::dwgOutFields
virtual void dwgOutFields(OdDbDwgFiler *pFiler) const
TD_PackPush.h
OdDbLoftOptions
Definition: DbLoftOptions.h:41
OdDbShHistory::recordHistory
virtual bool recordHistory() const
OdDbEntity
Definition: DbEntity.h:90
DbSweepOptions.h
OdDbShHistory::numNodes
virtual int numNodes() const
OdDb::BoolOperType
BoolOperType
Definition: ModelerDefs.h:113
OdDbShHistory::OdDbShHistory
OdDbShHistory()
OdDbShHistory::createRevolvedSolid
virtual OdResult createRevolvedSolid(OdDbEntity *pRevolveCurve, const OdGePoint3d &axisPoint, const OdGeVector3d &axisDir, double dAngleOfRevolution, double dStartAngle, OdDbRevolveOptions &revolveOpt)
OdDbShHistory::subTransformBy
virtual OdResult subTransformBy(const OdGeMatrix3d &xform)
OdDbShHistory::setRecordHistory
virtual OdResult setRecordHistory(bool bRecordHistory)
DB3DSOLIDHISTORY_EXPORT
#define DB3DSOLIDHISTORY_EXPORT
Definition: TD_3DSolidHistoryDef.h:32
OdDbShHistory::createLoftedSolid
virtual OdResult createLoftedSolid(OdDbEntityPtrArray &crossSections, OdDbEntityPtrArray &guideCurves, OdDbEntity *pPathCurve, OdDbLoftOptions &loftOpt)
OdDbShHistory::createPyramid
virtual OdResult createPyramid(double dHeight, int iSides, double dRadius, double dTopRadius)
OdDbSweepOptions
Definition: DbSweepOptions.h:41
OdDbShHistory::clearHistory
virtual void clearHistory()
OdDbShHistoryPtr
OdSmartPtr< OdDbShHistory > OdDbShHistoryPtr
Definition: DbShHistory.h:90
OdDbShHistory::dxfOutFields
virtual void dxfOutFields(OdDbDxfFiler *pFiler) const
OdCmColor
Definition: CmColor.h:59
OdDbShHistory
Definition: DbShHistory.h:42
OdDbObject
Definition: DbObject.h:211
OdDbShHistory::dxfInFields
virtual OdResult dxfInFields(OdDbDxfFiler *pFiler)
OdDbDwgFiler
Definition: DbFiler.h:1031
OdDbSubentId
Definition: DbBaseSubentId.h:72