Public Member Functions | Protected Member Functions

EM::PolygonBodyGeometry Class Reference

Inheritance diagram for EM::PolygonBodyGeometry:
EM::SurfaceGeometry CallBacker

List of all members.

Public Member Functions

 PolygonBodyGeometry (PolygonBody &)
 ~PolygonBodyGeometry ()
int nrPolygons (const SectionID &) const
int nrKnots (const SectionID &, int polygonnr) const
bool insertPolygon (const SectionID &, int polygonnr, int firstknot, const Coord3 &pos, const Coord3 &editnormal, bool addtohistory)
bool removePolygon (const SectionID &, int polygonnr, bool addtohistory)
bool insertKnot (const SectionID &, const SubID &, const Coord3 &pos, bool addtohistory)
bool removeKnot (const SectionID &, const SubID &, bool addtohistory)
const Coord3getPolygonNormal (const SectionID &, int polygon) const
Geometry::PolygonSurfacesectionGeometry (const SectionID &)
const Geometry::PolygonSurfacesectionGeometry (const SectionID &) const
EMObjectIteratorcreateIterator (const SectionID &, const CubeSampling *=0) const
Executorloader (const SurfaceIODataSelection *s=0)
Executorsaver (const SurfaceIODataSelection *s=0, const MultiID *key=0)
void fillPar (IOPar &) const
bool usePar (const IOPar &)

Protected Member Functions

Geometry::PolygonSurfacecreateSectionGeometry () const

Constructor & Destructor Documentation

EM::PolygonBodyGeometry::PolygonBodyGeometry ( PolygonBody  ) 
EM::PolygonBodyGeometry::~PolygonBodyGeometry (  ) 

Member Function Documentation

EMObjectIterator* EM::PolygonBodyGeometry::createIterator ( const SectionID ,
const CubeSampling = 0 
) const [virtual]

Reimplemented from EM::SurfaceGeometry.

Geometry::PolygonSurface* EM::PolygonBodyGeometry::createSectionGeometry (  )  const [protected, virtual]

Implements EM::SurfaceGeometry.

void EM::PolygonBodyGeometry::fillPar ( IOPar  )  const [virtual]

Reimplemented from EM::SurfaceGeometry.

const Coord3& EM::PolygonBodyGeometry::getPolygonNormal ( const SectionID ,
int  polygon 
) const
bool EM::PolygonBodyGeometry::insertKnot ( const SectionID ,
const SubID ,
const Coord3 pos,
bool  addtohistory 
)
bool EM::PolygonBodyGeometry::insertPolygon ( const SectionID ,
int  polygonnr,
int  firstknot,
const Coord3 pos,
const Coord3 editnormal,
bool  addtohistory 
)
Executor* EM::PolygonBodyGeometry::loader ( const SurfaceIODataSelection s = 0  )  [virtual]

Reimplemented from EM::SurfaceGeometry.

int EM::PolygonBodyGeometry::nrKnots ( const SectionID ,
int  polygonnr 
) const
int EM::PolygonBodyGeometry::nrPolygons ( const SectionID  )  const
bool EM::PolygonBodyGeometry::removeKnot ( const SectionID ,
const SubID ,
bool  addtohistory 
)
bool EM::PolygonBodyGeometry::removePolygon ( const SectionID ,
int  polygonnr,
bool  addtohistory 
)
Executor* EM::PolygonBodyGeometry::saver ( const SurfaceIODataSelection s = 0,
const MultiID key = 0 
) [virtual]

Reimplemented from EM::SurfaceGeometry.

Geometry::PolygonSurface* EM::PolygonBodyGeometry::sectionGeometry ( const SectionID  )  [virtual]

Reimplemented from EM::SurfaceGeometry.

const Geometry::PolygonSurface* EM::PolygonBodyGeometry::sectionGeometry ( const SectionID  )  const [virtual]

Reimplemented from EM::SurfaceGeometry.

bool EM::PolygonBodyGeometry::usePar ( const IOPar  )  [virtual]

Reimplemented from EM::SurfaceGeometry.