1 #ifndef vispolygonbodydisplay_h 2 #define vispolygonbodydisplay_h 16 #include "vissurveymod.h" 26 class GeomIndexedShape;
29 class TriangleStripSet;
32 namespace EM {
class PolygonBody; }
33 namespace MPE {
class PolygonBodyEditor; }
34 namespace Geometry {
class ExplPolygonSurface;
class ExplPlaneIntersection; }
58 Color getColor()
const;
66 void showManipulator(
bool);
67 bool isManipulatorShown()
const;
69 void setDisplayTransformation(
const mVisTrans*);
70 const mVisTrans* getDisplayTransformation()
const;
74 void display(
bool polygons,
bool body);
75 bool arePolygonsDisplayed()
const;
76 bool isBodyDisplayed()
const;
77 void setOnlyAtSectionsDisplay(
bool yn);
78 bool displayedOnlyAtSections()
const;
83 void touchAll(
bool,
bool updatemarker=
false);
85 {
return empolygonsurf_; }
90 virtual void setPixelDensity(
float);
98 void otherObjectsMoved(
102 void updatePolygonDisplay();
103 void updateSingleColor();
104 void updateManipulator();
107 {
return "EMPolygonsurface ID"; }
109 bool isPicking()
const;
113 void updateNearestPolygonMarker();
114 void setNewIntersectingPolygon(
const Coord3& normal,
123 void reMakeIntersectionSurface();
160 { setOnlyAtSectionsDisplay(yn); }
162 {
return displayedOnlyAtSections(); }
Geometry::ExplPlaneIntersection * explicitintersections_
Definition: vispolygonbodydisplay.h:137
#define mExpClass(module)
Definition: commondefs.h:160
od_int32 ObjectID
Definition: emposid.h:24
To be able to send and/or receive CallBacks, inherit from this class.
Definition: callback.h:272
Color nontexturecol_
Definition: vispolygonbodydisplay.h:152
const char * str() const
Definition: odstring.h:48
visBase::GeomIndexedShape * intersectiondisplay_
Definition: vispolygonbodydisplay.h:136
Export_Basic uiString toUiString(ViewStyle)
visBase::EventCatcher * eventcatcher_
Definition: vispolygonbodydisplay.h:127
bool canRemoveSelection() const
Definition: vispolygonbodydisplay.h:86
Interface class for Notifier. See comments there.
Definition: callback.h:161
visBase::DrawStyle * drawstyle_
Definition: vispolygonbodydisplay.h:155
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
const char * errMsg() const
Definition: vispolygonbodydisplay.h:89
Definition: visdrawstyle.h:33
Geometry::ExplPolygonSurface * explicitpolygons_
Definition: vispolygonbodydisplay.h:134
#define mDefaultFactoryInstantiation(baseclss, clss, keywrd, usernm)
Definition: factory.h:289
void displayIntersections(bool yn)
Definition: vispolygonbodydisplay.h:159
Definition: explplaneintersection.h:28
Used for displaying a polyline, preview for a random line created throught well path.
Definition: visarrowdisplay.h:20
Definition: vismpeeditor.h:44
bool showmanipulator_
Definition: vispolygonbodydisplay.h:150
Set of pointers to objects.
Definition: commontypes.h:32
Definition: visgeomindexedshape.h:40
EM::PolygonBody * getEMPolygonBody() const
Definition: vispolygonbodydisplay.h:84
Coord3 mousepos_
Definition: vispolygonbodydisplay.h:148
Definition: explpolygonsurface.h:29
VisualObjectImpl
Definition: visobject.h:128
Definition: vispolygonbodydisplay.h:46
Generalized set of parameters of the keyword-value type.
Definition: iopar.h:47
Class that can execute a task.
Definition: task.h:169
A Surface polygon Body.
Definition: empolygonbody.h:79
#define mVisTrans
Definition: visdata.h:31
ObjectEditor to edit EM::PolygonBody.
Definition: polygonsurfeditor.h:28
bool displaypolygons_
Definition: vispolygonbodydisplay.h:154
void fillPar(IOPar &iop, const ODPolygon< T > &poly, const char *inpkey)
Definition: polygon.h:175
EM::PolygonBody * empolygonsurf_
Definition: vispolygonbodydisplay.h:144
A cartesian coordinate in 3D space.
Definition: coord.h:72
const mVisTrans * displaytransform_
Definition: vispolygonbodydisplay.h:128
MPE::PolygonBodyEditor * polygonsurfeditor_
Definition: vispolygonbodydisplay.h:145
Definition: visannot.h:43
ObjectSet< const SurveyObject > intersectionobjs_
Definition: vispolygonbodydisplay.h:138
BufferString errmsg_
Definition: horizontracker.h:119
Geometry::ExplPolygonSurface * explicitbody_
Definition: vispolygonbodydisplay.h:131
visBase::GeomIndexedShape * polygondisplay_
Definition: vispolygonbodydisplay.h:133
Definition: vistristripset.h:22
bool areIntersectionsDisplayed() const
Definition: vispolygonbodydisplay.h:161
bool hasColor() const
Definition: vispolygonbodydisplay.h:60
static const char * sKeyEMPolygonSurfID()
Definition: vispolygonbodydisplay.h:106
Earth Model objects like horizons, faults, fault-sticks and bodies.
Definition: embody.h:25
Base class for all 'Display' objects.
Definition: vissurvobj.h:58
bool allowMaterialEdit() const
Definition: vispolygonbodydisplay.h:61
Color is an RGB color object, with a transparancy. The storage is in a 4-byte integer, similar to Qt.
Definition: color.h:26
visBase::PolyLine3D * nearestpolygonmarker_
Definition: vispolygonbodydisplay.h:141
bool isInlCrl() const
Definition: vispolygonbodydisplay.h:56
visBase::TriangleStripSet * intsurf_
Definition: vispolygonbodydisplay.h:156
Definition: vispolyline.h:64
TypeSet< int > planeids_
Definition: vispolygonbodydisplay.h:139
Definition: arraytesselator.h:21
int nearestpolygon_
Definition: vispolygonbodydisplay.h:142
Definition: visevent.h:87
visSurvey::MPEEditor * viseditor_
Definition: vispolygonbodydisplay.h:146
Compound key consisting of ints.
Definition: multiid.h:25
visBase::GeomIndexedShape * bodydisplay_
Definition: vispolygonbodydisplay.h:130