CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
DbBlockParamValueSet.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 _DbBlockParamValueSet_h_Included_
25#define _DbBlockParamValueSet_h_Included_
26
27#include "TD_PackPush.h"
28
29#include "Ge/GeDoubleArray.h"
30#include "RxObjectImpl.h"
31#include "DbEvalGraph.h"
32class OdDbBlockParamValueSetImpl;
33
34#ifdef OD_HAVE_MATH_FILE
35#include <math.h>
36#endif
37
38#ifdef OD_HAVE_COMPLEX_FILE
39#if __cplusplus >= 201103L
40#include <sstream>
41#else
42#include <complex>
43#endif
44#endif
45
52{
53protected:
55public:
61 void assign(const OdDbBlockParamValueSet& vs){ *this = vs; }
62 bool angDir()const ;
63 bool angular()const ;
64 virtual double closestLegalValue(double value , double initial)const ;
66 virtual void dwgOutFieldsHelper(OdDbDwgFiler *)const ;
67 virtual void dxfInFieldsHelper(OdDbDxfFiler *,short,short,short,short);
68 virtual void dxfOutFieldsHelper(OdDbDxfFiler *,short,short,short,short)const ;
69 double increment()const ;
70 double maximum()const ;
71 double minimum()const ;
72 void setAngDir(bool);
73 void setAngular(bool);
74 void setIncrement(double);
75 void setIncrement(double,bool);
76 void setMaximum(double);
77 void setMaximum(double,bool);
78 void setMinimum(double);
79 void setMinimum(double,bool);
80 void setUseIncrement(bool);
81 void setUseMaximum(bool);
82 void setUseMinimum(bool);
83 void setUseValueList(bool);
85 void setValueList(OdGeDoubleArray const &,bool);
87 void updateValue(double);
88 bool useIncrement()const ;
89 bool useMaximum()const ;
90 bool useMinimum()const ;
91 bool useValueList()const ;
92 virtual bool valueIsLegal(double,double)const ;
94private:
95 OdDbBlockParamValueSetImpl* m_pImpl;
96};
97
99
100#include "TD_PackPop.h"
101
102#endif // _DbBlockParamValueSet_h_Included_
OdSmartPtr< OdDbBlockParamValueSet > OdDbBlockParamValueSetPtr
#define DYNBLOCKS_EXPORT
Definition: DbEvalGraph.h:91
class OdDbBlockParamValueSet & operator=(const OdDbBlockParamValueSet &)
ODRX_DECLARE_MEMBERS(OdDbBlockParamValueSet)
bool useMinimum() const
void setMinimum(double, bool)
double maximum() const
OdGeDoubleArray valueList() const
virtual ~OdDbBlockParamValueSet()
void setValueList(OdGeDoubleArray const &)
virtual void dxfInFieldsHelper(OdDbDxfFiler *, short, short, short, short)
virtual void dwgOutFieldsHelper(OdDbDwgFiler *) const
double increment() const
virtual bool valueIsLegal(double, double) const
double minimum() const
void setUseIncrement(bool)
bool useValueList() const
virtual double closestLegalValue(double value, double initial) const
void setUseValueList(bool)
void setMinimum(double)
virtual void dxfOutFieldsHelper(OdDbDxfFiler *, short, short, short, short) const
void setIncrement(double)
void setIncrement(double, bool)
bool useMaximum() const
bool useIncrement() const
void setMaximum(double, bool)
void setMaximum(double)
virtual void dwgInFieldsHelper(OdDbDwgFiler *)
void setValueList(OdGeDoubleArray const &, bool)
void assign(const OdDbBlockParamValueSet &vs)
void updateValue(double)
OdDbBlockParamValueSet(const OdDbBlockParamValueSet &)
OdGeDoubleArray sortedValueListIncluding(double) const
GLsizei const GLfloat * value
Definition: gles2_ext.h:302