CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
DbBlockParameter.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 _DbBlockParameter_h_Included_
25#define _DbBlockParameter_h_Included_
26
27#include "TD_PackPush.h"
28
29#include "DbBlockElement.h"
30#include "DbEvalGraph.h"
31#include "Ge/GeMatrix3d.h"
32#include "DbDynBlockReference.h"
33
34class OdDbBlockGrip;
37
43{
54};
56
64{
65public:
68 {
73 InvalidComponent
74 };
75 //virtual void removedFromGraph( OdDbEvalGraph* );
76
79 virtual OdResBufPtr getPropertyValue( const OdString& )const;
80 virtual OdResBufPtr getPropertyValue( const OdString&, const OdGeMatrix3d& )const;
81
82 //virtual void gripErased( ParameterComponent );
83 //virtual bool historyRequired() const;
84 //static bool isPropertyLabelUnique( OdDbEvalGraph*, const OdString &, class OdString* );
85 //virtual void getGrips( OdDbBlockGripPtrArray&, OdDb::OpenMode );
86 //virtual int getNumberOfGrips() const;
87
89
90 //virtual void removeGrip( ParameterComponent );
91 //virtual void resetGrips();
92 //virtual void setNumberOfGrips( int );
93
94 virtual bool setPropertyValue( const OdString&, const OdResBuf* );
95 virtual bool setPropertyValue( const OdString&, const OdGeMatrix3d&, const OdResBuf* );
96 virtual bool chainActions()const;
97 virtual void setChainActions( bool );
98 virtual bool showProperties()const;
99 virtual void setShowProperties( bool );
101};
102
104
105#include "TD_PackPop.h"
106
107#endif // _DbBlockParameter_h_Included_
OdSmartPtr< OdDbBlockParameter > OdDbBlockParameterPtr
OdSmartPtr< OdDbBlockGrip > OdDbBlockGripPtr
OdArray< OdDbBlkParamPropertyDescriptor > OdDbBlkParamPropertyDescriptorArray
OdArray< OdDbBlockGripPtr, OdMemoryAllocator< OdDbBlockGripPtr > > OdDbBlockGripPtrArray
#define DYNBLOCKS_EXPORT
Definition: DbEvalGraph.h:91
unsigned long OdDbEvalNodeId
Definition: DbEvalGraph.h:60
virtual ParameterComponent getComponentForGrip(OdDbEvalNodeId)
virtual OdString getPropertyConnectionName(const OdString &) const
OdDbEvalNodeId addGrip(ParameterComponent)
virtual bool setPropertyValue(const OdString &, const OdResBuf *)
virtual void setChainActions(bool)
virtual void getPropertyDescription(OdDbBlkParamPropertyDescriptorArray &) const
virtual OdResBufPtr getPropertyValue(const OdString &) const
ODDB_EVAL_DECLARE_MEMBERS(OdDbBlockParameter)
virtual void setShowProperties(bool)
virtual bool chainActions() const
virtual bool showProperties() const
virtual bool setPropertyValue(const OdString &, const OdGeMatrix3d &, const OdResBuf *)
virtual OdResBufPtr getPropertyValue(const OdString &, const OdGeMatrix3d &) const
ValueType
Definition: ResBuf.h:167
OdDbDynBlockReferenceProperty::UnitsType m_nUnitsType