Itasca C++ Interface
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
iflowplanething.h
Go to the documentation of this file.
1 #pragma once
2 // iflowplanething.h
3 
4 #include "iblockdef.h"
5 
6 #include "base/src/farray.h"
7 
16 namespace itasca
17 {
18  class IThing;
19 }
20 
21 namespace block
22 {
23  class IFlowZoneThing;
24  class IFlowPlaneVertexThing;
25  class IContactThing;
26 
28  {
29  public:
30 
32  inline static const TType type_ = 0x52d800d8;
34  virtual const itasca::IThing * getIThing() const=0;
36  virtual itasca::IThing * getIThing()=0;
38  virtual FInt getFortranOffset() const=0;
40  virtual double getArea() const=0;
42  virtual const IContactThing * getContact() const=0;
44  virtual quint64 getContactID() const=0;
46  virtual DVect3 getLocalX() const=0;
48  virtual DVect3 getLocalY() const=0;
55  virtual quint32 getPropertyIndex(const QString &sc) const=0;
57  virtual QString getProperties() const=0;
60  virtual QString getPropertyName(quint32 index) const=0;
62  virtual QStringList getPropertyNames() const=0;
65  virtual QVariant getProperty(uint index) const=0;
68  virtual QVariant getProperty(const QString& propName) const=0;
70  virtual bool setProperty(QString sprop, QVariant value)=0;
72  virtual bool setProperty(uint index, QVariant value)=0;
74  virtual DVect3 getLocation() const = 0;
75 
76  };
77 
78 } // end namespace block
79 // EOF
virtual quint32 getPropertyIndex(const QString &sc) const =0
Definition: icontactthing.h:30
namespace Itasca
Definition: basememory.cpp:9
virtual const IContactThing * getContact() const =0
Return the contact associated with the flow plane.
Int FInt
Interface to provide access to 3DEC modules, global data, list of 3DEC entities, etc.
Definition: iblockdef.h:19
virtual FArray< const IFlowPlaneVertexThing * > getFlowPlaneVertices() const =0
Return flow vertices associated with the flow plane.
Base class for items that will be stored in containers.
Definition: ithing.h:31
virtual DVect3 getLocalY() const =0
Return local coordinate system y-axis in global system.
Definition: iflowplanething.h:27
Fortran to C++ type declarations.
virtual DVect3 getLocalX() const =0
Return local coordinate system x-axis in global system.
virtual QString getPropertyName(quint32 index) const =0
An array class that attempts to minimize unnecessary heap access.
virtual quint64 getContactID() const =0
Return the id of the contact associated with the flow plane.
virtual double getArea() const =0
Return the plane area.
virtual bool setProperty(QString sprop, QVariant value)=0
Set property corresponding to sprop equal to value.
unsigned int TType
class type indicator
Definition: basedef.h:41
virtual QString getProperties() const =0
Return property names as a single string with names separated by commas.
virtual DVect3 getLocation() const =0
Return the flow plane location.
virtual FArray< const IFlowZoneThing * > getFlowZones() const =0
Return flow zones associated with the flow plane.
virtual QStringList getPropertyNames() const =0
returns a list of all the valid properties assigned to this flowplane
virtual QVariant getProperty(uint index) const =0
An array class that attempts to minimize unnecessary heap access.
Definition: farray.h:27
static const TType type_
type used in IThing typing system
Definition: iflowplanething.h:32
virtual FInt getFortranOffset() const =0
Return flow plane fortran offset.
virtual const itasca::IThing * getIThing() const =0
Returns a const IThing pointer.