Itasca C++ Interface
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
iwater.h
Go to the documentation of this file.
1 #pragma once
2 //iwater.h
3 
10 #include "iblockdef.h"
11 
12 namespace block
13 {
16  class IWater
17  {
18  public:
20  virtual FInt getWaterNotice() const=0;
22  virtual bool getActive() const=0;
24  virtual bool getPlane() const=0;
26  virtual RVect3 getOrigin() const=0;
28  virtual RVect3 getNormal() const=0;
30  virtual FInt getTriangle() const=0;
32  virtual FInt getNextTriangle(FInt triangle) const=0;
34  virtual RVect3 getVertex(UByte vert,FInt triangle) const=0;
36  virtual quint32 getWaterType() const=0;
37  };
38 } // namespace block
39 // EoF
virtual quint32 getWaterType() const =0
return water type identifier
Int FInt
Interface to provide access to 3DEC modules, global data, list of 3DEC entities, etc.
Definition: iblockdef.h:19
virtual bool getPlane() const =0
returns definintion of plane if water surface is a single plane
Fortran to C++ type declarations.
virtual RVect3 getOrigin() const =0
gets origin of water surface if it is a single plane
virtual FInt getWaterNotice() const =0
Returns the tag for the water surface geometry change notice.
virtual RVect3 getNormal() const =0
return normal of water surface if it is a single plane
virtual RVect3 getVertex(UByte vert, FInt triangle) const =0
returns the cordinates of the specified vertex for a surface triangle
virtual FInt getTriangle() const =0
returns index to the first triangle used to define the water surface
This interface provides access to functions used to define a water surface.
Definition: iwater.h:16
unsigned char UByte
unsigned 8 bit
Definition: basedef.h:27
3D vector utility class.
Definition: vect.h:161
virtual bool getActive() const =0
returns status of surface
virtual FInt getNextTriangle(FInt triangle) const =0
retuns the index to the next triangle