CFx SDK Documentation  2022 SP0
DbBlockGrips.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 _DbBlocksGrips_h_Included_
25 #define _DbBlocksGrips_h_Included_
26 
27 #include "DbEvalGraph.h"
28 #include "DbBlockParameter.h"
29 #include "DbBlockElement.h"
30 #include "DbBlockFlipParameter.h"
31 #include "DbBlockLookUpParameter.h"
32 
41 {
44 };
46 
47 class OdDbGripData;
48 
57 {
58 public:
61  virtual void addedToGraph( OdDbEvalGraph* );
62  virtual void removedFromGraph( OdDbEvalGraph* );
65  void setDisplayLocation(class OdGePoint3d const &);
69  bool insertionCycling() const;
70  void setInsertionCycling(bool);
75  void setUpdatedLocation(class OdGePoint3d const &);
77 };
79 
80 //class OdDbBlockPointParameter;
81 //typedef OdSmartPtr<OdDbBlockPointParameter>OdDbBlockPointParameterPtr;
82 //class OdDbBlockXYParameter
83 //typedef OdSmartPtr<OdDbBlockXYParameter>OdDbBlockXYParameterPtr;
84 
93 {
94 public:
98  void dxfOutFields(OdDbDxfFiler* pFiler) const;
99  //OdDbBlockPointParameterPtr getAssociatedPointParameter( OdDb::OpenMode )
100  //OdDbBlockXYParameterPtr getAssociatedXYParameter( OdDb::OpenMode )
101 };
103 
112 {
113 public:
117  void dxfOutFields(OdDbDxfFiler* pFiler) const;
118  //OdDbBlockPolarParameterPtr getAssociatedPolarParameter( OdDb::OpenMode );
119 };
121 
130 {
131 public:
135  void dxfOutFields(OdDbDxfFiler* pFiler) const;
136  //AcDbBlockRotationParameterPtr AcDbBlockRotationGrip::getAssociatedRotationParameter( OdDb::OpenMode );
137 };
139 
148 {
149 public:
152  //OdDbBlockLinearParameterPtr getAssociatedLinearParameter( OdDb::OpenMode );
154  void setOrientation( const OdGeVector3d& );
155 };
157 
166 {
167 public:
170  //void cycleFlipState();
175  //OdDbBlockFlipParameterPtr getAssociatedFlipParameter( OdDb::OpenMode );
177  void setOrientation( const OdGeVector3d& );
178  virtual void graphEvalEnd(bool);
179 };
181 
190 {
191 public:
195  void dxfOutFields(OdDbDxfFiler* pFiler) const;
196  //OdDbBlockLookUpParameterPtr getAssociatedLookupParameter( OdDb::OpenMode );
197  //void getValueList( OdResBufArray& );
198  //bool showGrip() const;
199 };
201 
210 {
211 public:
214  //OdDbBlockAlignmentParameterPtr getAssociatedAlignmentParameter( OdDb::OpenMode );
217 };
219 
228 {
229 public:
233  void dxfOutFields(OdDbDxfFiler* pFiler) const;
235  //void getValueList( OdResBufArray& );
236  //bool showGrip() const;
237 };
238 
240 
241 #endif // _DbBlocksGrips_h_Included_
#define ODDB_EVAL_DECLARE_MEMBERS(ClassName)
OdSmartPtr< OdDbBlockFlipGrip > OdDbBlockFlipGripPtr
Definition: DbBlockGrips.h:180
OdSmartPtr< OdDbBlockGripExpr > OdDbBlockGripExprPtr
Definition: DbBlockGrips.h:45
OdSmartPtr< OdDbBlockPolarGrip > OdDbBlockPolarGripPtr
Definition: DbBlockGrips.h:120
OdSmartPtr< OdDbBlockAlignmentGrip > OdDbBlockAlignmentGripPtr
Definition: DbBlockGrips.h:218
OdSmartPtr< OdDbBlockGrip > OdDbBlockGripPtr
Definition: DbBlockGrips.h:78
OdSmartPtr< OdDbBlockRotationGrip > OdDbBlockRotationGripPtr
Definition: DbBlockGrips.h:138
OdSmartPtr< OdDbBlockLookupGrip > OdDbBlockLookupGripPtr
Definition: DbBlockGrips.h:200
OdSmartPtr< OdDbBlockXYGrip > OdDbBlockXYGripPtr
Definition: DbBlockGrips.h:102
OdSmartPtr< OdDbBlockLinearGrip > OdDbBlockLinearGripPtr
Definition: DbBlockGrips.h:156
OdSmartPtr< OdDbBlockVisibilityGrip > OdDbBlockVisibilityGripPtr
Definition: DbBlockGrips.h:239
#define DYNBLOCKS_EXPORT
Definition: DbEvalGraph.h:91
int OdInt32
#define ODRX_OVERRIDE
OdResult
Definition: OdResult.h:29
ODDB_EVAL_DECLARE_MEMBERS(OdDbBlockAlignmentGrip)
OdGeVector3d orientation()
void setOrientation(const OdGeVector3d &)
virtual void graphEvalEnd(bool)
void setOrientation(const OdGeVector3d &)
void setFlipState(OdDbBlockFlipParameter::FlipState)
void setUpdatedFlipState(OdDbBlockFlipParameter::FlipState)
OdDbBlockFlipParameter::FlipState updatedFlipState()
OdGeVector3d orientation()
OdDbBlockFlipParameter::FlipState flipState() const
ODDB_EVAL_DECLARE_MEMBERS(OdDbBlockFlipGrip)
OdGePoint3d location() const
virtual void removedFromGraph(OdDbEvalGraph *)
void setUpdatedLocation(class OdGePoint3d const &)
OdInt32 insertionCyclingWeight() const
OdGePoint3d updatedLocation()
OdDbBlockParameter::ParameterComponent getAssociatedParameterComponent() const
void setInsertionCycling(bool)
OdDbBlockParameterPtr getAssociatedParameter(OdDb::OpenMode mode=OdDb::kForRead) const
void setDisplayLocation(class OdGePoint3d const &)
void setInsertionCyclingWeight(OdInt32)
OdGeVector3d gripOffset()
OdGePoint3d paramBasePoint() const
bool insertionCycling() const
OdGeVector3d definitionGripOffset() const
virtual void addedToGraph(OdDbEvalGraph *)
OdGePoint3d displayLocation() const
ODDB_EVAL_DECLARE_MEMBERS(OdDbBlockGrip)
void setOrientation(const OdGeVector3d &)
OdGeVector3d orientation() const
ODDB_EVAL_DECLARE_MEMBERS(OdDbBlockLinearGrip)
OdResult dxfInFields(OdDbDxfFiler *pFiler)
ODDB_DECLARE_MEMBERS(OdDbBlockLookupGrip)
void dxfOutFields(OdDbDxfFiler *pFiler) const
OdResult dxfInFields(OdDbDxfFiler *pFiler)
void dxfOutFields(OdDbDxfFiler *pFiler) const
ODDB_DECLARE_MEMBERS(OdDbBlockPolarGrip)
void dxfOutFields(OdDbDxfFiler *pFiler) const
ODDB_DECLARE_MEMBERS(OdDbBlockRotationGrip)
OdResult dxfInFields(OdDbDxfFiler *pFiler)
OdResult dxfInFields(OdDbDxfFiler *pFiler)
void dxfOutFields(OdDbDxfFiler *pFiler) const
virtual void setMemberOfCurrentVisibilitySet(bool) ODRX_OVERRIDE
ODDB_DECLARE_MEMBERS(OdDbBlockVisibilityGrip)
OdResult dxfInFields(OdDbDxfFiler *pFiler)
ODDB_DECLARE_MEMBERS(OdDbBlockXYGrip)
void dxfOutFields(OdDbDxfFiler *pFiler) const
OpenMode
Definition: DbObjectId.h:54
@ kForRead
Definition: DbObjectId.h:56