1 #ifndef visfaultsticksetdisplay_h 2 #define visfaultsticksetdisplay_h 16 #include "vissurveymod.h" 32 namespace EM {
class FaultStickSet;
class FaultStickSetGeometry; }
33 namespace Geometry {
class FaultStickSet;
class IndexedPrimitiveSet; }
34 namespace MPE {
class FaultStickSetEditor; }
55 "FaultStickSetDisplay",
63 Color getColor()
const;
70 void hideAllKnots(
bool yn);
71 bool areAllKnotsHidden()
const;
73 void showManipulator(
bool);
74 bool isManipulatorShown()
const;
75 virtual void enableEditor(
bool yn);
77 void setDisplayTransformation(
const mVisTrans*);
78 const mVisTrans* getDisplayTransformation()
const;
85 void setScene(
Scene*);
89 void updateSticks(
bool activeonly=
false);
90 void updateEditPids();
91 void updateKnotMarkers();
101 void setOnlyAtSectionsDisplay(
bool yn);
102 bool displayedOnlyAtSections()
const;
104 void setStickSelectMode(
bool yn);
105 void turnOnSelectionMode(
bool);
106 bool isInStickSelectMode()
const;
112 {
return SurveyObject::getMousePosInfo(ei,iop);}
117 virtual void setPixelDensity(
float dpi);
127 void otherObjectsMoved(
133 static const char* sKeyEarthModelID();
134 static const char* sKeyDisplayOnlyAtSections();
137 bool isPicking()
const;
143 bool isSelectableMarkerInPolySel(
144 const Coord3& markerworldpos)
const;
148 void displayOnlyAtSectionsUpdate();
149 bool coincidesWith2DLine(
152 bool coincidesWithPlane(
158 void updateManipulator();
181 { setOnlyAtSectionsDisplay(yn); }
visBase::DrawStyle * stickdrawstyle_
Definition: visfaultsticksetdisplay.h:172
#define mExpClass(module)
Definition: commondefs.h:160
od_int32 ObjectID
Definition: emposid.h:24
bool hasColor() const
Definition: visfaultsticksetdisplay.h:62
Definition: vislines.h:23
To be able to send and/or receive CallBacks, inherit from this class.
Definition: callback.h:272
const char * errMsg() const
Definition: visfaultsticksetdisplay.h:87
bool isInlCrl() const
Definition: visfaultsticksetdisplay.h:60
visBase::Lines * sticks_
Definition: visfaultsticksetdisplay.h:170
const char * str() const
Definition: odstring.h:48
#define mODTextTranslationClass(clss)
Definition: uistring.h:38
Export_Basic uiString toUiString(ViewStyle)
visBase::DrawStyle * activestickdrawstyle_
Definition: visfaultsticksetdisplay.h:173
Is an identifier for each position in the earthmodel.
Definition: emposid.h:37
Coord3 mousepos_
Definition: visfaultsticksetdisplay.h:164
visSurvey::MPEEditor * viseditor_
Definition: visfaultsticksetdisplay.h:162
Interface class for Notifier. See comments there.
Definition: callback.h:161
void usePar(const IOPar &iop, ODPolygon< T > &poly, const char *inpkey)
Definition: polygon.h:188
MPE stands for Model, Predict, Edit. Contains tracking and editing functions.
Definition: autotracker.h:32
Notifier< FaultStickSetDisplay > displaymodechange
Definition: visfaultsticksetdisplay.h:96
Definition: visdrawstyle.h:33
visBase::Lines * activestick_
Definition: visfaultsticksetdisplay.h:171
ObjectEditor to edit EM::FaultStickSet.
Definition: faultstickseteditor.h:28
#define mDefaultFactoryInstantiation(baseclss, clss, keywrd, usernm)
Definition: factory.h:289
MPE::FaultStickSetEditor * fsseditor_
Definition: visfaultsticksetdisplay.h:161
Notifier< FaultStickSetDisplay > colorchange
Definition: visfaultsticksetdisplay.h:95
Used for displaying a polyline, preview for a random line created throught well path.
Definition: visarrowdisplay.h:20
bool makenewstick_
Definition: visfaultsticksetdisplay.h:176
Definition: vismpeeditor.h:44
Definition: callback.h:254
Set of pointers to objects.
Definition: commontypes.h:32
bool displayonlyatsections_
Definition: visfaultsticksetdisplay.h:175
TypeSet< EM::PosID > editpids_
Definition: visfaultsticksetdisplay.h:168
const visBase::Lines * getStickSetLines() const
Definition: visfaultsticksetdisplay.h:93
VisualObjectImpl
Definition: visobject.h:128
Generalized set of parameters of the keyword-value type.
Definition: iopar.h:47
Class that can execute a task.
Definition: task.h:169
#define mVisTrans
Definition: visdata.h:31
Fault stick set.
Definition: emfaultstickset.h:100
Database for 3D objects.
Definition: vissurvscene.h:76
bool allowsPicks() const
Definition: visfaultsticksetdisplay.h:108
void fillPar(IOPar &iop, const ODPolygon< T > &poly, const char *inpkey)
Definition: polygon.h:175
A cartesian coordinate in 3D space.
Definition: coord.h:72
Index_Type GeomID
Definition: commontypes.h:52
Definition: visemsticksetdisplay.h:41
Definition: visannot.h:43
OD::String with its own variable length buffer. The buffer has a guaranteed minimum size...
Definition: bufstring.h:40
EM::PosID activestickid_
Definition: visfaultsticksetdisplay.h:177
BufferString errmsg_
Definition: horizontracker.h:119
int activesticknr_
Definition: visfaultsticksetdisplay.h:166
Earth Model objects like horizons, faults, fault-sticks and bodies.
Definition: embody.h:25
Base class for all 'Display' objects.
Definition: vissurvobj.h:58
Definition: visevent.h:44
Color is an RGB color object, with a transparancy. The storage is in a 4-byte integer, similar to Qt.
Definition: color.h:26
bool allowMaterialEdit() const
Definition: visfaultsticksetdisplay.h:65
void getMousePosInfo(const visBase::EventInfo &ei, IOPar &iop) const
Definition: visfaultsticksetdisplay.h:110
Display class for FaultStickSets.
Definition: visfaultsticksetdisplay.h:45
Definition: faultstickset.h:27
bool canRemoveSelection() const
Definition: visfaultsticksetdisplay.h:99
Definition: arraytesselator.h:21
void setDisplayOnlyAtSections(bool yn)
Definition: visfaultsticksetdisplay.h:180
Definition: visevent.h:87
Compound key consisting of ints.
Definition: multiid.h:25