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

MPE::FaultEditor Class Reference

Inheritance diagram for MPE::FaultEditor:
MPE::ObjectEditor CallBacker

List of all members.

Public Member Functions

 FaultEditor (EM::Fault3D &)
void setLastClicked (const EM::PosID &)
void setSowingPivot (const Coord3)
void setZScale (float)
void setScaleVector (const Coord3 &v)
 x'=x, y'=v1*x*+v2*y, z'=v3*z
void getInteractionInfo (bool &makenewstick, EM::PosID &insertpid, const Coord3 &pos, const Coord3 *posnormal=0) const
bool removeSelection (const Selector< Coord3 > &)

Static Public Member Functions

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

Protected Member Functions

float distToStick (const Geometry::FaultStickSurface &, int curstick, const Coord3 &pos, const Coord3 *posnormal) const
float panelIntersectDist (const Geometry::FaultStickSurface &, int sticknr, const Coord3 &mousepos, const Coord3 &posnormal) const
int getSecondKnotNr (const Geometry::FaultStickSurface &, int sticknr, const Coord3 &mousepos) const
float getNearestStick (int &stick, EM::SectionID &sid, const Coord3 &pos, const Coord3 *posnormal) const
bool getInsertStick (int &stick, EM::SectionID &sid, const Coord3 &pos, const Coord3 *posnormal) const
void getPidsOnStick (EM::PosID &insertpid, int stick, const EM::SectionID &, const Coord3 &pos) const
Geometry::ElementEditorcreateEditor (const EM::SectionID &)
int getLastClickedStick () const

Protected Attributes

Coord3 scalevector_
Coord3 sowingpivot_
TypeSet< Coord3sowinghistory_

Constructor & Destructor Documentation

MPE::FaultEditor::FaultEditor ( EM::Fault3D  ) 

Member Function Documentation

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

Implements MPE::ObjectEditor.

float MPE::FaultEditor::distToStick ( const Geometry::FaultStickSurface ,
int  curstick,
const Coord3 pos,
const Coord3 posnormal 
) const [protected]
bool MPE::FaultEditor::getInsertStick ( int &  stick,
EM::SectionID sid,
const Coord3 pos,
const Coord3 posnormal 
) const [protected]
void MPE::FaultEditor::getInteractionInfo ( bool &  makenewstick,
EM::PosID insertpid,
const Coord3 pos,
const Coord3 posnormal = 0 
) const
int MPE::FaultEditor::getLastClickedStick (  )  const [protected]
float MPE::FaultEditor::getNearestStick ( int &  stick,
EM::SectionID sid,
const Coord3 pos,
const Coord3 posnormal 
) const [protected]
void MPE::FaultEditor::getPidsOnStick ( EM::PosID insertpid,
int  stick,
const EM::SectionID ,
const Coord3 pos 
) const [protected]
int MPE::FaultEditor::getSecondKnotNr ( const Geometry::FaultStickSurface ,
int  sticknr,
const Coord3 mousepos 
) const [protected]
static void MPE::FaultEditor::initClass (  )  [static]
float MPE::FaultEditor::panelIntersectDist ( const Geometry::FaultStickSurface ,
int  sticknr,
const Coord3 mousepos,
const Coord3 posnormal 
) const [protected]
bool MPE::FaultEditor::removeSelection ( const Selector< Coord3 > &   ) 
void MPE::FaultEditor::setLastClicked ( const EM::PosID  ) 
void MPE::FaultEditor::setScaleVector ( const Coord3 v  ) 

x'=x, y'=v1*x*+v2*y, z'=v3*z

void MPE::FaultEditor::setSowingPivot ( const   Coord3  ) 
void MPE::FaultEditor::setZScale ( float   ) 

Member Data Documentation