OpendTect-6_4  6.4
Public Member Functions | Protected Attributes | List of all members
EM::PosIDChangeEvent Class Reference

Saves information from a EMObject::changePosID call. More...

Inheritance diagram for EM::PosIDChangeEvent:
[legend]

Public Member Functions

 PosIDChangeEvent (const EM::PosID &from, const EM::PosID &to, const Coord3 &tosprevpos)
 
const char * getStandardDesc () const
 
bool unDo ()
 
bool reDo ()
 
ObjectID getObjectID () const
 
- Public Member Functions inherited from UndoEvent
 UndoEvent ()
 
virtual ~UndoEvent ()
 
BufferString getDesc () const
 
void setDesc (const char *)
 
void setUserInteractionEnd (bool=true)
 
bool isUserInteractionEnd () const
 

Protected Attributes

const EM::PosID from_
 
const EM::PosID to_
 
Coord3 savedpos_
 
- Protected Attributes inherited from UndoEvent
BufferStringdesc_
 
bool isuserinteractionend_
 

Detailed Description

Saves information from a EMObject::changePosID call.

Constructor & Destructor Documentation

EM::PosIDChangeEvent::PosIDChangeEvent ( const EM::PosID from,
const EM::PosID to,
const Coord3 tosprevpos 
)

Member Function Documentation

ObjectID EM::PosIDChangeEvent::getObjectID ( ) const
inlinevirtual

Implements EM::EMUndoEvent.

const char* EM::PosIDChangeEvent::getStandardDesc ( ) const
virtual

Implements UndoEvent.

bool EM::PosIDChangeEvent::reDo ( )
virtual

Implements UndoEvent.

bool EM::PosIDChangeEvent::unDo ( )
virtual

Implements UndoEvent.

Member Data Documentation

const EM::PosID EM::PosIDChangeEvent::from_
protected
Coord3 EM::PosIDChangeEvent::savedpos_
protected
const EM::PosID EM::PosIDChangeEvent::to_
protected

Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B. V. 2019