OpendTect  7.0
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 (Horizon3D *, Array2D< float > *)
 
 SetAllHor3DPosUndoEvent (Horizon3D *, Array2D< float > *, const RowCol &oldorigin)
 
 SetAllHor3DPosUndoEvent (Horizon3D *, SectionID, Array2D< float > *)
 
 SetAllHor3DPosUndoEvent (Horizon3D *, SectionID, Array2D< float > *, const RowCol &oldorigin)
 
ObjectID getObjectID () const override
 
const char * getStandardDesc () const override
 
bool reDo () override
 
bool unDo () override
 
- Public Member Functions inherited from EM::EMUndoEvent
 ~EMUndoEvent ()
 
- Public Member Functions inherited from UndoEvent
virtual ~UndoEvent ()
 
BufferString getDesc () const
 
bool isUserInteractionEnd () const
 
void setDesc (const char *)
 
void setUserInteractionEnd (bool=true)
 

Protected Member Functions

 ~SetAllHor3DPosUndoEvent ()
 
bool setArray (const Array2D< float > &, const RowCol &origin)
 
- Protected Member Functions inherited from EM::EMUndoEvent
 EMUndoEvent ()
 
- Protected Member Functions inherited from UndoEvent
 UndoEvent ()
 

Protected Attributes

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

Detailed Description

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

<>

Constructor & Destructor Documentation

◆ SetAllHor3DPosUndoEvent() [1/4]

EM::SetAllHor3DPosUndoEvent::SetAllHor3DPosUndoEvent ( Horizon3D ,
Array2D< float > *   
)

◆ SetAllHor3DPosUndoEvent() [2/4]

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

◆ SetAllHor3DPosUndoEvent() [3/4]

EM::SetAllHor3DPosUndoEvent::SetAllHor3DPosUndoEvent ( Horizon3D ,
SectionID  ,
Array2D< float > *   
)

◆ SetAllHor3DPosUndoEvent() [4/4]

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

◆ ~SetAllHor3DPosUndoEvent()

EM::SetAllHor3DPosUndoEvent::~SetAllHor3DPosUndoEvent ( )
protected

Member Function Documentation

◆ getObjectID()

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

Implements EM::EMUndoEvent.

◆ getStandardDesc()

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

Implements UndoEvent.

◆ reDo()

bool EM::SetAllHor3DPosUndoEvent::reDo ( )
overridevirtual

Implements UndoEvent.

◆ setArray()

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

◆ unDo()

bool EM::SetAllHor3DPosUndoEvent::unDo ( )
overridevirtual

Implements UndoEvent.

Member Data Documentation

◆ horizon_

Horizon3D* EM::SetAllHor3DPosUndoEvent::horizon_
protected

◆ newarr_

Array2D<float>* EM::SetAllHor3DPosUndoEvent::newarr_
protected

◆ neworigin_

RowCol EM::SetAllHor3DPosUndoEvent::neworigin_
protected

◆ oldarr_

Array2D<float>* EM::SetAllHor3DPosUndoEvent::oldarr_
protected

◆ oldorigin_

RowCol EM::SetAllHor3DPosUndoEvent::oldorigin_
protected

◆ sid_

SectionID EM::SetAllHor3DPosUndoEvent::sid_ = SectionID::def()
protected

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