OpendTect  6.6
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)
 
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 Member Functions

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

Protected Attributes

EM::Horizon3Dhorizon_
 
Array2D< float > * newarr_
 
RowCol neworigin_
 
Array2D< float > * oldarr_
 
RowCol oldorigin_
 
EM::SectionID sid_
 
- 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/2]

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

◆ SetAllHor3DPosUndoEvent() [2/2]

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

◆ ~SetAllHor3DPosUndoEvent()

EM::SetAllHor3DPosUndoEvent::~SetAllHor3DPosUndoEvent ( )
protected

Member Function Documentation

◆ getObjectID()

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

Implements EM::EMUndoEvent.

◆ getStandardDesc()

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

Implements UndoEvent.

◆ reDo()

bool EM::SetAllHor3DPosUndoEvent::reDo ( )
virtual

Implements UndoEvent.

◆ setArray()

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

◆ unDo()

bool EM::SetAllHor3DPosUndoEvent::unDo ( )
virtual

Implements UndoEvent.

Member Data Documentation

◆ horizon_

EM::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_

EM::SectionID EM::SetAllHor3DPosUndoEvent::sid_
protected

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