1 #ifndef vislocationdisplay_h 2 #define vislocationdisplay_h 16 #include "vissurveymod.h" 21 namespace Pick {
class Set;
class Location;
class SetMgr; }
53 void showAll(
bool yn);
55 virtual void setOnlyAtSectionsDisplay(
bool);
56 virtual bool displayedOnlyAtSections()
const;
57 void allowDoubleClick(
bool yn);
63 {
return SurveyObject::getMousePosInfo(ei,iop);}
68 virtual Color getColor()
const;
69 virtual void setColor(
Color);
72 virtual bool isPicking()
const;
73 virtual void otherObjectsMoved(
76 virtual void setDisplayTransformation(
const mVisTrans*);
77 virtual const mVisTrans* getDisplayTransformation()
const;
78 void setRightHandSystem(
bool yn);
84 const SurveyObject* getPickedSurveyObject()
const;
102 virtual void removePosition(
int);
107 virtual bool hasText()
const {
return false; }
108 virtual int clickedMarkerIndex(
110 virtual bool isMarkerClick(
117 virtual int isDirMarkerClick(
const TypeSet<int>&)
const;
123 void removePick(
int,
bool setundo=
true);
130 const Coord3 getActivePlaneNormal(
159 static const char* sKeyID();
160 static const char* sKeyMgrName();
161 static const char* sKeyShowAll();
162 static const char* sKeyMarkerType();
163 static const char* sKeyMarkerSize();
#define mExpClass(module)
Definition: commondefs.h:160
Sower * sower_
Definition: vislocationdisplay.h:165
bool showall_
Definition: vislocationdisplay.h:146
bool ctrldown_
Definition: vislocationdisplay.h:150
To be able to send and/or receive CallBacks, inherit from this class.
Definition: callback.h:272
const char * str() const
Definition: odstring.h:48
virtual bool hasColor() const
Definition: vislocationdisplay.h:67
Pick::SetMgr * picksetmgr_
Definition: vislocationdisplay.h:139
int pickedsobjid_
Picked SurveyObject ID.
Definition: vislocationdisplay.h:148
bool allShown() const
Definition: vislocationdisplay.h:54
int waitsfordirectionid_
Definition: vislocationdisplay.h:141
const char * errMsg() const
Definition: vislocationdisplay.h:50
ZAxisTransform * datatransform_
Definition: vislocationdisplay.h:155
Pick location in space,.
Definition: picklocation.h:46
void getMousePosInfo(const visBase::EventInfo &ei, IOPar &iop) const
Definition: vislocationdisplay.h:61
Interface class for Notifier. See comments there.
Definition: callback.h:161
int voiidx_
Definition: vislocationdisplay.h:149
void usePar(const IOPar &iop, ODPolygon< T > &poly, const char *inpkey)
Definition: polygon.h:188
DataObject is the base class off all objects that are used in Visualization and ought to be shared in...
Definition: visdata.h:65
ObjectSet< Selector< Coord3 > > selectors_
Definition: vislocationdisplay.h:151
MultiID storedmid_
Definition: vislocationdisplay.h:157
bool canRemoveSelection() const
Definition: vislocationdisplay.h:86
virtual bool allowsPicks() const
Definition: vislocationdisplay.h:71
Used for displaying a polyline, preview for a random line created throught well path.
Definition: visarrowdisplay.h:20
bool undomove_
Definition: vislocationdisplay.h:167
virtual bool hasText() const
Definition: vislocationdisplay.h:107
visBase::EventCatcher * eventcatcher_
Definition: vislocationdisplay.h:153
Definition: callback.h:254
Set of picks with something in common.
Definition: pickset.h:31
Set of pointers to objects.
Definition: commontypes.h:32
const Pick::Set * getSet() const
Definition: vislocationdisplay.h:46
virtual void redrawMultiSets()
Definition: vislocationdisplay.h:104
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
virtual bool hasDirection() const
Definition: vislocationdisplay.h:106
int waitsforpositionid_
Definition: vislocationdisplay.h:142
#define mVisTrans
Definition: visdata.h:31
const mVisTrans * transformation_
Definition: vislocationdisplay.h:154
bool selectionmodel_
Definition: vislocationdisplay.h:168
Interface for classes that select on basis of a key.
Definition: selector.h:25
int mousepressid_
Definition: vislocationdisplay.h:147
Used for displaying picksets of varying types. The class is not intended for standalone usage...
Definition: vislocationdisplay.h:36
void fillPar(IOPar &iop, const ODPolygon< T > &poly, const char *inpkey)
Definition: polygon.h:175
Pick::Set * set_
Definition: vislocationdisplay.h:138
A cartesian coordinate in 3D space.
Definition: coord.h:72
virtual bool draggerNormal() const
Definition: vislocationdisplay.h:114
Definition: visannot.h:43
OD::String with its own variable length buffer. The buffer has a guaranteed minimum size...
Definition: bufstring.h:40
BufferString errmsg_
Definition: horizontracker.h:119
Notifier< LocationDisplay > manip_
Definition: vislocationdisplay.h:140
Pick::Set * getSet()
Definition: vislocationdisplay.h:45
Definition: picklocation.h:21
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
Represents a point in spherical coordinates. The angle phi lies in the horizontal plane...
Definition: trigonometry.h:582
virtual NotifierAccess * getManipulationNotifier()
Definition: vislocationdisplay.h:75
virtual void setDraggerNormal(const Coord3 &)
Definition: vislocationdisplay.h:113
Definition: vissower.h:32
virtual void updateDragger()
Definition: vislocationdisplay.h:112
Utility to manage pick set lifecycles. Also supports change notifications.
Definition: picksetmgr.h:34
virtual void turnOnSelectionMode(bool)
Definition: vislocationdisplay.h:80
TypeSet< int > invalidpicks_
Definition: vislocationdisplay.h:144
Definition: visevent.h:87
Compound key consisting of ints.
Definition: multiid.h:25
MultiID getMultiID() const
Definition: vislocationdisplay.h:48
Coord3 undoloccoord_
Definition: vislocationdisplay.h:166