9#include "utility/interface/igroup.h"
12 class IGeomImportExport;
77 virtual string exportToFile(
const IGeomSet *set,
const string &filename,
const IRange *filter,
const string &formatKeyword=
string(),
bool binary=
false,
bool nodes=
false,
bool edges=
false,
const string &comment=
string(), uint32 *numberOfNodesExported=0, uint32 *numberOfPolysExported=0)
const=0;
112 const std::vector<const IGeomSet *> &sets,
const string &slot,
Definition basestring.h:89
Interface for containers of IThings.
Definition icontainer.h:21
shared::Signal< const IThing *, const IContainer * > signal_type
Defines the Signal2<> type used for removed, added, and destroy signals sent from the container.
Definition icontainer.h:27
Definition igeomimportexport.h:14
A container for a single "set" of geometric elements. A geometric set is a named collection of geomet...
Definition igeomset.h:27
Interface for the global list of all geomtric data sets IGeomSet.
Definition igeometry.h:23
static const TType type_
The type identification number for this class, for use in convert_cast() and convert_getcast().
Definition igeometry.h:26
virtual const IGeomSet * getCurrent() const =0
Returns a pointer to the current IGeomSet.
virtual StringList orderedGeomSets(bool allowDuringRestore) const =0
Returns all geometry sets in order.
virtual itasca::IContainer::signal_type * getAnyRemovedSignal2() const =0
Returns a signal that gets called every time anything is removed.
virtual itasca::IContainer::signal_type * getAnyAddedSignal2() const =0
Returns a signal that gets called every time anything is added.
virtual uint32 getIGeomPolyType() const =0
Returns the type identifier for IGeomPoly objects.
virtual StringList getImportExportPluginNames() const =0
get names list of all registered import-export plugins
virtual void registerImportExport(itasca::IGeomImportExport *obj, uint32 version)=0
Register import-export object.
virtual const IGeomSet * lookupWithID(uint64 id) const =0
Returns a pointer to the IGeomSet with matching id, or 0 if it doesn't exist. Guaranteed to take less...
virtual StringList getFileFormatMasks() const =0
Returns the list of file masks that will be autodetected as a supported geometry import format.
virtual uint64 assignGroupsByProjection(itasca::IContainer *con, const DVect &proj, const std::vector< const IGeomSet * > &sets, const string &slot, const IRange *filter)=0
virtual const IGeomSet * getFirstGeomSet() const =0
Returns a pointer to the first IGeomSet in the list, or 0 if none are present. See the IGeomSet::getN...
virtual IGeomSet * create(const string &name)=0
virtual string exportToFile(const IGeomSet *set, const string &filename, const IRange *filter, const string &formatKeyword=string(), bool binary=false, bool nodes=false, bool edges=false, const string &comment=string(), uint32 *numberOfNodesExported=0, uint32 *numberOfPolysExported=0) const =0
virtual uint32 getIGeomPointType() const =0
Returns the type identifier for IGeomPoint objects.
virtual IGeometry * newLocalInstance() const =0
Creates new empty local instance of Geometry object, it is not the global engine singleton,...
virtual IGeomSet * lookupWithName(const IString &name)=0
Returns a pointer to the IGeomSet with matching name, or 0 if it doesn't exist. Guaranteed to take le...
virtual uint32 getIGeomEdgeType() const =0
Returns the type identifier for IGeomEdge objects.
virtual itasca::IGeomImportExport * matchImportExport(const string &name) const =0
virtual IGeomSet * removeSet(IGeomSet *set)=0
Removes set from the list, and destroys it. Returns a pointer to the next item in the list after set,...
virtual IGeomSet * getFirstGeomSet()=0
Returns a pointer to the first IGeomSet in the list, or 0 if none are present. See the IGeomSet::getN...
virtual string importFromFile(IGeomSet *set, const string &filename, const string &formatKeyword=string(), const itasca::IGroupID &id=itasca::IGroupID(), bool merge=true)=0
virtual uint32 getCurrentChangedCode() const =0
Returns a notification code (see INoticeManager) indicating a current geometry set changed.
virtual void destroy()=0
Destroys-delete local instance of geometry object.
virtual StringList findAllGeomSets(bool allowDuringRestore) const =0
Returns all geometry sets.
virtual IGeomSet * lookupWithID(uint64 id)=0
Returns a pointer to the IGeomSet with matching id, or 0 if it doesn't exist. Guaranteed to take less...
virtual uint32 getIGeomSetType() const =0
Returns the type identifier for IGeomSet objects.
virtual const itasca::IContainer * getIContainer() const =0
Returns an IContainer interface for the list of all IGeomSet objects.
virtual itasca::IGeomImportExport * findImportExportByFileExt(const string &filename) const =0
virtual itasca::IContainer * getIContainer()=0
Returns an IContainer interface for the list of all IGeomSet objects.
virtual const IGeomSet * lookupWithName(const IString &name) const =0
Returns a pointer to the IGeomSet with matching name, or 0 if it doesn't exist. Guaranteed to take le...
Interface to a filter, used as the main method for filtering objects.
Definition irange.h:32
DIM - Provides code portability between 2D and 3D codes.
uint32 TType
class type indicator
Definition basedef.h:46
DVect3 DVect
Vector of doubles, either 2D or 3D.
Definition dim.h:154
Interface for container of IThings.
namespace Itasca
Definition basememory.cpp:14
Itasca Library standard namespace, specific to 2D or 3D.
Definition icontactmodule.h:4