CFx SDK Documentation  2020SP3
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_
OdDbBlockAlignmentGrip::setOrientation
void setOrientation(const OdGeVector3d &)
OdDbBlockPolarGrip::dxfInFields
OdResult dxfInFields(OdDbDxfFiler *pFiler)
OdResult
OdResult
Definition: OdResult.h:29
OdDbBlockFlipGrip::setOrientation
void setOrientation(const OdGeVector3d &)
OdGeVector3d
Definition: GeVector3d.h:54
DbBlockParameter.h
OdDbBlockGrip::paramBasePoint
OdGePoint3d paramBasePoint() const
OdDbBlockXYGrip::dxfInFields
OdResult dxfInFields(OdDbDxfFiler *pFiler)
OdDbBlockAlignmentGrip
Definition: DbBlockGrips.h:210
OdDbBlockLookupGrip::dxfInFields
OdResult dxfInFields(OdDbDxfFiler *pFiler)
OdDbBlockPolarGrip::ODDB_DECLARE_MEMBERS
ODDB_DECLARE_MEMBERS(OdDbBlockPolarGrip)
OdDbBlockParameter::ParameterComponent
ParameterComponent
Definition: DbBlockParameter.h:70
DbBlockFlipParameter.h
OdDbEvalExpr
Definition: DbEvalGraph.h:559
OdDbBlockGrip::setDisplayLocation
void setDisplayLocation(class OdGePoint3d const &)
DYNBLOCKS_EXPORT
#define DYNBLOCKS_EXPORT
Definition: DbEvalGraph.h:91
OdDbBlockVisibilityGrip::OdDbBlockVisibilityGrip
OdDbBlockVisibilityGrip()
OdDbBlockLookupGrip::OdDbBlockLookupGrip
OdDbBlockLookupGrip()
OdDbBlockLinearGripPtr
OdSmartPtr< OdDbBlockLinearGrip > OdDbBlockLinearGripPtr
Definition: DbBlockGrips.h:156
OdDbBlockGrip::ODDB_EVAL_DECLARE_MEMBERS
ODDB_EVAL_DECLARE_MEMBERS(OdDbBlockGrip)
OdDbBlockLookupGrip
Definition: DbBlockGrips.h:190
OdDbBlockGrip::location
OdGePoint3d location() const
OdDbBlockPolarGrip
Definition: DbBlockGrips.h:112
OdDbBlockFlipGrip::OdDbBlockFlipGrip
OdDbBlockFlipGrip()
OdDbBlockRotationGrip::OdDbBlockRotationGrip
OdDbBlockRotationGrip()
OdDbBlockLinearGrip::OdDbBlockLinearGrip
OdDbBlockLinearGrip()
OdDbBlockElement
Definition: DbBlockElement.h:51
OdDbBlockRotationGrip::dxfInFields
OdResult dxfInFields(OdDbDxfFiler *pFiler)
OdDbBlockPolarGripPtr
OdSmartPtr< OdDbBlockPolarGrip > OdDbBlockPolarGripPtr
Definition: DbBlockGrips.h:120
OdDbBlockVisibilityGrip::ODDB_DECLARE_MEMBERS
ODDB_DECLARE_MEMBERS(OdDbBlockVisibilityGrip)
OdDbBlockAlignmentGrip::ODDB_EVAL_DECLARE_MEMBERS
ODDB_EVAL_DECLARE_MEMBERS(OdDbBlockAlignmentGrip)
DbBlockElement.h
OdDbBlockGrip::getAssociatedParameter
OdDbBlockParameterPtr getAssociatedParameter(OdDb::OpenMode mode=OdDb::kForRead) const
OdDbBlockFlipGrip::graphEvalEnd
virtual void graphEvalEnd(bool)
OdDbBlockPolarGrip::dxfOutFields
void dxfOutFields(OdDbDxfFiler *pFiler) const
ODDB_EVAL_DECLARE_MEMBERS
#define ODDB_EVAL_DECLARE_MEMBERS(ClassName)
Definition: DbBlockElement.h:34
OdDbBlockFlipGrip::flipState
OdDbBlockFlipParameter::FlipState flipState() const
OdDb::kForRead
@ kForRead
Definition: DbObjectId.h:56
OdDbBlockFlipGrip::ODDB_EVAL_DECLARE_MEMBERS
ODDB_EVAL_DECLARE_MEMBERS(OdDbBlockFlipGrip)
OdDbBlockGrip::addedToGraph
virtual void addedToGraph(OdDbEvalGraph *)
OdDbBlockGrip::removedFromGraph
virtual void removedFromGraph(OdDbEvalGraph *)
OdDbBlockFlipGrip::updatedFlipState
OdDbBlockFlipParameter::FlipState updatedFlipState()
OdDbBlockAlignmentGrip::orientation
OdGeVector3d orientation()
OdDbBlockGrip
Definition: DbBlockGrips.h:57
OdSmartPtr
Definition: SmartPtr.h:58
OdGePoint3d
Definition: GePoint3d.h:55
OdDbBlockRotationGrip::ODDB_DECLARE_MEMBERS
ODDB_DECLARE_MEMBERS(OdDbBlockRotationGrip)
OdDbBlockVisibilityGrip::dxfOutFields
void dxfOutFields(OdDbDxfFiler *pFiler) const
OdDbBlockVisibilityGripPtr
OdSmartPtr< OdDbBlockVisibilityGrip > OdDbBlockVisibilityGripPtr
Definition: DbBlockGrips.h:239
OdInt32
int OdInt32
Definition: OdPlatformSettings.h:782
OdDbBlockAlignmentGripPtr
OdSmartPtr< OdDbBlockAlignmentGrip > OdDbBlockAlignmentGripPtr
Definition: DbBlockGrips.h:218
OdDbBlockXYGrip::ODDB_DECLARE_MEMBERS
ODDB_DECLARE_MEMBERS(OdDbBlockXYGrip)
OdDbBlockFlipGrip::orientation
OdGeVector3d orientation()
OdDbBlockGrip::setInsertionCycling
void setInsertionCycling(bool)
OdDbBlockLinearGrip
Definition: DbBlockGrips.h:148
OdDbBlockGrip::setUpdatedLocation
void setUpdatedLocation(class OdGePoint3d const &)
OdDbBlockXYGrip::OdDbBlockXYGrip
OdDbBlockXYGrip()
OdDbEvalGraph
Definition: DbEvalGraph.h:122
OdDbBlockRotationGrip::dxfOutFields
void dxfOutFields(OdDbDxfFiler *pFiler) const
OdDbBlockLookupGrip::dxfOutFields
void dxfOutFields(OdDbDxfFiler *pFiler) const
OdDbBlockGripPtr
OdSmartPtr< OdDbBlockGrip > OdDbBlockGripPtr
Definition: DbBlockGrips.h:78
OdDbBlockGrip::definitionGripOffset
OdGeVector3d definitionGripOffset() const
OdDbDxfFiler
Definition: DbFiler.h:194
OdDbBlockFlipGripPtr
OdSmartPtr< OdDbBlockFlipGrip > OdDbBlockFlipGripPtr
Definition: DbBlockGrips.h:180
OdDbBlockPolarGrip::OdDbBlockPolarGrip
OdDbBlockPolarGrip()
OdDbBlockLookupGrip::ODDB_DECLARE_MEMBERS
ODDB_DECLARE_MEMBERS(OdDbBlockLookupGrip)
OdDbBlockRotationGripPtr
OdSmartPtr< OdDbBlockRotationGrip > OdDbBlockRotationGripPtr
Definition: DbBlockGrips.h:138
OdDbBlockGrip::setInsertionCyclingWeight
void setInsertionCyclingWeight(OdInt32)
OdDb::OpenMode
OpenMode
Definition: DbObjectId.h:54
OdDbGripData
Definition: DbGrip.h:241
OdDbBlockLinearGrip::ODDB_EVAL_DECLARE_MEMBERS
ODDB_EVAL_DECLARE_MEMBERS(OdDbBlockLinearGrip)
OdDbBlockLinearGrip::orientation
OdGeVector3d orientation() const
OdDbBlockAlignmentGrip::OdDbBlockAlignmentGrip
OdDbBlockAlignmentGrip()
OdDbBlockLookupGripPtr
OdSmartPtr< OdDbBlockLookupGrip > OdDbBlockLookupGripPtr
Definition: DbBlockGrips.h:200
OdDbBlockVisibilityGrip::setMemberOfCurrentVisibilitySet
virtual void setMemberOfCurrentVisibilitySet(bool) ODRX_OVERRIDE
OdDbBlockVisibilityGrip
Definition: DbBlockGrips.h:228
OdDbBlockGrip::insertionCyclingWeight
OdInt32 insertionCyclingWeight() const
OdDbBlockFlipGrip::setFlipState
void setFlipState(OdDbBlockFlipParameter::FlipState)
OdDbBlockXYGrip::dxfOutFields
void dxfOutFields(OdDbDxfFiler *pFiler) const
OdDbBlockFlipParameter::FlipState
FlipState
Definition: DbBlockFlipParameter.h:44
OdDbBlockGrip::OdDbBlockGrip
OdDbBlockGrip()
OdDbBlockFlipGrip
Definition: DbBlockGrips.h:166
ODRX_OVERRIDE
#define ODRX_OVERRIDE
Definition: OdPlatformSettings.h:114
OdDbBlockGrip::displayLocation
OdGePoint3d displayLocation() const
OdDbBlockGrip::updatedLocation
OdGePoint3d updatedLocation()
OdDbBlockFlipGrip::setUpdatedFlipState
void setUpdatedFlipState(OdDbBlockFlipParameter::FlipState)
OdDbBlockLinearGrip::setOrientation
void setOrientation(const OdGeVector3d &)
OdDbBlockGripExpr
Definition: DbBlockGrips.h:41
OdDbBlockVisibilityGrip::dxfInFields
OdResult dxfInFields(OdDbDxfFiler *pFiler)
OdDbBlockGrip::getAssociatedParameterComponent
OdDbBlockParameter::ParameterComponent getAssociatedParameterComponent() const
OdDbBlockGrip::gripOffset
OdGeVector3d gripOffset()
DbEvalGraph.h
OdDbBlockXYGripPtr
OdSmartPtr< OdDbBlockXYGrip > OdDbBlockXYGripPtr
Definition: DbBlockGrips.h:102
OdDbBlockRotationGrip
Definition: DbBlockGrips.h:130
DbBlockLookUpParameter.h
OdDbBlockXYGrip
Definition: DbBlockGrips.h:93
OdDbBlockGripExprPtr
OdSmartPtr< OdDbBlockGripExpr > OdDbBlockGripExprPtr
Definition: DbBlockGrips.h:45
OdDbBlockGrip::insertionCycling
bool insertionCycling() const