Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes

MPE::HorizonEditor Class Reference

Inheritance diagram for MPE::HorizonEditor:
MPE::ObjectEditor CallBacker

List of all members.

Public Member Functions

 HorizonEditor (EM::Horizon3D &)
void getEditIDs (TypeSet< EM::PosID > &) const
bool addEditID (const EM::PosID &)
bool removeEditID (const EM::PosID &)
bool boxEditArea () const
void setBoxEditArea (bool nb)
const RowColgetEditArea () const
void setEditArea (const RowCol &rc)
const BufferStringSetgetAlongMovingStyleNames () const
int getAlongMovingStyle () const
void setAlongMovingStyle (int nv)

Static Public Member Functions

static ObjectEditorcreate (EM::EMObject &)
static void initClass ()

Protected Member Functions

virtual ~HorizonEditor ()
void getAlongMovingNodes (const EM::PosID &, TypeSet< EM::PosID > &, TypeSet< float > *) const
Geometry::ElementEditorcreateEditor (const EM::SectionID &)
void emChangeCB (CallBacker *)

Protected Attributes

BufferStringSet vertstylenames
RowCol editarea
bool horbox
int vertstyle

Constructor & Destructor Documentation

MPE::HorizonEditor::HorizonEditor ( EM::Horizon3D  ) 
virtual MPE::HorizonEditor::~HorizonEditor (  )  [protected, virtual]

Member Function Documentation

bool MPE::HorizonEditor::addEditID ( const EM::PosID  )  [virtual]

Add node for editing. Note that this may not be possible, and false may be returned.

Reimplemented from MPE::ObjectEditor.

bool MPE::HorizonEditor::boxEditArea (  )  const [inline]
static ObjectEditor* MPE::HorizonEditor::create ( EM::EMObject  )  [static]
Geometry::ElementEditor* MPE::HorizonEditor::createEditor ( const EM::SectionID  )  [protected, virtual]

Implements MPE::ObjectEditor.

void MPE::HorizonEditor::emChangeCB ( CallBacker  )  [protected]
void MPE::HorizonEditor::getAlongMovingNodes ( const EM::PosID ,
TypeSet< EM::PosID > &  ,
TypeSet< float > *   
) const [protected, virtual]

Gets the positions that are moved along and their corresponding factors.

Reimplemented from MPE::ObjectEditor.

int MPE::HorizonEditor::getAlongMovingStyle (  )  const [inline, virtual]
Returns:
the index of the style in the list returned by getAlongMovingStyleNames().

Reimplemented from MPE::ObjectEditor.

const BufferStringSet* MPE::HorizonEditor::getAlongMovingStyleNames (  )  const [virtual]
Returns:
a list with names of the different styles in which nodes can follow along the moved node.

Reimplemented from MPE::ObjectEditor.

const RowCol& MPE::HorizonEditor::getEditArea (  )  const [inline]
void MPE::HorizonEditor::getEditIDs ( TypeSet< EM::PosID > &   )  const [virtual]

Gives all nodes that can be moved.

Reimplemented from MPE::ObjectEditor.

static void MPE::HorizonEditor::initClass (  )  [static]
bool MPE::HorizonEditor::removeEditID ( const EM::PosID  )  [virtual]

Remove editing node. Note that this may not be possible, and false may be returned.

Reimplemented from MPE::ObjectEditor.

void MPE::HorizonEditor::setAlongMovingStyle ( int  index  )  [inline, virtual]
Parameters:
index refers to the list returned by getAlongMovingStyleNames().

Reimplemented from MPE::ObjectEditor.

void MPE::HorizonEditor::setBoxEditArea ( bool  nb  )  [inline]
void MPE::HorizonEditor::setEditArea ( const RowCol rc  )  [inline]

Member Data Documentation

bool MPE::HorizonEditor::horbox [protected]