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

UndoEvent for setting all positions on a EM::Horizon3D section. More...

Inheritance diagram for EM::SetAllHor3DPosUndoEvent:
[legend]

Public Member Functions

 SetAllHor3DPosUndoEvent (EM::Horizon3D *, EM::SectionID, Array2D< float > *)
 
 SetAllHor3DPosUndoEvent (EM::Horizon3D *, EM::SectionID, Array2D< float > *, const RowCol &oldorigin)
 
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 Member Functions

bool setArray (const Array2D< float > &, const RowCol &origin)
 
 ~SetAllHor3DPosUndoEvent ()
 

Protected Attributes

EM::Horizon3Dhorizon_
 
EM::SectionID sid_
 
RowCol oldorigin_
 
RowCol neworigin_
 
Array2D< float > * oldarr_
 
Array2D< float > * newarr_
 
- Protected Attributes inherited from UndoEvent
BufferStringdesc_
 
bool isuserinteractionend_
 

Detailed Description

UndoEvent for setting all positions on a EM::Horizon3D section.

Constructor & Destructor Documentation

EM::SetAllHor3DPosUndoEvent::SetAllHor3DPosUndoEvent ( EM::Horizon3D ,
EM::SectionID  ,
Array2D< float > *   
)
EM::SetAllHor3DPosUndoEvent::SetAllHor3DPosUndoEvent ( EM::Horizon3D ,
EM::SectionID  ,
Array2D< float > *  ,
const RowCol oldorigin 
)
EM::SetAllHor3DPosUndoEvent::~SetAllHor3DPosUndoEvent ( )
protected

Member Function Documentation

ObjectID EM::SetAllHor3DPosUndoEvent::getObjectID ( ) const
virtual

Implements EM::EMUndoEvent.

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

Implements UndoEvent.

bool EM::SetAllHor3DPosUndoEvent::reDo ( )
virtual

Implements UndoEvent.

bool EM::SetAllHor3DPosUndoEvent::setArray ( const Array2D< float > &  ,
const RowCol origin 
)
protected
bool EM::SetAllHor3DPosUndoEvent::unDo ( )
virtual

Implements UndoEvent.

Member Data Documentation

EM::Horizon3D* EM::SetAllHor3DPosUndoEvent::horizon_
protected
Array2D<float>* EM::SetAllHor3DPosUndoEvent::newarr_
protected
RowCol EM::SetAllHor3DPosUndoEvent::neworigin_
protected
Array2D<float>* EM::SetAllHor3DPosUndoEvent::oldarr_
protected
RowCol EM::SetAllHor3DPosUndoEvent::oldorigin_
protected
EM::SectionID EM::SetAllHor3DPosUndoEvent::sid_
protected

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