CFx SDK Documentation 2026 SP0
Loading...
Searching...
No Matches
DbBlockActions.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 _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
52
54
72
74
99
101
122
124
138
140
152
154
166
168
184
186
187class OdDbDataTable;
189
196{
197public:
199 {
202 OdInt32 m_nType = 0; // unit type?
203 bool m_bLookupProperty = true; // or input property
204 bool m_bNotReadonly = true; // allows reverse lookup
207 };
210 //bool duplicateCellsInLookupColumn(int,int *);
211 //bool duplicateCellsInLookupColumn( const OdResBufArray&, const OdArray<void*>&,int,int *);
212 //bool duplicateRowsOverInputColumns(int *);
213 //bool duplicateRowsOverInputColumns( const OdResBufArray &, const OdArray<void*>&,int *);
214 //OdDbDataTablePtr getLookupTable( OdArray<void*> & );
215
217 //bool nonSingletonRangeInInputColumns(int *);
218 //bool nonSingletonRangeInInputColumns( const OdResBufArray &,const OdArray<void*>&,int *);
219 //bool nullsInInputColumns(int *);
220 //bool nullsInInputColumns( const OdResBufArray&, const OdArray<void*>&,int *);
221
226 //void setLookupTable( const OdResBufArray &, OdArray<void*> const &);
227 //void setLookupTable( const OdDbDataTable *, OdArray<void*>&);
228};
229
231
258
260
261#endif // _DbBlocksActions_h_Included_
OdSmartPtr< OdDbBlockRotateAction > OdDbBlockRotateActionPtr
OdSmartPtr< OdDbBlockScaleAction > OdDbBlockScaleActionPtr
OdSmartPtr< OdDbBlockMoveAction > OdDbBlockMoveActionPtr
OdSmartPtr< OdDbBlockPolarStretchAction > OdDbBlockPolarStretchActionPtr
OdSmartPtr< OdDbBlockAction > OdDbBlockActionPtr
OdSmartPtr< OdDbBlockStretchAction > OdDbBlockStretchActionPtr
OdSmartPtr< OdDbBlockFlipAction > OdDbBlockFlipActionPtr
OdSmartPtr< OdDbBlockArrayAction > OdDbBlockArrayActionPtr
OdSmartPtr< OdDbBlockLookupAction > OdDbBlockLookupActionPtr
OdSmartPtr< OdDbBlockActionWithBasePt > OdDbBlockActionWithBasePtPtr
OdSmartPtr< OdDbDataTable > OdDbDataTablePtr
OdSmartPtr< OdDbBlockParameter > OdDbBlockParameterPtr
#define DYNBLOCKS_EXPORT
Definition DbEvalGraph.h:91
unsigned long OdDbEvalNodeId
Definition DbEvalGraph.h:60
OdArray< OdResBufPtr > OdResBufArray
Definition DbEvalGraph.h:77
OdArray< OdGePoint2d, OdMemoryAllocator< OdGePoint2d > > OdGePoint2dArray
Definition GeGbl.h:45
OdArray< OdDbObjectId, OdClrMemAllocator< OdDbObjectId > > OdDbObjectIdArray
Definition IdArrays.h:53
unsigned int OdUInt32
int OdInt32
virtual OdGePoint3d displayLocation() const
virtual OdDbObjectIdArray selectionSet() const
virtual void adjacentNodeRemoved(const OdDbEvalNodeId &) override
virtual void setDisplayLocation(const OdGePoint3d &)
virtual OdDbBlockParameterPtr getAssociatedParameter(OdDb::OpenMode mode=OdDb::kForRead) const
ODDB_EVAL_DECLARE_MEMBERS(OdDbBlockAction)
OdDbObjectIdArray elementSelectionSet() const
virtual void setSelectionSet(const OdDbObjectIdArray &)
virtual OdDbEvalNodeId drivingParameterNodeId() const
void setBasePoint(OdGePoint3d const &)
void setBasePointOffset(OdGeVector3d const &)
void setCurrentBasePoint(OdGePoint3d const &)
OdGeVector3d basePointOffset() const
ODDB_EVAL_DECLARE_MEMBERS(OdDbBlockActionWithBasePt)
OdGePoint3d currentBasePoint() const
OdGePoint3d basePoint() const
double columnOffset() const
ODDB_EVAL_DECLARE_MEMBERS(OdDbBlockArrayAction)
void setColumnOffset(double)
double rowOffset() const
void setRowOffset(double)
ODDB_EVAL_DECLARE_MEMBERS(OdDbBlockFlipAction)
OdUInt32 numberOfColumns() const
void getLookupTable(OdResBufArray &, OdArray< const ColumnInfo * > &) const
OdUInt32 numberOfOutputColumns() const
ODDB_EVAL_DECLARE_MEMBERS(OdDbBlockLookupAction)
OdUInt32 numberOfInputColumns() const
OdUInt32 numberOfRows() const
double distanceMultiplier() const
void setDistanceType(OdDbBlockActionXYType)
ODDB_EVAL_DECLARE_MEMBERS(OdDbBlockMoveAction)
void setAngleOffset(double)
double angleOffset() const
void setDistanceMultiplier(double)
OdDbBlockActionXYType distanceType() const
virtual void setSelectionSet(const OdDbObjectIdArray &)
OdDbObjectIdArray rotateOnlySelectionSet() const
OdDbObjectIdArray rotateOnlyElementSelectionSet() const
void setDistanceMultiplier(double)
void setStretchFrame(const OdGePoint2dArray &)
OdGePoint2dArray stretchFrame() const
double distanceMultiplier() const
void setRotateOnlySelectionSet(const OdDbObjectIdArray &)
OdArray< std::pair< OdDbEvalNodeId, OdIntArray > > stretchElementsSelectionSet() const
OdArray< std::pair< OdDbObjectId, OdIntArray > > stretchEntitiesSelectionSet() const
ODDB_EVAL_DECLARE_MEMBERS(OdDbBlockPolarStretchAction)
ODDB_EVAL_DECLARE_MEMBERS(OdDbBlockRotateAction)
ODDB_EVAL_DECLARE_MEMBERS(OdDbBlockScaleAction)
void setScaleType(OdDbBlockActionXYType)
OdDbBlockActionXYType scaleType() const
void setStretchFrame(const OdGePoint2dArray &)
double angleOffset() const
void setDistanceMultiplier(double)
virtual void setSelectionSet(const OdDbObjectIdArray &)
OdArray< std::pair< OdDbObjectId, OdIntArray > > stretchEntitiesSelectionSet() const
double distanceMultiplier() const
OdArray< std::pair< OdDbEvalNodeId, OdIntArray > > stretchElementsSelectionSet() const
OdDbBlockActionXYType distanceType() const
void setAngleOffset(double)
void setDistanceType(OdDbBlockActionXYType)
OdGePoint2dArray stretchFrame() const
ODDB_EVAL_DECLARE_MEMBERS(OdDbBlockStretchAction)
@ kForRead
Definition DbObjectId.h:56