CFx SDK Documentation  2020SP3
DbBlockActions.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 _DbBlocksActions_h_Included_
25 #define _DbBlocksActions_h_Included_
26 
27 #include "DbEvalGraph.h"
28 #include "Ge/GePoint2dArray.h"
29 #include "DbBlockElement.h"
30 #include "DbBlockParameter.h"
31 
40 {
41 public:
42  enum OdDbBlockActionXYType{ XY, X, Y }; // not sure if the enum is the same in scale and polar stretch actions
44  virtual OdGePoint3d displayLocation() const;
45  virtual void setDisplayLocation( const OdGePoint3d& );
48 
51  //virtual void setSelectionSet( const OdDbObjectIdArray& );
52 };
53 
54 
63 {
64 public:
67  //FELIX_CHANGE_BEGIN
68  double angleOffset();
71  void setAngleOffset(double);
72  void setDistanceMultiplier(double);
74  //FELIX_CHANGE_END
75 };
76 
85 {
86 public:
89  //FELIX_CHANGE_BEGIN
90  double angleOffset()const;
91  double distanceMultiplier()const;
93  void setAngleOffset(double);
94  void setDistanceMultiplier(double);
100  //FELIX_CHANGE_END
101 };
102 
111 {
112 public:
114  //FELIX_CHANGE_BEGIN
118  bool dependent() const;
119  void setBasePoint(OdGePoint3d const &);
122  void setDependent(bool);
123  //FELIX_CHANGE_END
124 };
125 
134 {
135 public:
138  //FELIX_CHANGE_BEGIN
141  //FELIX_CHANGE_END
142 };
143 
152 {
153 public:
156 };
157 
166 {
167 public:
170 };
171 
180 {
181 public:
184  //FELIX_CHANGE_BEGIN
185  double columnOffset() const;
186  double rowOffset() const;
187  void setColumnOffset(double);
188  void setRowOffset(double);
189  //FELIX_CHANGE_END
190 };
191 
192 class OdDbDataTable;
194 
203 {
204 public:
207  //bool duplicateCellsInLookupColumn(int,int *);
208  //bool duplicateCellsInLookupColumn( const OdResBufArray&, const OdArray<void*>&,int,int *);
209  //bool duplicateRowsOverInputColumns(int *);
210  //bool duplicateRowsOverInputColumns( const OdResBufArray &, const OdArray<void*>&,int *);
211  //OdDbDataTablePtr getLookupTable( OdArray<void*> & );
212 
214  //bool nonSingletonRangeInInputColumns(int *);
215  //bool nonSingletonRangeInInputColumns( const OdResBufArray &,const OdArray<void*>&,int *);
216  //bool nullsInInputColumns(int *);
217  //bool nullsInInputColumns( const OdResBufArray&, const OdArray<void*>&,int *);
218 
223  //void setLookupTable( const OdResBufArray &, OdArray<void*> const &);
224  //void setLookupTable( const OdDbDataTable *, OdArray<void*>&);
225 };
227 
236 {
237 public:
240  //FELIX_CHANGE_BEGIN
241  double angleOffset() const;
242  double distanceMultiplier() const;
245  void setAngleOffset(double);
246  void setDistanceMultiplier(double);
247  //void setRotateOnlySelectionSet(const OdDbObjectIdArray&);
248  //void setStretchFrame(const OdGePoint2dArray &);
252  //FELIX_CHANGE_END
253 };
254 
255 #endif // _DbBlocksActions_h_Included_
OdDbBlockStretchAction
Definition: DbBlockActions.h:85
OdDbBlockPolarStretchAction::rotateOnlyElementSelectionSet
OdDbObjectIdArray rotateOnlyElementSelectionSet()
OdGeVector3d
Definition: GeVector3d.h:54
DbBlockParameter.h
OdDbBlockArrayAction::OdDbBlockArrayAction
OdDbBlockArrayAction()
OdDbBlockLookupAction
Definition: DbBlockActions.h:203
OdDbBlockActionWithBasePt::basePoint
OdGePoint3d basePoint() const
OdDbBlockLookupAction::OdDbBlockLookupAction
OdDbBlockLookupAction()
OdDbBlockMoveAction::setDistanceType
void setDistanceType(OdDbBlockActionXYType)
OdDbBlockAction::selectionSet
virtual OdDbObjectIdArray selectionSet() const
OdDbBlockLookupActionPtr
OdSmartPtr< OdDbBlockLookupAction > OdDbBlockLookupActionPtr
Definition: DbBlockActions.h:226
OdDbBlockScaleAction::setScaleType
void setScaleType(OdDbBlockActionXYType)
OdDbBlockMoveAction::setAngleOffset
void setAngleOffset(double)
DYNBLOCKS_EXPORT
#define DYNBLOCKS_EXPORT
Definition: DbEvalGraph.h:91
OdDbBlockStretchAction::distanceMultiplier
double distanceMultiplier() const
OdDbBlockArrayAction::columnOffset
double columnOffset() const
OdDbBlockPolarStretchAction::rotateOnlySelectionSet
OdDbObjectIdArray rotateOnlySelectionSet()
OdDbBlockMoveAction
Definition: DbBlockActions.h:63
OdDbBlockAction::ODDB_EVAL_DECLARE_MEMBERS
ODDB_EVAL_DECLARE_MEMBERS(OdDbBlockAction)
OdDbBlockActionWithBasePt::currentBasePoint
OdGePoint3d currentBasePoint() const
OdArray< OdDbObjectId, OdMemoryAllocator< OdDbObjectId > >
OdDbBlockPolarStretchAction
Definition: DbBlockActions.h:236
OdDbBlockElement
Definition: DbBlockElement.h:51
OdDbBlockStretchAction::distanceType
OdDbBlockActionXYType distanceType() const
OdDbBlockAction::getAssociatedParameter
virtual OdDbBlockParameterPtr getAssociatedParameter(OdDb::OpenMode mode=OdDb::kForRead) const
OdDbBlockPolarStretchAction::stretchFrame
OdGePoint2dArray stretchFrame()
OdDbDataTablePtr
OdSmartPtr< OdDbDataTable > OdDbDataTablePtr
Definition: DbBlockActions.h:192
OdDbBlockAction::drivingParameterNodeId
virtual OdDbEvalNodeId drivingParameterNodeId() const
OdDbBlockPolarStretchAction::angleOffset
double angleOffset() const
OdDbBlockPolarStretchAction::stretchElementsSelectionSet
OdArray< std::pair< OdDbEvalNodeId, OdIntArray > > stretchElementsSelectionSet() const
OdDbBlockAction::elementSelectionSet
OdDbObjectIdArray elementSelectionSet() const
OdUInt32
unsigned int OdUInt32
Definition: OdPlatformSettings.h:783
OdDbBlockAction::OdDbBlockActionXYType
OdDbBlockActionXYType
Definition: DbBlockActions.h:42
DbBlockElement.h
OdDbBlockArrayAction::rowOffset
double rowOffset() const
OdDbBlockScaleAction::ODDB_EVAL_DECLARE_MEMBERS
ODDB_EVAL_DECLARE_MEMBERS(OdDbBlockScaleAction)
OdDb::kForRead
@ kForRead
Definition: DbObjectId.h:56
OdDbBlockScaleAction::OdDbBlockScaleAction
OdDbBlockScaleAction()
OdDbBlockLookupAction::getLookupTable
void getLookupTable(OdResBufArray &, OdArray< void * > &)
OdDbEvalNodeId
unsigned long OdDbEvalNodeId
Definition: DbEvalGraph.h:60
OdDbBlockMoveAction::ODDB_EVAL_DECLARE_MEMBERS
ODDB_EVAL_DECLARE_MEMBERS(OdDbBlockMoveAction)
X
#define X
Definition: ads2drx.h:32
OdDbBlockActionWithBasePt::dependent
bool dependent() const
OdDbBlockActionWithBasePt::setBasePointOffset
void setBasePointOffset(OdGeVector3d const &)
OdDbBlockFlipAction
Definition: DbBlockActions.h:166
OdDbBlockPolarStretchAction::setAngleOffset
void setAngleOffset(double)
OdSmartPtr
Definition: SmartPtr.h:58
OdDbBlockLookupAction::ODDB_EVAL_DECLARE_MEMBERS
ODDB_EVAL_DECLARE_MEMBERS(OdDbBlockLookupAction)
OdGePoint3d
Definition: GePoint3d.h:55
OdDbBlockStretchAction::stretchElementsSelectionSet
OdArray< std::pair< OdDbEvalNodeId, OdIntArray > > stretchElementsSelectionSet() const
OdDbBlockLookupAction::numberOfRows
OdUInt32 numberOfRows() const
OdDbBlockRotateAction::OdDbBlockRotateAction
OdDbBlockRotateAction()
OdDbBlockStretchAction::angleOffset
double angleOffset() const
OdDbBlockMoveAction::setDistanceMultiplier
void setDistanceMultiplier(double)
OdDbBlockMoveAction::distanceMultiplier
double distanceMultiplier()
OdDbBlockStretchAction::setStretchFrame
void setStretchFrame(const OdGePoint2dArray &)
OdDbBlockRotateAction
Definition: DbBlockActions.h:152
OdDbBlockAction::displayLocation
virtual OdGePoint3d displayLocation() const
OdDbBlockStretchAction::setAngleOffset
void setAngleOffset(double)
OdDbBlockActionWithBasePt::basePointOffset
OdGeVector3d basePointOffset() const
OdDbBlockPolarStretchAction::setDistanceMultiplier
void setDistanceMultiplier(double)
OdDbBlockPolarStretchAction::distanceMultiplier
double distanceMultiplier() const
OdDbBlockArrayAction::ODDB_EVAL_DECLARE_MEMBERS
ODDB_EVAL_DECLARE_MEMBERS(OdDbBlockArrayAction)
OdDbBlockActionWithBasePt::setBasePoint
void setBasePoint(OdGePoint3d const &)
OdDbBlockAction
Definition: DbBlockActions.h:40
OdDbBlockMoveAction::OdDbBlockMoveAction
OdDbBlockMoveAction()
OdDbBlockActionWithBasePt::ODDB_EVAL_DECLARE_MEMBERS
ODDB_EVAL_DECLARE_MEMBERS(OdDbBlockActionWithBasePt)
OdDbBlockArrayAction
Definition: DbBlockActions.h:180
OdDbBlockActionWithBasePt
Definition: DbBlockActions.h:111
GePoint2dArray.h
OdDbBlockStretchAction::ODDB_EVAL_DECLARE_MEMBERS
ODDB_EVAL_DECLARE_MEMBERS(OdDbBlockStretchAction)
OdDbBlockScaleAction::scaleType
OdDbBlockActionXYType scaleType() const
OdDbBlockStretchAction::setDistanceMultiplier
void setDistanceMultiplier(double)
OdDbDataTable
Definition: DbDataTable.h:182
OdDbBlockActionWithBasePt::setCurrentBasePoint
void setCurrentBasePoint(OdGePoint3d const &)
OdDb::OpenMode
OpenMode
Definition: DbObjectId.h:54
OdDbBlockPolarStretchAction::OdDbBlockPolarStretchAction
OdDbBlockPolarStretchAction()
OdDbBlockMoveAction::angleOffset
double angleOffset()
OdDbBlockPolarStretchAction::stretchEntitiesSelectionSet
OdArray< std::pair< OdDbObjectId, OdIntArray > > stretchEntitiesSelectionSet() const
OdDbBlockFlipAction::ODDB_EVAL_DECLARE_MEMBERS
ODDB_EVAL_DECLARE_MEMBERS(OdDbBlockFlipAction)
OdDbBlockScaleAction
Definition: DbBlockActions.h:134
OdDbBlockRotateAction::ODDB_EVAL_DECLARE_MEMBERS
ODDB_EVAL_DECLARE_MEMBERS(OdDbBlockRotateAction)
Y
#define Y
Definition: ads2drx.h:33
OdDbBlockActionWithBasePt::setDependent
void setDependent(bool)
OdDbBlockStretchAction::stretchFrame
OdGePoint2dArray stretchFrame() const
OdDbBlockLookupAction::numberOfOutputColumns
OdUInt32 numberOfOutputColumns() const
OdDbBlockPolarStretchAction::ODDB_EVAL_DECLARE_MEMBERS
ODDB_EVAL_DECLARE_MEMBERS(OdDbBlockPolarStretchAction)
OdDbBlockStretchAction::setDistanceType
void setDistanceType(OdDbBlockActionXYType)
OdDbBlockLookupAction::numberOfColumns
OdUInt32 numberOfColumns() const
OdDbBlockLookupAction::numberOfInputColumns
OdUInt32 numberOfInputColumns() const
OdDbBlockFlipAction::OdDbBlockFlipAction
OdDbBlockFlipAction()
DbEvalGraph.h
OdDbBlockAction::setDisplayLocation
virtual void setDisplayLocation(const OdGePoint3d &)
OdDbBlockArrayAction::setColumnOffset
void setColumnOffset(double)
OdDbBlockStretchAction::OdDbBlockStretchAction
OdDbBlockStretchAction()
OdDbBlockStretchAction::stretchEntitiesSelectionSet
OdArray< std::pair< OdDbObjectId, OdIntArray > > stretchEntitiesSelectionSet() const
OdDbBlockArrayAction::setRowOffset
void setRowOffset(double)
OdDbBlockMoveAction::distanceType
OdDbBlockActionXYType distanceType()