Itasca C++ Interface
Toggle main menu visibility
Loading...
Searching...
No Matches
iwater.h
Go to the documentation of this file.
1
#pragma once
2
//iwater.h
3
8
9
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
(uint8 vert,
FInt
triangle)
const
=0;
36
virtual
uint32
getWaterType
()
const
=0;
37
};
38
}
// namespace block
39
// EoF
block::IWater
This interface provides access to functions used to define a water surface.
Definition
iwater.h:17
block::IWater::getActive
virtual bool getActive() const =0
returns status of surface
block::IWater::getNormal
virtual RVect3 getNormal() const =0
return normal of water surface if it is a single plane
block::IWater::getTriangle
virtual FInt getTriangle() const =0
returns index to the first triangle used to define the water surface
block::IWater::getWaterType
virtual uint32 getWaterType() const =0
return water type identifier
block::IWater::getPlane
virtual bool getPlane() const =0
returns definintion of plane if water surface is a single plane
block::IWater::getNextTriangle
virtual FInt getNextTriangle(FInt triangle) const =0
retuns the index to the next triangle
block::IWater::getWaterNotice
virtual FInt getWaterNotice() const =0
Returns the tag for the water surface geometry change notice.
block::IWater::getOrigin
virtual RVect3 getOrigin() const =0
gets origin of water surface if it is a single plane
block::IWater::getVertex
virtual RVect3 getVertex(uint8 vert, FInt triangle) const =0
returns the cordinates of the specified vertex for a surface triangle
FInt
int64 FInt
Interface to provide access to 3DEC modules, global data, list of 3DEC entities, etc.
Definition
iblockdef.h:14
iblockdef.h
Fortran to C++ type declarations.
RVect3
Vector3< Real > RVect3
real vector
Definition
iblockdef.h:18
3dec
block
interface
iwater.h
Generated by
1.18.0