OpendTect  6.6
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)
 
ObjectID getObjectID () const
 
const char * getStandardDesc () const
 
bool reDo ()
 
bool unDo ()
 
- Public Member Functions inherited from UndoEvent
 UndoEvent ()
 
virtual ~UndoEvent ()
 
BufferString getDesc () const
 
bool isUserInteractionEnd () const
 
void setDesc (const char *)
 
void setUserInteractionEnd (bool=true)
 

Protected Attributes

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

Detailed Description

Saves information from a EMObject::changePosID call.

<>

Constructor & Destructor Documentation

◆ PosIDChangeEvent()

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

Member Function Documentation

◆ getObjectID()

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

Implements EM::EMUndoEvent.

◆ getStandardDesc()

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

Implements UndoEvent.

◆ reDo()

bool EM::PosIDChangeEvent::reDo ( )
virtual

Implements UndoEvent.

◆ unDo()

bool EM::PosIDChangeEvent::unDo ( )
virtual

Implements UndoEvent.

Member Data Documentation

◆ from_

const EM::PosID EM::PosIDChangeEvent::from_
protected

◆ savedpos_

Coord3 EM::PosIDChangeEvent::savedpos_
protected

◆ to_

const EM::PosID EM::PosIDChangeEvent::to_
protected

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