Itasca C++ Interface
Loading...
Searching...
No Matches
Public Member Functions | Static Public Attributes | List of all members
body::IBody Class Referenceabstract

Interface for the global list of all geomtric data sets IBodySet. More...

#include <ibody.h>

Public Member Functions

virtual IContainergetIContainer ()=0
 Returns an IContainer interface for the list of all IBodySet objects.
 
virtual const IContainergetIContainer () const =0
 Returns an IContainer interface for the list of all IBodySet objects.
 
virtual uint32 getIBodyPointType () const =0
 Returns the type identifier for IBodyPoint objects.
 
virtual uint32 getIBodyEdgeType () const =0
 Returns the type identifier for IBodyEdge objects.
 
virtual uint32 getIBodyFaceType () const =0
 Returns the type identifier for IBodyFace objects.
 
virtual uint32 getIBodyBlockType () const =0
 Returns the type identifier for IBodyBlock objects.
 
virtual uint32 getIBodySetType () const =0
 Returns the type identifier for IBodySet objects.
 
virtual IBodySetgetFirstBodySet ()=0
 
virtual const IBodySetgetFirstBodySet () const =0
 Returns a pointer to the first IBodySet in the list, or 0 if none are present. See the IBodySet::getNext() function.
 
virtual const IBodySetcurrent () const =0
 Returns a pointer to the current IBodySet.
 
virtual void current (IBodySet *set)=0
 Set's current body set.
 
virtual IBodySetlookupWithID (uint64 id)=0
 Returns a pointer to the IBodySet with matching id, or 0 if it doesn't exist. Guaranteed to take less than linear time.
 
virtual const IBodySetlookupWithID (uint64 id) const =0
 Returns a pointer to the IBodySet with matching id, or 0 if it doesn't exist. Guaranteed to take less than linear time.
 
virtual IBodySetlookupWithName (const QString &name)=0
 Returns a pointer to the IBodySet with matching name, or 0 if it doesn't exist. Guaranteed to take less than linear time.
 
virtual const IBodySetlookupWithName (const QString &name) const =0
 Returns a pointer to the IBodySet with matching name, or 0 if it doesn't exist. Guaranteed to take less than linear time.
 
virtual QStringList findAllBodySets () const =0
 Returns all body sets.
 
virtual QStringList orderedBodySets () const =0
 In the correct order as in the container.
 
virtual IBodySetcreate (const IString &name, uint64 id=0)=0
 
virtual IBodySetremoveSet (IBodySet *set)=0
 Removes set from the list, and destroys it. Returns a pointer to the next item in the list after set, or 0 if unsuccessful.
 
virtual IContainer::signal_typegetAnyAddedSignal2 () const =0
 Returns a signal that gets called every time anything is added.
 
virtual IContainer::signal_typegetAnyRemovedSignal2 () const =0
 Returns a signal that gets called every time anything is removed.
 
virtual uint32 getCurrentChangedCode () const =0
 Returns a notification code (see INoticeManager) indicating a current body set changed.
 
virtual const IGeomSetgetIGeomSet (const IGeomPoint *) const =0
 return geomset from a point
 
virtual const IGeomSetgetIGeomSet (const IGeomEdge *) const =0
 return geomset from a edge
 
virtual const IGeomSetgetIGeomSet (const IGeomPoly *) const =0
 return geomset from a poly
 
virtual bool sniffBodySetFileOK (const QString &filename, QString &bsetName) const =0
 shiff file for BodySet name returns true if it is ok and produced by "body export".
 

Static Public Attributes

static const TType type_ = 0x53ab1fd7
 The type identification number for this class, for use in convert_cast() and convert_getcast().
 

Detailed Description

Interface for the global list of all geomtric data sets IBodySet.

Member Function Documentation

◆ create()

virtual IBodySet * body::IBody::create ( const IString & name,
uint64 id = 0 )
pure virtual

Creates a new IBodySet with name name, and returns a pointer to it. An id may optionally be specified, otherwise one is assigned. If an Id number is given and a IBodySet already exists with that ID, and exception occurs.

◆ getFirstBodySet()

virtual IBodySet * body::IBody::getFirstBodySet ( )
pure virtual

MOO TO VAL: I don't think these are necessary anymore, the IContainer interface should be sufficient. Returns a pointer to the first IBodySet in the list, or 0 if none are present. See the IBodySet::getNext() function.


The documentation for this class was generated from the following file: