Itasca C++ Interface
Loading...
Searching...
No Matches
idfntemplate.h
1#pragma once
2// idfntemplate.h
3
4namespace itasca {
5 class IThing;
6 class IContainer;
7}
8
9
10namespace dfn {
11 using namespace itasca;
12
14 public:
15 inline static const TType type_ = 0x4f27bf35;
16
17 virtual IThing * getIThing()=0;
18 virtual const IThing * getIThing() const=0;
19 virtual IString getName() const=0;
20 virtual uint32 sizeType() const=0;
21 virtual QString sizeTypeName() const=0;
22 virtual uint32 orientationType() const=0;
23 virtual QString orientationTypeName() const=0;
24 virtual uint32 positionType() const=0;
25 virtual QString positionTypeName() const=0;
26 virtual void sizeType(uint32)=0;
27 virtual void sizeType(const QString &)=0;
28 virtual void orientationType(uint32)=0;
29 virtual void orientationType(const QString &)=0;
30 virtual void positionType(uint32)=0;
31 virtual void positionType(const QString &)=0;
32 virtual uint32 sizeParamSize() const=0;
33 virtual QVariant sizeParam(uint32 ind) const=0;
34 virtual uint32 orientationParamSize() const=0;
35 virtual QVariant orientationParam(uint32 ind) const=0;
36 virtual uint32 positionParamSize() const=0;
37 virtual QVariant positionParam(uint32 ind) const=0;
38 virtual void sizeParam(uint32 ind, QVariant)=0;
39 virtual void orientationParam(uint32 ind, QVariant) =0;
40 virtual void positionParam(uint32 ind,QVariant)=0;
41 virtual double sizeBoundMin() const=0;
42 virtual void sizeBoundMin(const double&)=0;
43 virtual double sizeBoundMax() const=0;
44 virtual void sizeBoundMax(const double&)=0;
45 virtual DVect positionBoundMin() const=0;
46 virtual void positionBoundMin(const DVect&)=0;
47 virtual DVect positionBoundMax() const=0;
48 virtual void positionBoundMax(const DVect&)=0;
49#ifdef THREED
50#define ORI DVect2
51#else
52#define ORI double
53#endif
54 virtual ORI orientationBoundMin() const=0;
55 virtual void orientationBoundMin(const ORI&)=0;
56 virtual ORI orientationBoundMax() const=0;
57 virtual void orientationBoundMax(const ORI&)=0;
58#undef ORI
59 };
60} // namespace dfn
61// EoF
Definition istring.h:14
Definition idfntemplate.h:13
virtual const IThing * getIThing() const =0
returns the generic type
virtual QString positionTypeName() const =0
get the type of position distribution
virtual void sizeBoundMax(const double &)=0
get the max boundary of the size distribution
virtual uint32 sizeParamSize() const =0
get the number of param of the size distribution
virtual IThing * getIThing()=0
returns the generic type
virtual void orientationType(uint32)=0
set the type of orientation distribution
virtual uint32 orientationType() const =0
get the type of orientation distribution
virtual ORI orientationBoundMin() const =0
get the min boundary of the orientation distribution
virtual void sizeType(const QString &)=0
set the type of size distribution
virtual DVect positionBoundMin() const =0
get the min boundary of the position distribution
virtual uint32 sizeType() const =0
get the type of size distribution
virtual ORI orientationBoundMax() const =0
get the max boundary of the orientation distribution
virtual void orientationParam(uint32 ind, QVariant)=0
set the ind param of the orientation distribution
virtual uint32 positionParamSize() const =0
get the number of param of the position distribution
virtual void positionBoundMax(const DVect &)=0
get the max boundary of the position distribution
virtual QString orientationTypeName() const =0
get the type of orientation distribution
virtual void orientationType(const QString &)=0
set the type of orientation distribution
virtual void positionType(const QString &)=0
set the type of position distribution
virtual void sizeType(uint32)=0
set the type of size distribution
virtual QVariant positionParam(uint32 ind) const =0
get the ind param of the position distribution
virtual void sizeBoundMin(const double &)=0
set the min boundary of the size distribution
virtual void positionBoundMin(const DVect &)=0
set the min boundary of the position distribution
virtual void sizeParam(uint32 ind, QVariant)=0
set the ind param of the size distribution
virtual double sizeBoundMin() const =0
get the min boundary of the size distribution
virtual DVect positionBoundMax() const =0
get the max boundary of the position distribution
virtual void orientationBoundMax(const ORI &)=0
get the max boundary of the orientation distribution
virtual IString getName() const =0
returns the name
virtual double sizeBoundMax() const =0
get the max boundary of the size distribution
virtual uint32 orientationParamSize() const =0
get the number of param of the orientation distribution
virtual QVariant sizeParam(uint32 ind) const =0
get the ind param of the size distribution
virtual uint32 positionType() const =0
get the type of position distribution
virtual QVariant orientationParam(uint32 ind) const =0
get the ind param of the orientation distribution
virtual void positionParam(uint32 ind, QVariant)=0
set the ind param of the position distribution
virtual void positionType(uint32)=0
set the type of position distribution
virtual QString sizeTypeName() const =0
get the type of size distribution
virtual void orientationBoundMin(const ORI &)=0
set the min boundary of the orientation distribution
Base class for items that will be stored in containers.
Definition ithing.h:30
uint32 TType
class type indicator
Definition basedef.h:46
DVect3 DVect
Vector of doubles, either 2D or 3D.
Definition dim.h:154
namespace Itasca
Definition basememory.cpp:14