Earth Model Object. More...
Public Member Functions | |
| const ObjectID & | id () const |
| virtual const char * | getTypeStr () const =0 |
| const MultiID & | multiID () const |
| void | setMultiID (const MultiID &) |
| virtual bool | isOK () const |
| void | setName (const char *nm) |
| BufferString | name () const |
| virtual void | setNewName () |
| virtual int | nrSections () const =0 |
| virtual SectionID | sectionID (int) const =0 |
| virtual BufferString | sectionName (const SectionID &) const |
| virtual bool | canSetSectionName () const |
| virtual bool | setSectionName (const SectionID &, const char *, bool addtohistory) |
| virtual int | sectionIndex (const SectionID &) const |
| virtual bool | removeSection (SectionID, bool hist) |
| const Geometry::Element * | sectionGeometry (const SectionID &) const |
| Geometry::Element * | sectionGeometry (const SectionID &) |
| const Color & | preferredColor () const |
| void | setPreferredColor (const Color &, bool addtohistory=false) |
| void | setBurstAlert (bool yn) |
| bool | hasBurstAlert () const |
| virtual Coord3 | getPos (const EM::PosID &) const |
| virtual Coord3 | getPos (const EM::SectionID &, const EM::SubID &) const |
| virtual bool | isDefined (const EM::PosID &) const |
| virtual bool | isDefined (const EM::SectionID &, const EM::SubID &) const |
| virtual bool | setPos (const EM::PosID &, const Coord3 &, bool addtohistory) |
| virtual bool | setPos (const EM::SectionID &, const EM::SubID &, const Coord3 &, bool addtohistory) |
| virtual bool | unSetPos (const EM::PosID &, bool addtohistory) |
| virtual bool | unSetPos (const EM::SectionID &, const EM::SubID &, bool addtohistory) |
| virtual bool | enableGeometryChecks (bool) |
| virtual bool | isGeometryChecksEnabled () const |
| virtual bool | isAtEdge (const EM::PosID &) const |
| void | changePosID (const EM::PosID &from, const EM::PosID &to, bool addtohistory) |
| virtual void | getLinkedPos (const EM::PosID &posid, TypeSet< EM::PosID > &) const |
| virtual EMObjectIterator * | createIterator (const EM::SectionID &, const CubeSampling *=0) const |
| virtual int | nrPosAttribs () const |
| virtual int | posAttrib (int idx) const |
| virtual void | addPosAttrib (int attr) |
| virtual void | removePosAttribList (int attr, bool addtohistory=true) |
| virtual void | setPosAttrib (const EM::PosID &, int attr, bool yn, bool addtohistory=true) |
| Sets/unsets the posattrib depending on yn. | |
| virtual bool | isPosAttrib (const EM::PosID &, int attr) const |
| virtual const char * | posAttribName (int) const |
| virtual int | addPosAttribName (const char *) |
| const TypeSet< PosID > * | getPosAttribList (int attr) const |
| const MarkerStyle3D & | getPosAttrMarkerStyle (int attr) |
| void | setPosAttrMarkerStyle (int attr, const MarkerStyle3D &) |
| virtual void | lockPosAttrib (int attr, bool yn) |
| virtual bool | isPosAttribLocked (int attr) const |
| virtual void | removeSelected (const Selector< Coord3 > &, TaskRunner *) |
| void | removeListOfSubIDs (const TypeSet< EM::SubID > &, const EM::SectionID &) |
| void | removeAllUnSeedPos () |
| const CubeSampling | getRemovedPolySelectedPosBox () |
| void | emptyRemovedPolySelectedPosBox () |
| virtual Executor * | loader () |
| virtual bool | isLoaded () const |
| virtual Executor * | saver () |
| virtual bool | isChanged () const |
| virtual bool | isEmpty () const |
| virtual void | setChangedFlag () |
| virtual void | resetChangedFlag () |
| bool | isFullyLoaded () const |
| void | setFullyLoaded (bool yn) |
| virtual bool | isLocked () const |
| virtual void | lock (bool yn) |
| const bool | isInsideSelRemoval () const |
| const bool | isSelRemoving () const |
| const char * | errMsg () const |
| void | setErrMsg (const char *m) |
| virtual bool | usePar (const IOPar &) |
| virtual void | fillPar (IOPar &) const |
| virtual const IOObjContext & | getIOObjContext () const =0 |
Static Public Member Functions | |
| static int | sPermanentControlNode () |
| static int | sTemporaryControlNode () |
| static int | sEdgeControlNode () |
| static int | sTerminationNode () |
| static int | sSeedNode () |
Public Attributes | |
| CNotifier< EMObject, const EMObjectCallbackData & > | change |
Protected Member Functions | |
| EMObject (EMManager &) | |
| must be called after creation | |
| virtual Geometry::Element * | sectionGeometryInternal (const SectionID &) |
| virtual void | prepareForDelete () const |
| void | posIDChangeCB (CallBacker *) |
Static Protected Member Functions | |
| static const char * | prefcolorstr () |
| static const char * | nrposattrstr () |
| static const char * | posattrprefixstr () |
| static const char * | posattrsectionstr () |
| static const char * | posattrposidstr () |
| static const char * | markerstylestr () |
Protected Attributes | |
| BufferString | objname_ |
| ObjectID | id_ |
| MultiID | storageid_ |
| class EMManager & | manager_ |
| BufferString | errmsg_ |
| Color & | preferredcolor_ |
| ObjectSet< PosAttrib > | posattribs_ |
| TypeSet< int > | attribs_ |
| CubeSampling | removebypolyposbox_ |
| bool | changed_ |
| bool | fullyloaded_ |
| bool | locked_ |
| int | burstalertcount_ |
| bool | insideselremoval_ |
| bool | selremoving_ |
Private Member Functions | |
| mRefCountImplWithDestructor (EMObject, virtual ~EMObject(),{prepareForDelete();delete this;}) | |
Earth Model Object.
| EM::EMObject::EMObject | ( | EMManager & | ) | [protected] |
must be called after creation
| virtual void EM::EMObject::addPosAttrib | ( | int | attr | ) | [virtual] |
| virtual int EM::EMObject::addPosAttribName | ( | const char * | ) | [virtual] |
| virtual bool EM::EMObject::canSetSectionName | ( | ) | const [virtual] |
Reimplemented in EM::MarchingCubesSurface, EM::RandomPosBody, and EM::Surface.
Tells the object that the node former known as from is now called to. Function will also exchange set the position of to to the posion of from.
| virtual EMObjectIterator* EM::EMObject::createIterator | ( | const EM::SectionID & | , | |
| const CubeSampling * | = 0 | |||
| ) | const [inline, virtual] |
creates an iterator. If the sectionid is -1, all sections will be traversed.
Reimplemented in EM::Surface.
| void EM::EMObject::emptyRemovedPolySelectedPosBox | ( | ) |
| virtual bool EM::EMObject::enableGeometryChecks | ( | bool | ) | [virtual] |
Reimplemented in EM::Surface.
| const char* EM::EMObject::errMsg | ( | ) | const |
| virtual void EM::EMObject::fillPar | ( | IOPar & | ) | const [virtual] |
Reimplemented in EM::Horizon, EM::Horizon3D, and EM::Surface.
| virtual const IOObjContext& EM::EMObject::getIOObjContext | ( | ) | const [pure virtual] |
Implemented in EM::Fault, EM::Fault3D, EM::FaultStickSet, EM::Horizon, EM::Horizon2D, EM::Horizon3D, EM::MarchingCubesSurface, EM::PolygonBody, EM::RandomPosBody, and EM::StickSet.
| virtual void EM::EMObject::getLinkedPos | ( | const EM::PosID & | posid, | |
| TypeSet< EM::PosID > & | ||||
| ) | const [inline, virtual] |
Gives positions on the object that are linked to the posid given
Reimplemented in EM::Horizon2D, EM::RandomPosBody, and EM::StickSet.
| virtual Coord3 EM::EMObject::getPos | ( | const EM::SectionID & | , | |
| const EM::SubID & | ||||
| ) | const [virtual] |
Reimplemented in EM::Horizon2D, and EM::RandomPosBody.
| const MarkerStyle3D& EM::EMObject::getPosAttrMarkerStyle | ( | int | attr | ) |
| const CubeSampling EM::EMObject::getRemovedPolySelectedPosBox | ( | ) |
| virtual const char* EM::EMObject::getTypeStr | ( | ) | const [pure virtual] |
Implemented in EM::PolygonBody, EM::RandomPosBody, and EM::StickSet.
| bool EM::EMObject::hasBurstAlert | ( | ) | const |
| const ObjectID& EM::EMObject::id | ( | ) | const [inline] |
| virtual bool EM::EMObject::isAtEdge | ( | const EM::PosID & | ) | const [virtual] |
Reimplemented in EM::Surface.
| virtual bool EM::EMObject::isChanged | ( | ) | const [inline, virtual] |
| virtual bool EM::EMObject::isDefined | ( | const EM::PosID & | ) | const [virtual] |
| virtual bool EM::EMObject::isDefined | ( | const EM::SectionID & | , | |
| const EM::SubID & | ||||
| ) | const [virtual] |
| virtual bool EM::EMObject::isEmpty | ( | ) | const [virtual] |
Reimplemented in EM::MarchingCubesSurface.
| bool EM::EMObject::isFullyLoaded | ( | ) | const [inline] |
| virtual bool EM::EMObject::isGeometryChecksEnabled | ( | ) | const [virtual] |
Reimplemented in EM::Surface.
| const bool EM::EMObject::isInsideSelRemoval | ( | ) | const [inline] |
| virtual bool EM::EMObject::isLoaded | ( | ) | const [inline, virtual] |
Reimplemented in EM::StickSet, and EM::Surface.
| virtual bool EM::EMObject::isLocked | ( | ) | const [inline, virtual] |
| virtual bool EM::EMObject::isOK | ( | ) | const [inline, virtual] |
| virtual bool EM::EMObject::isPosAttrib | ( | const EM::PosID & | , | |
| int | attr | |||
| ) | const [virtual] |
| virtual bool EM::EMObject::isPosAttribLocked | ( | int | attr | ) | const [virtual] |
| const bool EM::EMObject::isSelRemoving | ( | ) | const [inline] |
| virtual Executor* EM::EMObject::loader | ( | ) | [inline, virtual] |
Reimplemented in EM::MarchingCubesSurface, EM::PolygonBody, EM::RandomPosBody, EM::StickSet, and EM::Surface.
| virtual void EM::EMObject::lock | ( | bool | yn | ) | [inline, virtual] |
| virtual void EM::EMObject::lockPosAttrib | ( | int | attr, | |
| bool | yn | |||
| ) | [virtual] |
| static const char* EM::EMObject::markerstylestr | ( | ) | [static, protected] |
| EM::EMObject::mRefCountImplWithDestructor | ( | EMObject | , | |
| virtual ~ | EMObject() | |||
| ) | [private] |
| const MultiID& EM::EMObject::multiID | ( | ) | const [inline] |
| BufferString EM::EMObject::name | ( | ) | const |
| virtual int EM::EMObject::nrPosAttribs | ( | ) | const [virtual] |
| static const char* EM::EMObject::nrposattrstr | ( | ) | [static, protected] |
| virtual int EM::EMObject::nrSections | ( | ) | const [pure virtual] |
Implemented in EM::MarchingCubesSurface, EM::RandomPosBody, EM::StickSet, and EM::Surface.
| virtual int EM::EMObject::posAttrib | ( | int | idx | ) | const [virtual] |
| virtual const char* EM::EMObject::posAttribName | ( | int | ) | const [virtual] |
| static const char* EM::EMObject::posattrposidstr | ( | ) | [static, protected] |
| static const char* EM::EMObject::posattrprefixstr | ( | ) | [static, protected] |
| static const char* EM::EMObject::posattrsectionstr | ( | ) | [static, protected] |
| void EM::EMObject::posIDChangeCB | ( | CallBacker * | ) | [protected] |
| static const char* EM::EMObject::prefcolorstr | ( | ) | [static, protected] |
| const Color& EM::EMObject::preferredColor | ( | ) | const |
| virtual void EM::EMObject::prepareForDelete | ( | ) | const [protected, virtual] |
| void EM::EMObject::removeAllUnSeedPos | ( | ) |
| void EM::EMObject::removeListOfSubIDs | ( | const TypeSet< EM::SubID > & | , | |
| const EM::SectionID & | ||||
| ) |
| virtual void EM::EMObject::removePosAttribList | ( | int | attr, | |
| bool | addtohistory = true | |||
| ) | [virtual] |
| virtual bool EM::EMObject::removeSection | ( | SectionID | , | |
| bool | hist | |||
| ) | [inline, virtual] |
Reimplemented in EM::Surface.
| virtual void EM::EMObject::removeSelected | ( | const Selector< Coord3 > & | , | |
| TaskRunner * | ||||
| ) | [virtual] |
Reimplemented in EM::Horizon2D.
| virtual void EM::EMObject::resetChangedFlag | ( | ) | [inline, virtual] |
| virtual Executor* EM::EMObject::saver | ( | ) | [inline, virtual] |
Reimplemented in EM::MarchingCubesSurface, EM::PolygonBody, EM::RandomPosBody, EM::StickSet, and EM::Surface.
| Geometry::Element* EM::EMObject::sectionGeometry | ( | const SectionID & | ) |
Reimplemented in EM::MarchingCubesSurface, and EM::RandomPosBody.
| const Geometry::Element* EM::EMObject::sectionGeometry | ( | const SectionID & | ) | const |
Reimplemented in EM::MarchingCubesSurface, and EM::RandomPosBody.
| virtual Geometry::Element* EM::EMObject::sectionGeometryInternal | ( | const SectionID & | ) | [protected, virtual] |
Reimplemented in EM::Surface.
| virtual SectionID EM::EMObject::sectionID | ( | int | ) | const [pure virtual] |
Implemented in EM::MarchingCubesSurface, EM::RandomPosBody, EM::StickSet, and EM::Surface.
| virtual int EM::EMObject::sectionIndex | ( | const SectionID & | ) | const [virtual] |
| virtual BufferString EM::EMObject::sectionName | ( | const SectionID & | ) | const [virtual] |
Reimplemented in EM::Surface.
| static int EM::EMObject::sEdgeControlNode | ( | ) | [static] |
| void EM::EMObject::setBurstAlert | ( | bool | yn | ) |
| virtual void EM::EMObject::setChangedFlag | ( | ) | [inline, virtual] |
| void EM::EMObject::setErrMsg | ( | const char * | m | ) | [inline] |
| void EM::EMObject::setFullyLoaded | ( | bool | yn | ) | [inline] |
| void EM::EMObject::setMultiID | ( | const MultiID & | ) |
| void EM::EMObject::setName | ( | const char * | nm | ) | [inline] |
The IOObj name overrules this
| virtual void EM::EMObject::setNewName | ( | ) | [virtual] |
Reimplemented in EM::PolygonBody, and EM::RandomPosBody.
| virtual bool EM::EMObject::setPos | ( | const EM::SectionID & | , | |
| const EM::SubID & | , | |||
| const Coord3 & | , | |||
| bool | addtohistory | |||
| ) | [virtual] |
Reimplemented in EM::Horizon2D, and EM::RandomPosBody.
| virtual bool EM::EMObject::setPos | ( | const EM::PosID & | , | |
| const Coord3 & | , | |||
| bool | addtohistory | |||
| ) | [virtual] |
Reimplemented in EM::Horizon2D, EM::RandomPosBody, and EM::StickSet.
| virtual void EM::EMObject::setPosAttrib | ( | const EM::PosID & | , | |
| int | attr, | |||
| bool | yn, | |||
| bool | addtohistory = true | |||
| ) | [virtual] |
Sets/unsets the posattrib depending on yn.
| void EM::EMObject::setPosAttrMarkerStyle | ( | int | attr, | |
| const MarkerStyle3D & | ||||
| ) |
| void EM::EMObject::setPreferredColor | ( | const Color & | , | |
| bool | addtohistory = false | |||
| ) |
| virtual bool EM::EMObject::setSectionName | ( | const SectionID & | , | |
| const char * | , | |||
| bool | addtohistory | |||
| ) | [virtual] |
Reimplemented in EM::Surface.
| static int EM::EMObject::sPermanentControlNode | ( | ) | [static] |
| static int EM::EMObject::sSeedNode | ( | ) | [static] |
| static int EM::EMObject::sTemporaryControlNode | ( | ) | [static] |
| static int EM::EMObject::sTerminationNode | ( | ) | [static] |
| virtual bool EM::EMObject::unSetPos | ( | const EM::SectionID & | , | |
| const EM::SubID & | , | |||
| bool | addtohistory | |||
| ) | [virtual] |
Reimplemented in EM::Horizon2D.
| virtual bool EM::EMObject::unSetPos | ( | const EM::PosID & | , | |
| bool | addtohistory | |||
| ) | [virtual] |
Reimplemented in EM::Horizon2D.
| virtual bool EM::EMObject::usePar | ( | const IOPar & | ) | [virtual] |
Reimplemented in EM::Horizon, EM::Horizon3D, and EM::Surface.
TypeSet<int> EM::EMObject::attribs_ [protected] |
int EM::EMObject::burstalertcount_ [protected] |
bool EM::EMObject::changed_ [protected] |
BufferString EM::EMObject::errmsg_ [protected] |
bool EM::EMObject::fullyloaded_ [protected] |
ObjectID EM::EMObject::id_ [protected] |
bool EM::EMObject::insideselremoval_ [protected] |
bool EM::EMObject::locked_ [protected] |
class EMManager& EM::EMObject::manager_ [protected] |
BufferString EM::EMObject::objname_ [protected] |
ObjectSet<PosAttrib> EM::EMObject::posattribs_ [protected] |
Color& EM::EMObject::preferredcolor_ [protected] |
CubeSampling EM::EMObject::removebypolyposbox_ [protected] |
bool EM::EMObject::selremoving_ [protected] |
MultiID EM::EMObject::storageid_ [protected] |
1.7.1