CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
DbBlockActions.h
Go to the documentation of this file.
1
2// Copyright (C) 2002-2022, 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-2022 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
38{
39public:
40 enum OdDbBlockActionXYType{ XY, X, Y }; // not sure if the enum is the same in scale and polar stretch actions
43 virtual void setDisplayLocation( const OdGePoint3d& );
46
49 virtual void setSelectionSet( const OdDbObjectIdArray& );
50};
51
53
60{
61public:
64 //FELIX_CHANGE_BEGIN
65 double angleOffset();
68 void setAngleOffset(double);
71 //FELIX_CHANGE_END
72};
73
80{
81public:
84 //FELIX_CHANGE_BEGIN
85 double angleOffset()const;
86 double distanceMultiplier()const;
88 void setAngleOffset(double);
95 //FELIX_CHANGE_END
96};
97
104{
105public:
107 //FELIX_CHANGE_BEGIN
111 bool dependent() const;
115 void setDependent(bool);
116 //FELIX_CHANGE_END
117};
118
127{
128public:
131 //FELIX_CHANGE_BEGIN
134 //FELIX_CHANGE_END
135};
136
143{
144public:
147};
148
155{
156public:
159};
160
167{
168public:
171 //FELIX_CHANGE_BEGIN
172 double columnOffset() const;
173 double rowOffset() const;
174 void setColumnOffset(double);
175 void setRowOffset(double);
176 //FELIX_CHANGE_END
177};
178
179class OdDbDataTable;
181
188{
189public:
192 //bool duplicateCellsInLookupColumn(int,int *);
193 //bool duplicateCellsInLookupColumn( const OdResBufArray&, const OdArray<void*>&,int,int *);
194 //bool duplicateRowsOverInputColumns(int *);
195 //bool duplicateRowsOverInputColumns( const OdResBufArray &, const OdArray<void*>&,int *);
196 //OdDbDataTablePtr getLookupTable( OdArray<void*> & );
197
199 //bool nonSingletonRangeInInputColumns(int *);
200 //bool nonSingletonRangeInInputColumns( const OdResBufArray &,const OdArray<void*>&,int *);
201 //bool nullsInInputColumns(int *);
202 //bool nullsInInputColumns( const OdResBufArray&, const OdArray<void*>&,int *);
203
208 //void setLookupTable( const OdResBufArray &, OdArray<void*> const &);
209 //void setLookupTable( const OdDbDataTable *, OdArray<void*>&);
210};
212
219{
220public:
223 //FELIX_CHANGE_BEGIN
224 double angleOffset() const;
225 double distanceMultiplier() const;
228 void setAngleOffset(double);
230 //void setRotateOnlySelectionSet(const OdDbObjectIdArray&);
231 //void setStretchFrame(const OdGePoint2dArray &);
235 //FELIX_CHANGE_END
236};
237
238#endif // _DbBlocksActions_h_Included_
OdSmartPtr< OdDbBlockAction > OdDbBlockActionPtr
OdSmartPtr< OdDbBlockLookupAction > OdDbBlockLookupActionPtr
OdSmartPtr< OdDbDataTable > OdDbDataTablePtr
#define DYNBLOCKS_EXPORT
Definition: DbEvalGraph.h:91
unsigned long OdDbEvalNodeId
Definition: DbEvalGraph.h:60
unsigned int OdUInt32
#define X
Definition: ads2drx.h:32
#define Y
Definition: ads2drx.h:33
virtual OdGePoint3d displayLocation() const
virtual OdDbObjectIdArray selectionSet() const
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< void * > &)
OdUInt32 numberOfOutputColumns() const
ODDB_EVAL_DECLARE_MEMBERS(OdDbBlockLookupAction)
OdUInt32 numberOfInputColumns() const
OdUInt32 numberOfRows() const
void setDistanceType(OdDbBlockActionXYType)
ODDB_EVAL_DECLARE_MEMBERS(OdDbBlockMoveAction)
void setAngleOffset(double)
OdDbBlockActionXYType distanceType()
void setDistanceMultiplier(double)
double distanceMultiplier()
OdDbObjectIdArray rotateOnlyElementSelectionSet()
void setDistanceMultiplier(double)
OdDbObjectIdArray rotateOnlySelectionSet()
double distanceMultiplier() const
OdArray< std::pair< OdDbEvalNodeId, OdIntArray > > stretchElementsSelectionSet() const
OdArray< std::pair< OdDbObjectId, OdIntArray > > stretchEntitiesSelectionSet() const
OdGePoint2dArray stretchFrame()
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)
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)
OpenMode
Definition: DbObjectId.h:54
@ kForRead
Definition: DbObjectId.h:56