Itasca C++ Interface
Loading...
Searching...
No Matches
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
16namespace itasca
17{
18 class IThing;
19}
20
21namespace 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;
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
An array class that attempts to minimize unnecessary heap access.
Definition farray.h:25
Definition icontactthing.h:31
Definition iflowplanething.h:28
static const TType type_
type used in IThing typing system
Definition iflowplanething.h:32
virtual const IContactThing * getContact() const =0
Return the contact associated with the flow plane.
virtual QString getPropertyName(quint32 index) const =0
virtual QVariant getProperty(const QString &propName) const =0
virtual bool setProperty(uint index, QVariant value)=0
Set property corresponding to index equal to value.
virtual const itasca::IThing * getIThing() const =0
Returns a const IThing pointer.
virtual itasca::IThing * getIThing()=0
Returns a IThing pointer.
virtual FInt getFortranOffset() const =0
Return flow plane fortran offset.
virtual QString getProperties() const =0
Return property names as a single string with names separated by commas.
virtual DVect3 getLocalY() const =0
Return local coordinate system y-axis in global system.
virtual bool setProperty(QString sprop, QVariant value)=0
Set property corresponding to sprop equal to value.
virtual FArray< const IFlowPlaneVertexThing * > getFlowPlaneVertices() const =0
Return flow vertices associated with the flow plane.
virtual quint32 getPropertyIndex(const QString &sc) const =0
virtual QVariant getProperty(uint index) const =0
virtual DVect3 getLocalX() const =0
Return local coordinate system x-axis in global system.
virtual FArray< const IFlowZoneThing * > getFlowZones() const =0
Return flow zones associated with the flow plane.
virtual DVect3 getLocation() const =0
Return the flow plane location.
virtual double getArea() const =0
Return the plane area.
virtual quint64 getContactID() const =0
Return the id of the contact associated with the flow plane.
virtual QStringList getPropertyNames() const =0
returns a list of all the valid properties assigned to this flowplane
Base class for items that will be stored in containers.
Definition ithing.h:30
An array class that attempts to minimize unnecessary heap access.
uint32 TType
class type indicator
Definition basedef.h:46
int32 FInt
Interface to provide access to 3DEC modules, global data, list of 3DEC entities, etc.
Definition iblockdef.h:19
Fortran to C++ type declarations.
namespace Itasca
Definition basememory.cpp:10