CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
DbShHistory.h
Go to the documentation of this file.
1
2// Copyright (C) 2002-2022, 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 Open Design Alliance software pursuant to a license
16// agreement with Open Design Alliance.
17// Open Design Alliance Copyright (C) 2002-2022 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>
31#include "DbLoftOptions.h"
32#include "DbRevolveOptions.h"
33#include "DbSweepOptions.h"
34
40{
41public:
43
44 //OdDbShHistory(OdDbShHistory const &)
46 virtual ~OdDbShHistory();
47
48 virtual OdResult dwgInFields( OdDbDwgFiler* pFiler );
49 virtual void dwgOutFields( OdDbDwgFiler* pFiler ) const;
50 virtual OdResult dxfInFields( OdDbDxfFiler* pFiler );
51 virtual void dxfOutFields( OdDbDxfFiler* pFiler ) const;
59 virtual bool subWorldDraw(OdGiWorldDraw* pWd) const;
60
61 virtual OdResult setShowHistory( bool bShowhistory );
62 virtual bool showHistory() const;
63 virtual int numNodes() const;
64
65 virtual OdResult setRecordHistory( bool bRecordHistory );
66 virtual bool recordHistory() const;
67
68 virtual void clearHistory();
71
72 virtual OdResult createBox( double dXLen, double dYLen, double dZLen/*, BODY*&*/);
73 //virtual OdResult createBrep(OdCmColor const &, OdDbObjectId,void *)
74 virtual OdResult createFrustum( double dHeight, double dXRadius, double dYRadius, double dTopXRadius/*, BODY*&*/);
75 virtual OdResult createSphere( double dRadius/*, BODY * &*/);
76 virtual OdResult createTorus( double dMajorRadius, double dMinorRadius/*, BODY * &*/);
77 virtual OdResult createWedge( double dXLen, double dYLen, double dZLen/*, BODY * &*/);
78 virtual OdResult createPyramid( double dHeight, int iSides, double dRadius, double dTopRadius/*, BODY * &*/);
79
80 virtual OdResult setSubentColor( const OdDbSubentId &subentId, const OdCmColor &color );
81 virtual OdResult setSubentMaterial( const OdDbSubentId &subentId, OdDbObjectId matId );
82
83 virtual OdResult createLoftedSolid(OdDbEntityPtrArray& crossSections, OdDbEntityPtrArray& guideCurves, OdDbEntity* pPathCurve, OdDbLoftOptions& loftOpt/*, BODY*&*/);
84 virtual OdResult createRevolvedSolid(OdDbEntity* pRevolveCurve, const OdGePoint3d& axisPoint, const OdGeVector3d& axisDir, double dAngleOfRevolution, double dStartAngle, OdDbRevolveOptions& revolveOpt/*, BODY*&*/);
85 virtual OdResult createSweptSolid(OdDbEntity* pSweepCurve, OdDbEntity* pPathCurve, const OdGeVector3d& directioVector, OdDbSweepOptions& sweepOpt/*, BODY * &*/);
86 //OdDbShBrep
87 virtual OdResult booleanOper( OdDbShHistory* pSecondEll, OdDb::BoolOperType operation );
88
89 virtual OdResult postInDatabase(OdDbObjectId& objId, OdDbDatabase* pDatabase);
90 virtual OdResult subTransformBy( const OdGeMatrix3d& xform );
91 virtual OdResult filletEdges(const OdArray<OdDbSubentId *> &edgeSubentIds, const OdGeDoubleArray& radius, const OdGeDoubleArray& startSetback, const OdGeDoubleArray& endSetback);
92 virtual OdResult chamferEdges(const OdArray<OdDbSubentId*>& edgeSubentIds, const OdDbSubentId & baseFaceSubentId, double baseDist, double otherDist);
93};
94
99
100#include "TD_PackPop.h"
101
102#endif
103
OdSmartPtr< OdDbShHistory > OdDbShHistoryPtr
Definition: DbShHistory.h:98
OdResult
Definition: OdResult.h:29
#define DB3DSOLIDHISTORY_EXPORT
virtual OdResult createWedge(double dXLen, double dYLen, double dZLen)
virtual void dwgOutFields(OdDbDwgFiler *pFiler) const
virtual bool subWorldDraw(OdGiWorldDraw *pWd) const
virtual OdResult createPyramid(double dHeight, int iSides, double dRadius, double dTopRadius)
virtual OdResult postInDatabase(OdDbObjectId &objId, OdDbDatabase *pDatabase)
virtual int numNodes() const
virtual OdResult filletEdges(const OdArray< OdDbSubentId * > &edgeSubentIds, const OdGeDoubleArray &radius, const OdGeDoubleArray &startSetback, const OdGeDoubleArray &endSetback)
virtual OdResult createSweptSolid(OdDbEntity *pSweepCurve, OdDbEntity *pPathCurve, const OdGeVector3d &directioVector, OdDbSweepOptions &sweepOpt)
virtual OdResult setRecordHistory(bool bRecordHistory)
virtual OdResult setSubentColor(const OdDbSubentId &subentId, const OdCmColor &color)
ODDB_DECLARE_MEMBERS(OdDbShHistory)
virtual ~OdDbShHistory()
virtual OdResult createRevolvedSolid(OdDbEntity *pRevolveCurve, const OdGePoint3d &axisPoint, const OdGeVector3d &axisDir, double dAngleOfRevolution, double dStartAngle, OdDbRevolveOptions &revolveOpt)
virtual void clearHistory()
virtual OdResult createLoftedSolid(OdDbEntityPtrArray &crossSections, OdDbEntityPtrArray &guideCurves, OdDbEntity *pPathCurve, OdDbLoftOptions &loftOpt)
virtual OdResult chamferEdges(const OdArray< OdDbSubentId * > &edgeSubentIds, const OdDbSubentId &baseFaceSubentId, double baseDist, double otherDist)
virtual OdResult createTorus(double dMajorRadius, double dMinorRadius)
virtual OdResult createBox(double dXLen, double dYLen, double dZLen)
virtual OdResult createSphere(double dRadius)
virtual OdResult setShowHistory(bool bShowhistory)
virtual OdResult setSubentMaterial(const OdDbSubentId &subentId, OdDbObjectId matId)
virtual OdResult dwgInFields(OdDbDwgFiler *pFiler)
virtual OdResult purgeGraph()
virtual OdResult dxfInFields(OdDbDxfFiler *pFiler)
virtual void dxfOutFields(OdDbDxfFiler *pFiler) const
virtual bool showHistory() const
virtual OdResult getGraph(OdDbObjectId &)
virtual OdResult subTransformBy(const OdGeMatrix3d &xform)
virtual bool recordHistory() const
virtual OdResult booleanOper(OdDbShHistory *pSecondEll, OdDb::BoolOperType operation)
virtual OdResult createFrustum(double dHeight, double dXRadius, double dYRadius, double dTopXRadius)
BoolOperType
Definition: ModelerDefs.h:158