Itasca C++ Interface
Loading...
Searching...
No Matches
Public Member Functions | List of all members
itasca::IGeometryImportData Class Referenceabstract

Public Member Functions

virtual void addPoint (const DVect3 &p, uint64 pid=0)=0
 Handle import geometric data generated by a IGeomImportExport.
 
virtual void addLine (const DVect3 &p1, const DVect3 &p2, uint64 eid=0)=0
 
virtual void addLine (uint64 pid1, uint64 pid2, uint64 eid=0)=0
 
virtual void addPolygon (FArray< DVect3 > &ps)=0
 add polygon
 
virtual void addPolygonByPointsIds (FArray< uint64 > &pids)=0
 Add polygon defined by point ids.
 
virtual void addPolygonByEdgesIds (FArray< uint64 > &eids)=0
 Add polygons defined by line (edge) id-s.
 
virtual void setExtras (const FArray< QPair< uint32, QString > > &)
 
virtual void setGroups (const FArray< IGroupID > &groups)=0
 
virtual void writeParseWarning (int line, const QString &x)=0
 Service methods.
 
virtual bool updateProgress (uint64 pos, uint64 max=0)=0
 

Member Function Documentation

◆ addLine()

virtual void itasca::IGeometryImportData::addLine ( const DVect3 & p1,
const DVect3 & p2,
uint64 eid = 0 )
pure virtual

add line (edge) if edge id (eid) is set (eid>0) then eid may be used to add polygons. For duration of the object all eids will be stored.

◆ addPoint()

virtual void itasca::IGeometryImportData::addPoint ( const DVect3 & p,
uint64 pid = 0 )
pure virtual

Handle import geometric data generated by a IGeomImportExport.

Add point via coordinate. if point id (pid) is set (pid>0) then pid may be used to add edges or polygons. For duration of the object all pids will be stored.

◆ setExtras()

virtual void itasca::IGeometryImportData::setExtras ( const FArray< QPair< uint32, QString > > & )
inlinevirtual

set Extra variable (Extra IFishParam's) to the last import item added (reimplement if import target uses it, default implementation does nothing). if setExtras is used , it must be followed by setGroups(groups) call, even if groups is empty.

◆ setGroups()

virtual void itasca::IGeometryImportData::setGroups ( const FArray< IGroupID > & groups)
pure virtual

add tag (layer, group) to the last import item added.


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