CFx SDK Documentation 2026 SP0
Loading...
Searching...
No Matches
RxSketchObject.h
Go to the documentation of this file.
1
2// Copyright (C) 2002-2024, 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-2024 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 ODRXSKETCHOBJECT_H_
25#define ODRXSKETCHOBJECT_H_
26
27#include "RxObject.h"
28#include "ModelDocObjExports.h"
29
31
34class MODELDOCOBJ_EXPORT OdRxSketchObject : public OdRxObject
35{
36protected:
38public:
42
43 //enum OdSySketchObjValidateStatus {};
44 //OdResult restoreEntity() const;
45 //OdDbObjectId getConstraintGroup() const;
46 //OdResult exportGeometry(OdArray<OdGeCurve3d*>&) const;
47 //OdResult getGeometry(OdArray<OdGeCurve3d*>&) const;
48 //bool hasEntity(OdDbObjectId) const;
49 //void addEntities(const OdDbObjectIdArray &);
50 //OdResult getEntities(OdDbObjectIdArray&) const;
51 //bool repair();
52 //enum OdRxSketchObject::OdSySketchObjValidateStatus validate() const;
53 //OdRxSketchManager* owningSketchManager();
54 //const OdRxSketchManager* owningSketchManager() const;
55 //void setConstraintGroupWorkplane(const OdGePlane&);
56 //void transform(const OdGeMatrix3d&);
57 //OdDbObjectId sketchBlkRefId() const;
58 unsigned short sketchTag() const;
59 void setTag(unsigned short tag);
60
67
69 virtual void dwgOutFields(OdDbDwgFiler* pFiler) const;
71 virtual void dxfOutFields(OdDbDxfFiler* pFiler) const;
72
73protected:
74 //void deActivate();
75 //void activate();
76 //void cleanUp();
77 //void setOwner(OdRxSketchManager* manager);
78
79 class OdRxSketchObjectImpl* m_pImpObj;
80};
81
86
99
104
108{
109public:
111
114
115 // Currently not implemented methods:
127 //OdResult inferConstraints(const OdGePoint3d&, enum OdDbPointRef::OsnapType, const OdArray<OdDbFullSubentPath>&) const;
129
130 //protected:
131};
132
137
141{
142public:
144
147
148 virtual void copyFrom(const OdRxObject* pSource);
149
150 //protected:
151};
152
157
170
175
176#endif // ODRXSKETCHOBJECT_H_
#define MODELDOCOBJ_EXPORT
OdResult
Definition OdResult.h:29
OdSmartPtr< OdRxDetailSketch > OdRxDetailSketchPtr
OdSmartPtr< OdRxFreeSketch > OdRxFreeSketchPtr
OdSmartPtr< OdRxSectionSketch > OdRxSectionSketchPtr
OdSmartPtr< OdRxSketchObject > OdRxSketchObjectPtr
OdSmartPtr< OdRxSymbolSketch > OdRxSymbolSketchPtr
virtual ~OdRxDetailSketch()
ODRX_DECLARE_MEMBERS(OdRxDetailSketch)
ODRX_DECLARE_MEMBERS(OdRxFreeSketch)
virtual ~OdRxFreeSketch()
virtual void copyFrom(const OdRxObject *pSource)
virtual ~OdRxSectionSketch()
ODRX_DECLARE_MEMBERS(OdRxSectionSketch)
void setSymbolId(OdDbObjectId)
void setViewRepId(OdDbObjectId)
ODRX_USING_HEAP_OPERATORS(OdRxObject)
virtual OdResult dxfInFields(OdDbDxfFiler *pFiler)
void setTag(unsigned short tag)
virtual ~OdRxSketchObject()
OdDbObjectId getEntityId() const
OdDbObjectId getViewRepId() const
void setEntityId(OdDbObjectId)
virtual OdResult dwgInFields(OdDbDwgFiler *pFiler)
virtual void dwgOutFields(OdDbDwgFiler *pFiler) const
virtual void dxfOutFields(OdDbDxfFiler *pFiler) const
ODRX_DECLARE_MEMBERS(OdRxSketchObject)
OdDbObjectId getSecSymbolId() const
unsigned short sketchTag() const
class OdRxSketchObjectImpl * m_pImpObj
OdResult getConstructionGeometry(OdArray< OdDbObjectId > &) const
virtual ~OdRxSymbolSketch()
OdDbObjectId symbolObjId() const
bool isDefinitionDifferentWithLastEvaluated() const
void setDefinitionEntityId(const OdDbObjectId &)
OdResult createDefinitionConstraints()
void associateSymbolAndDefinition()
OdDbObjectId definitionEntityId() const
ODRX_DECLARE_MEMBERS(OdRxSymbolSketch)
bool isConstructionGeometry(const OdDbEntity &) const
OdResult updateLastEvaluatedDefintionEntity()
OdDbObjectId childViewId() const
void setChildViewId(OdDbObjectId)
void setSymbolObjId(OdDbObjectId)