Itasca C++ Interface
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
isurface.h
Go to the documentation of this file.
1 #pragma once
2 // isurface.h
3 
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 quint64 getVolumeID() const=0;
36  virtual DVect3 getNodePosition(quint32 no) const= 0;
38  virtual QString getName() const = 0;
40  virtual DVect3 getNormal() const = 0;
42  virtual const ISurface * getJoinSurface(quint32 no) const = 0;
43  };
44 } // namespace zone
45 // EoF
46 
namespace Itasca
Definition: basememory.cpp:9
Base class for items that will be stored in containers.
Definition: ithing.h:31
virtual const ISurface * getJoinSurface(quint32 no) const =0
given a edge number, return the join surface
virtual DVect3 getNodePosition(quint32 no) const =0
given a node number, return the node position
virtual quint64 getVolumeID() const =0
returns the volume ID that a surface belongs to
static const TType type_
The type identification number for this class, for use in convert_cast() and convert_getcast().
Definition: isurface.h:22
Interface to provide access to surfaces, see command GEN SURFACE.
Definition: isurface.h:18
unsigned int TType
class type indicator
Definition: basedef.h:41
virtual DVect3 getNormal() const =0
returns the surface normal vector
virtual QString getName() const =0
return the name of collection of triangles if there is a collection
virtual const ISurface * getNext() const =0
virtual const IThing * getIThing() const =0
returns a const IThing pointer