Itasca C++ Interface
Toggle main menu visibility
Loading...
Searching...
No Matches
isurface.h
Go to the documentation of this file.
1
#pragma once
2
// isurface.h
3
8
9
namespace
itasca
10
{
11
class
IThing
;
12
}
13
14
namespace
zone
15
{
18
class
ISurface
19
{
20
public
:
22
inline
static
const
TType
type_
= 0x4c815a2c;
24
virtual
const
IThing
*
getIThing
()
const
=0;
26
virtual
IThing
*
getIThing
()=0;
29
virtual
const
ISurface
*
getNext
()
const
=0;
32
virtual
ISurface
*
getNext
()=0;
34
virtual
uint64
getVolumeID
()
const
=0;
36
virtual
DVect3
getNodePosition
(uint32 no)
const
= 0;
38
virtual
string
getName
()
const
= 0;
40
virtual
DVect3
getNormal
()
const
= 0;
42
virtual
const
ISurface
*
getJoinSurface
(uint32 no)
const
= 0;
43
};
44
}
// namespace zone
45
// EoF
46
itasca::IThing
Base class for items that will be stored in containers.
Definition
ithing.h:31
zone::ISurface
Interface to provide access to surfaces, see command GEN SURFACE.
Definition
isurface.h:19
zone::ISurface::getJoinSurface
virtual const ISurface * getJoinSurface(uint32 no) const =0
given a edge number, return the join surface
zone::ISurface::getNext
virtual ISurface * getNext()=0
zone::ISurface::getIThing
virtual IThing * getIThing()=0
returns a IThing pointer
zone::ISurface::getNodePosition
virtual DVect3 getNodePosition(uint32 no) const =0
given a node number, return the node position
zone::ISurface::getNext
virtual const ISurface * getNext() const =0
zone::ISurface::getIThing
virtual const IThing * getIThing() const =0
returns a const IThing pointer
zone::ISurface::getNormal
virtual DVect3 getNormal() const =0
returns the surface normal vector
zone::ISurface::getVolumeID
virtual uint64 getVolumeID() const =0
returns the volume ID that a surface belongs to
zone::ISurface::type_
static const TType type_
The type identification number for this class, for use in convert_cast() and convert_getcast().
Definition
isurface.h:22
zone::ISurface::getName
virtual string getName() const =0
return the name of collection of triangles if there is a collection
TType
uint32 TType
class type indicator
Definition
basedef.h:47
itasca
namespace Itasca
Definition
basememory.cpp:14
flac3d
zone
interface
isurface.h
Generated by
1.18.0