Itasca C++ Interface
Loading...
Searching...
No Matches
iwater.h
Go to the documentation of this file.
1#pragma once
2//iwater.h
3
10#include "iblockdef.h"
11
12namespace 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(uint8 vert,FInt triangle) const=0;
36 virtual quint32 getWaterType() const=0;
37 };
38} // namespace block
39// EoF
3D vector utility class.
Definition vect.h:163
This interface provides access to functions used to define a water surface.
Definition iwater.h:17
virtual bool getActive() const =0
returns status of surface
virtual RVect3 getNormal() const =0
return normal of water surface if it is a single plane
virtual FInt getTriangle() const =0
returns index to the first triangle used to define the water surface
virtual bool getPlane() const =0
returns definintion of plane if water surface is a single plane
virtual FInt getNextTriangle(FInt triangle) const =0
retuns the index to the next triangle
virtual FInt getWaterNotice() const =0
Returns the tag for the water surface geometry change notice.
virtual RVect3 getOrigin() const =0
gets origin of water surface if it is a single plane
virtual RVect3 getVertex(uint8 vert, FInt triangle) const =0
returns the cordinates of the specified vertex for a surface triangle
virtual quint32 getWaterType() const =0
return water type identifier
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.