OpendTect  7.0
Classes | Public Member Functions | Protected Member Functions | Static Protected Member Functions | Protected Attributes | List of all members
visSurvey::MarchingCubesDisplay Class Reference
Inheritance diagram for visSurvey::MarchingCubesDisplay:
[legend]

Classes

struct  PlaneIntersectInfo
 

Public Member Functions

 MarchingCubesDisplay ()
 
bool allowMaterialEdit () const override
 
bool areIntersectionsDisplayed () const
 
bool canAddAttrib (int) const override
 
bool canHandleColTabSeqTrans (int) const override
 
bool canRemoveAttrib () const override
 
bool canRemoveSelection () const override
 
bool canSetColTabSequence () const override
 
bool canShowTexture () const override
 
bool displayedOnlyAtSections () const override
 
void displayIntersections (bool yn)
 
void enableAttrib (int attrib, bool yn) override
 
const char * errMsg () const override
 
SurveyObject::AttribFormat getAttributeFormat (int) const override
 
OD::Color getColor () const override
 
const ColTab::MapperSetupgetColTabMapperSetup (int, int) const override
 
const ColTab::SequencegetColTabSequence (int) const override
 
DataPackID getDataPackID (int attrib) const override
 
DataPackMgr::MgrID getDataPackMgrID () const override
 
DataPackID getDisplayedDataPackID (int attrib) const override
 
visBase::MarchingCubesSurfacegetDisplaySurface () const
 
const mVisTrans * getDisplayTransformation () const override
 
EM::ObjectID getEMID () const
 
EM::MarchingCubesSurfacegetMCSurface () const
 
MultiID getMultiID () const override
 
void getRandomPos (DataPointSet &, TaskRunner *) const override
 
const Attrib::SelSpecgetSelSpec (int attrib, int version=0) const override
 version=-1 gives current version More...
 
const TypeSet< Attrib::SelSpec > * getSelSpecs (int attrib) const override
 
bool hasColor () const override
 
bool hasSingleColorFallback () const override
 
bool isAttribEnabled (int attrib) const override
 
bool isInlCrl () const override
 
bool isVerticalPlane () const override
 
int nrAttribs () const override
 
void removeSelection (const Selector< Coord3 > &, TaskRunner *)
 
void setColor (OD::Color) override
 
void setColTabMapperSetup (int, const ColTab::MapperSetup &, TaskRunner *) override
 
void setColTabSequence (int, const ColTab::Sequence &, TaskRunner *) override
 
void setDepthAsAttrib (int)
 
void setDisplayTransformation (const mVisTrans *) override
 
bool setEMID (const EM::ObjectID &, TaskRunner *)
 
void setIsoPatch (int)
 
void setOnlyAtSectionsDisplay (bool yn) override
 
void setRandomPosData (int attrib, const DataPointSet *, TaskRunner *) override
 
void setSelSpec (int, const Attrib::SelSpec &) override
 
void setSelSpecs (int attrib, const TypeSet< Attrib::SelSpec > &) override
 
bool setVisSurface (visBase::MarchingCubesSurface *)
 Creates an EMObject for it. More...
 
bool usesColor () const override
 
void useTexture (bool yn, bool trigger) override
 
- Public Member Functions inherited from visBase::VisualObjectImpl
const MaterialgetMaterial () const
 
MaterialgetMaterial () override
 
bool isRightHandSystem () const override
 
NotifierAccessmaterialChange ()
 
void readLock ()
 
void readUnLock ()
 
void setLockable ()
 
void setMaterial (Material *) override
 
void setRightHandSystem (bool yn) override
 
bool tryReadLock ()
 
bool tryWriteLock ()
 
void writeLock ()
 
void writeUnLock ()
 
- Public Member Functions inherited from visBase::VisualObject
NotifierAccessdeSelection () override
 
virtual bool getBoundingBox (Coord3 &min, Coord3 &max) const
 
NotifierAccessrightClicked () override
 
const EventInforightClickedEventInfo () const
 
const TypeSet< VisID > * rightClickedPath () const override
 
bool selectable () const override
 
NotifierAccessselection () override
 
virtual void setSceneEventCatcher (EventCatcher *)
 
void setSelectable (bool yn)
 
- Public Member Functions inherited from visBase::DataObject
template<class T >
T * addNodeState (T *ns)
 
void deSelect () const
 
void enableTraversal (unsigned int mask, bool yn=true)
 
virtual const char * getClassName () const
 
SoNode * getInventorNode ()
 
const SoNode * getInventorNode () const
 
BufferString getName () const override
 
NodeStategetNodeState (int idx)
 
virtual float getPixelDensity () const
 
VisID id () const
 
virtual bool isOK () const
 
virtual bool isOn () const
 
bool isPickable (bool actively=true) const
 
virtual bool isSelected () const
 
bool isTraversalEnabled (unsigned int mask) const
 
const OD::Stringname () const override
 
osg::Node * osgNode (bool skipswitch=false)
 
const osg::Node * osgNode (bool skipswitch=false) const
 
NodeStateremoveNodeState (NodeState *)
 
virtual bool rightClickable () const
 
void select () const
 
bool serialize (const char *filename, bool binary=false)
 
virtual void setDisplayTransformation (const visBase::Transformation *)
 
void setID (VisID newid)
 
void setName (const char *) override
 
void setName (const uiString &uistr)
 
void setParent (DataObjectGroup *g)
 
void setPickable (bool actively, bool passively=true)
 
virtual void setPixelDensity (float dpi)
 
void setUiName (const uiString &)
 
virtual bool turnOn (bool yn)
 
uiString uiName () const
 
void updateSel () const
 
- Public Member Functions inherited from SharedObject
 SharedObject (const char *nm=nullptr)
 
 SharedObject (const SharedObject &)
 
- Public Member Functions inherited from NamedCallBacker
 NamedCallBacker (const char *nm=0)
 
 NamedCallBacker (const NamedCallBacker &)
 
virtual Notifier< NamedCallBacker > & objectToBeDeleted () const
 
bool operator== (const NamedCallBacker &oth) const
 
bool operator== (const NamedObject &oth) const
 
- Public Member Functions inherited from CallBacker
 CallBacker ()
 
 CallBacker (const CallBacker &)
 
virtual ~CallBacker ()
 
bool attachCB (const NotifierAccess &, const CallBack &, bool onlyifnew=false) const
 
bool attachCB (const NotifierAccess *notif, const CallBack &cb, bool onlyifnew=false) const
 
void detachAllNotifiers () const
 Call from the destructor of your inherited object. More...
 
void detachCB (const NotifierAccess &, const CallBack &) const
 
void detachCB (const NotifierAccess *notif, const CallBack &cb) const
 
virtual bool isCapsule () const
 
bool isNotifierAttached (const NotifierAccess *) const
 Only for debugging purposes, don't use. More...
 
void stopReceivingNotifications () const
 
virtual CallBackertrueCaller ()
 
- Public Member Functions inherited from NamedObject
 NamedObject (const char *nm=nullptr)
 
 NamedObject (const NamedObject &oth)
 
virtual ~NamedObject ()
 
bool getNameFromPar (const IOPar &)
 
NamedObjectoperator= (const NamedObject &)
 
bool operator== (const NamedObject &oth) const
 
- Public Member Functions inherited from ObjectWithName
virtual ~ObjectWithName ()
 
bool hasName (const char *nm) const
 
bool hasName (const name_type &nm) const
 
void putNameInPar (IOPar &) const
 
- Public Member Functions inherited from RefCount::Referenced
void addObserver (WeakPtrBase *obs)
 Not for normal use. May become private. More...
 
int nrRefs () const
 Only for expert use. More...
 
void ref () const
 
bool refIfReffed () const
 Don't use in production, for debugging. More...
 
void removeObserver (WeakPtrBase *obs)
 Not for normal use. May become private. More...
 
bool tryRef () const
 Not for normal use. May become private. More...
 
void unRef () const
 
void unRefNoDelete () const
 
- Public Member Functions inherited from visSurvey::SurveyObject
virtual void acceptManipulation ()
 
virtual bool addAttrib ()
 
virtual void allowShading (bool)
 
virtual bool allowsPicks () const
 
virtual bool alreadyTransformed (int attrib) const
 
virtual void annotateNextUpdateStage (bool yn)
 
virtual float calcDist (const Coord3 &pos) const
 
virtual bool canBDispOn2DViewer () const
 
virtual bool canBeRemoved () const
 
virtual bool canDuplicate () const
 
virtual bool canEnableTextureInterpolation () const
 
virtual bool canHaveMultipleAttribs () const
 
virtual bool canHaveMultipleTextures () const
 
virtual bool canResetManipulation () const
 
virtual void clearSelections ()
 
void doRef ()
 
void doUnRef ()
 
virtual SurveyObjectduplicate (TaskRunner *) const
 
virtual void enableEditor (bool yn)
 
virtual void enableTextureInterpolation (bool)
 
const Survey::Geometry3Dget3DSurvGeom () const
 
virtual const char * get3DSurvGeomName () const
 
virtual OD::Pol2D3D getAllowedDataType () const
 
virtual OD::Color getAnnotColor () const
 
virtual unsigned char getAttribTransparency (int) const
 
OD::Color getBackgroundColor () const
 
virtual const RegularSeisDataPackgetCacheVolume (int attr) const
 
void getChannelName (int, uiString &) const
 
virtual visBase::TextureChannelsgetChannels () const
 
virtual visBase::TextureChannel2RGBAgetChannels2RGBA ()
 
const visBase::TextureChannel2RGBAgetChannels2RGBA () const
 
virtual void getChildren (TypeSet< VisID > &) const
 
virtual void getDataTraceBids (TypeSet< BinID > &) const
 
virtual Interval< float > getDataTraceRange () const
 
virtual Pos::GeomID getGeomID () const
 
virtual const TypeSet< float > * getHistogram (int attrib) const
 
virtual void getLineWidthBounds (int &min, int &max)
 
virtual NotifierAccessgetLockNotifier ()
 
virtual NotifierAccessgetManipulationNotifier ()
 
virtual BufferString getManipulationString () const
 
virtual const MouseCursorgetMouseCursor () const
 
virtual NotifierAccessgetMovementNotifier ()
 
virtual Coord3 getNormal (const Coord3 &pos) const
 
virtual void getObjectInfo (BufferString &) const
 
virtual void getPickingMessage (BufferString &msg) const
 
virtual void getRandomPosCache (int attrib, DataPointSet &) const
 
virtual int getResolution () const
 
virtual BufferString getResolutionName (int) const
 
bool getSaveInSessionsFlag () const
 
virtual ScenegetScene ()
 
virtual const ScenegetScene () const
 
virtual SceneID getSceneID () const
 
virtual void getTraceKeyPath (TrcKeyPath &, TypeSet< Coord > *=nullptr) const
 
virtual Coord3 getTranslation () const
 
virtual TrcKeyZSampling getTrcKeyZSampling (int attrib) const
 
int getUpdateStageNr () const
 
virtual const ZAxisTransformgetZAxisTransform () const
 
virtual bool hasPosModeManipulator () const
 
bool hasSelSpec (const Attrib::SelSpec &, int &attrib, int &version) const
 
virtual bool hasSpecificLineColor () const
 
virtual bool hasSpecificMarkerColor () const
 
virtual bool isAngle (int attrib) const
 
bool isAnyAttribEnabled () const
 
virtual bool isLocked () const
 
virtual bool isManipulated () const
 
virtual bool isManipulatorShown () const
 
virtual bool isPainting () const
 
virtual bool isPicking () const
 
virtual const OD::LineStylelineStyle () const
 
virtual void lock (bool yn)
 
virtual const MarkerStyle3DmarkerStyle () const
 
virtual float maxDist () const
 
virtual int nrResolutions () const
 
virtual int nrTextures (int attrib) const
 
virtual void readAuxData ()
 
virtual bool removeAttrib (int attrib)
 
virtual bool removeSelections (TaskRunner *)
 
virtual void resetManipulation ()
 
virtual int selectedTexture (int attrib) const
 
virtual void selectTexture (int attrib, int texture)
 
virtual void set3DSurvGeom (const Survey::Geometry3D *)
 
virtual void setAngleFlag (int attrib, bool yn)
 
virtual void setAnnotColor (OD::Color)
 
virtual void setAttribTransparency (int, unsigned char)
 
virtual bool setChannels2RGBA (visBase::TextureChannel2RGBA *)
 
virtual bool setDataPackID (int attrib, DataPackID, TaskRunner *)
 
virtual bool setDataVolume (int attrib, const RegularSeisDataPack *, TaskRunner *)
 
virtual void setLineStyle (const OD::LineStyle &)
 
virtual void setMarkerStyle (const MarkerStyle3D &)
 
virtual void setResolution (int, TaskRunner *)
 
void setSaveInSessionsFlag (bool yn)
 
virtual void setScene (Scene *scn)
 
virtual void setTranslation (const Coord3 &)
 
void setUserRefs (int attrib, BufferStringSet *nms)
 
virtual bool setZAxisTransform (ZAxisTransform *, TaskRunner *)
 
virtual void showManipulator (bool yn)
 
virtual bool showsTexture () const
 
virtual void snapToTracePos (Coord3 &) const
 
virtual bool swapAttribs (int a0, int a1)
 
virtual bool textureInterpolationEnabled () const
 
virtual void turnOnSelectionMode (bool)
 
virtual void updateMouseCursorCB (CallBacker *)
 
virtual bool usesTexture () const
 

Protected Member Functions

virtual ~MarchingCubesDisplay ()
 
void fillPar (IOPar &) const override
 
void getMousePosInfo (const visBase::EventInfo &, Coord3 &xyzpos, BufferString &val, BufferString &info) const override
 
void getMousePosInfo (const visBase::EventInfo &, IOPar &) const override
 
void materialChangeCB (CallBacker *) override
 
void otherObjectsMoved (const ObjectSet< const SurveyObject > &, VisID whichobj) override
 
void updateIntersectionDisplay ()
 
void updateSingleColor ()
 
bool updateVisFromEM (bool onlyshape, TaskRunner *)
 
bool usePar (const IOPar &) override
 
- Protected Member Functions inherited from visBase::VisualObjectImpl
 VisualObjectImpl (bool selectable)
 
virtual ~VisualObjectImpl ()
 
int addChild (osg::Node *)
 
int childIndex (const osg::Node *) const
 
void insertChild (int pos, osg::Node *)
 
void removeChild (osg::Node *)
 
void setGroupNode (DataObject *)
 
virtual void setGroupNode (osg::Group *)
 Must be called during construction. More...
 
- Protected Member Functions inherited from visBase::VisualObject
 VisualObject (bool selectable=false)
 
 ~VisualObject ()
 
void triggerDeSel () override
 
void triggerRightClick (const EventInfo *) override
 
void triggerSel () override
 
- Protected Member Functions inherited from visBase::DataObject
 DataObject ()
 
virtual ~DataObject ()
 
void doAddNodeState (NodeState *ns)
 
virtual osg::StateSet * getStateSet ()
 
template<class T >
T * setOsgNode (T *t)
 Must be called during construction. More...
 
void updateNodemask ()
 
- Protected Member Functions inherited from SharedObject
virtual ~SharedObject ()
 
- Protected Member Functions inherited from NamedCallBacker
void sendDelNotif () const
 
- Protected Member Functions inherited from RefCount::Referenced
 Referenced ()
 
 Referenced (const Referenced &)
 
virtual ~Referenced ()
 
Referencedoperator= (const Referenced &)
 
- Protected Member Functions inherited from visSurvey::SurveyObject
 SurveyObject ()
 
 ~SurveyObject ()
 
void initAdaptiveMouseCursor (CallBacker *eventcb, VisID objid, int inplanedragkeys, MouseCursor &)
 

Static Protected Member Functions

static const char * sKeyAttribSelSpec ()
 
static const char * sKeyColTabMapper ()
 
static const char * sKeyColTabSequence ()
 
static const char * sKeyEarthModelID ()
 
static const char * sKeyUseTexture ()
 
- Static Protected Member Functions inherited from visSurvey::SurveyObject
static int cValNameOffset ()
 

Protected Attributes

ObjectSet< DataPointSetcache_
 
bool displayintersections_ = false
 
visBase::MarchingCubesSurfacedisplaysurface_ = nullptr
 
EM::MarchingCubesSurfaceemsurface_ = nullptr
 
EM::ImplicitBodyimpbody_ = nullptr
 
const mVisTrans * intersectiontransform_ =nullptr
 
ObjectSet< PlaneIntersectInfointsinfo_
 
bool isattribenabled_ = true
 
visBase::Transformationmodel2displayspacetransform_ = nullptr
 
Attrib::SelSpec selspec_
 
TypeSet< Attrib::SelSpecselspecs_
 
- Protected Attributes inherited from visBase::VisualObjectImpl
Materialmaterial_
 
bool righthandsystem_
 
- Protected Attributes inherited from visBase::DataObject
DataObjectGroupparent_
 
- Protected Attributes inherited from NamedCallBacker
Threads::Atomic< bool > delalreadytriggered_
 
Notifier< NamedCallBackerdelnotif_
 
- Protected Attributes inherited from NamedObject
BufferString name_
 
- Protected Attributes inherited from visSurvey::SurveyObject
BufferString errmsg_
 
bool locked_ = false
 
const Survey::Geometry3Ds3dgeom_ = nullptr
 
bool saveinsessionsflag_ = true
 
Scenescene_ = nullptr
 
BufferString survname_
 
int updatestagenr_ = 0
 
ObjectSet< BufferStringSetuserrefs_
 
bool usestexture_ = true
 
bool validtexture_ = false
 

Additional Inherited Members

- Public Types inherited from ObjectWithName
typedef OD::String name_type
 
- Public Types inherited from visSurvey::SurveyObject
enum  AttribFormat {
  None , Cube , Traces , RandomPos ,
  OtherFormat
}
 
- Static Public Member Functions inherited from visBase::VisualObjectImpl
static const char * sKeyIsOn ()
 
static const char * sKeyMaterial ()
 
static const char * sKeyMaterialID ()
 
- Static Public Member Functions inherited from visBase::DataObject
static osgViewer::CompositeViewer * getCommonViewer ()
 
static float getDefaultPixelDensity ()
 
static VisID getID (const osg::Node *)
 
static bool isVisualizationThread ()
 
static void requestSingleRedraw ()
 
static void setCommonViewer (osgViewer::CompositeViewer *)
 
static void setDefaultPixelDensity (float)
 
static void setVisualizationThread (const void *)
 Call only once from initialization. More...
 
- Static Public Member Functions inherited from SharedObject
static Notifier< SharedObject > & instanceCreated ()
 
- Static Public Member Functions inherited from CallBacker
static void createReceiverForCurrentThread ()
 
static void removeReceiverForCurrentThread ()
 
- Static Public Member Functions inherited from RefCount::Referenced
static bool isSane (const Referenced *)
 
- Static Public Member Functions inherited from visSurvey::SurveyObject
static float sDefMaxDist ()
 
static const char * sKeyAttribs ()
 
static const char * sKeyColTabID ()
 
static const char * sKeyLocked ()
 
static const char * sKeyMapper ()
 
static const char * sKeyNrAttribs ()
 
static const char * sKeyNrVersions ()
 
static const char * sKeySelTexture ()
 
static const char * sKeySequence ()
 
static const char * sKeySurvey ()
 
static const char * sKeyTC2RGBA ()
 
static const char * sKeyTextTrans ()
 

Detailed Description

<>

Constructor & Destructor Documentation

◆ MarchingCubesDisplay()

visSurvey::MarchingCubesDisplay::MarchingCubesDisplay ( )

◆ ~MarchingCubesDisplay()

virtual visSurvey::MarchingCubesDisplay::~MarchingCubesDisplay ( )
protectedvirtual

Member Function Documentation

◆ allowMaterialEdit()

bool visSurvey::MarchingCubesDisplay::allowMaterialEdit ( ) const
inlineoverridevirtual

Reimplemented from visSurvey::SurveyObject.

◆ areIntersectionsDisplayed()

bool visSurvey::MarchingCubesDisplay::areIntersectionsDisplayed ( ) const
inline

◆ canAddAttrib()

bool visSurvey::MarchingCubesDisplay::canAddAttrib ( int  ) const
overridevirtual

Reimplemented from visSurvey::SurveyObject.

◆ canHandleColTabSeqTrans()

bool visSurvey::MarchingCubesDisplay::canHandleColTabSeqTrans ( int  ) const
overridevirtual

Reimplemented from visSurvey::SurveyObject.

◆ canRemoveAttrib()

bool visSurvey::MarchingCubesDisplay::canRemoveAttrib ( ) const
overridevirtual

Reimplemented from visSurvey::SurveyObject.

◆ canRemoveSelection()

bool visSurvey::MarchingCubesDisplay::canRemoveSelection ( ) const
inlineoverridevirtual

Reimplemented from visSurvey::SurveyObject.

◆ canSetColTabSequence()

bool visSurvey::MarchingCubesDisplay::canSetColTabSequence ( ) const
overridevirtual

Reimplemented from visSurvey::SurveyObject.

◆ canShowTexture()

bool visSurvey::MarchingCubesDisplay::canShowTexture ( ) const
overridevirtual

Reimplemented from visSurvey::SurveyObject.

◆ displayedOnlyAtSections()

bool visSurvey::MarchingCubesDisplay::displayedOnlyAtSections ( ) const
overridevirtual

Reimplemented from visSurvey::SurveyObject.

◆ displayIntersections()

void visSurvey::MarchingCubesDisplay::displayIntersections ( bool  yn)
inline

◆ enableAttrib()

void visSurvey::MarchingCubesDisplay::enableAttrib ( int  attrib,
bool  yn 
)
overridevirtual

Reimplemented from visSurvey::SurveyObject.

◆ errMsg()

const char* visSurvey::MarchingCubesDisplay::errMsg ( ) const
inlineoverridevirtual

Reimplemented from visBase::DataObject.

◆ fillPar()

void visSurvey::MarchingCubesDisplay::fillPar ( IOPar ) const
overrideprotectedvirtual

Reimplemented from visBase::VisualObjectImpl.

◆ getAttributeFormat()

SurveyObject::AttribFormat visSurvey::MarchingCubesDisplay::getAttributeFormat ( int  ) const
overridevirtual

Reimplemented from visSurvey::SurveyObject.

◆ getColor()

OD::Color visSurvey::MarchingCubesDisplay::getColor ( ) const
overridevirtual

Reimplemented from visSurvey::SurveyObject.

◆ getColTabMapperSetup()

const ColTab::MapperSetup* visSurvey::MarchingCubesDisplay::getColTabMapperSetup ( int  ,
int   
) const
overridevirtual

Reimplemented from visSurvey::SurveyObject.

◆ getColTabSequence()

const ColTab::Sequence* visSurvey::MarchingCubesDisplay::getColTabSequence ( int  ) const
overridevirtual

Reimplemented from visSurvey::SurveyObject.

◆ getDataPackID()

DataPackID visSurvey::MarchingCubesDisplay::getDataPackID ( int  attrib) const
overridevirtual

Reimplemented from visSurvey::SurveyObject.

◆ getDataPackMgrID()

DataPackMgr::MgrID visSurvey::MarchingCubesDisplay::getDataPackMgrID ( ) const
inlineoverridevirtual

Reimplemented from visSurvey::SurveyObject.

◆ getDisplayedDataPackID()

DataPackID visSurvey::MarchingCubesDisplay::getDisplayedDataPackID ( int  attrib) const
overridevirtual

Reimplemented from visSurvey::SurveyObject.

◆ getDisplaySurface()

visBase::MarchingCubesSurface* visSurvey::MarchingCubesDisplay::getDisplaySurface ( ) const
inline

◆ getDisplayTransformation()

const mVisTrans* visSurvey::MarchingCubesDisplay::getDisplayTransformation ( ) const
overridevirtual

All positions going from the outside world to the vis should be transformed with this transform. This enables us to have different coord-systems outside OI, e.g. we can use UTM coords outside the vis without loosing precision in the vis.

Reimplemented from visBase::DataObject.

◆ getEMID()

EM::ObjectID visSurvey::MarchingCubesDisplay::getEMID ( ) const

◆ getMCSurface()

EM::MarchingCubesSurface* visSurvey::MarchingCubesDisplay::getMCSurface ( ) const
inline

◆ getMousePosInfo() [1/2]

void visSurvey::MarchingCubesDisplay::getMousePosInfo ( const visBase::EventInfo ,
Coord3 xyzpos,
BufferString val,
BufferString info 
) const
overrideprotectedvirtual

Reimplemented from visSurvey::SurveyObject.

◆ getMousePosInfo() [2/2]

void visSurvey::MarchingCubesDisplay::getMousePosInfo ( const visBase::EventInfo ,
IOPar  
) const
overrideprotectedvirtual

Reimplemented from visSurvey::SurveyObject.

◆ getMultiID()

MultiID visSurvey::MarchingCubesDisplay::getMultiID ( ) const
overridevirtual

Reimplemented from visSurvey::SurveyObject.

◆ getRandomPos()

void visSurvey::MarchingCubesDisplay::getRandomPos ( DataPointSet ,
TaskRunner  
) const
overridevirtual

Random pos: Every position is put in the DataPointSet no matter which original patch it belongs to

Reimplemented from visSurvey::SurveyObject.

◆ getSelSpec()

const Attrib::SelSpec* visSurvey::MarchingCubesDisplay::getSelSpec ( int  attrib,
int  version = 0 
) const
overridevirtual

version=-1 gives current version

Reimplemented from visSurvey::SurveyObject.

◆ getSelSpecs()

const TypeSet<Attrib::SelSpec>* visSurvey::MarchingCubesDisplay::getSelSpecs ( int  attrib) const
overridevirtual

Reimplemented from visSurvey::SurveyObject.

◆ hasColor()

bool visSurvey::MarchingCubesDisplay::hasColor ( ) const
inlineoverridevirtual

Reimplemented from visSurvey::SurveyObject.

◆ hasSingleColorFallback()

bool visSurvey::MarchingCubesDisplay::hasSingleColorFallback ( ) const
inlineoverridevirtual

Reimplemented from visSurvey::SurveyObject.

◆ isAttribEnabled()

bool visSurvey::MarchingCubesDisplay::isAttribEnabled ( int  attrib) const
overridevirtual

Reimplemented from visSurvey::SurveyObject.

◆ isInlCrl()

bool visSurvey::MarchingCubesDisplay::isInlCrl ( ) const
inlineoverridevirtual

Reimplemented from visSurvey::SurveyObject.

◆ isVerticalPlane()

bool visSurvey::MarchingCubesDisplay::isVerticalPlane ( ) const
inlineoverridevirtual

Reimplemented from visSurvey::SurveyObject.

◆ materialChangeCB()

void visSurvey::MarchingCubesDisplay::materialChangeCB ( CallBacker )
overrideprotectedvirtual

Reimplemented from visBase::VisualObjectImpl.

◆ nrAttribs()

int visSurvey::MarchingCubesDisplay::nrAttribs ( ) const
overridevirtual

Reimplemented from visSurvey::SurveyObject.

◆ otherObjectsMoved()

void visSurvey::MarchingCubesDisplay::otherObjectsMoved ( const ObjectSet< const SurveyObject > &  ,
VisID  whichobj 
)
overrideprotectedvirtual

If other objects are moved, removed or added in the scene, this function is called.

Note
that it only notifies on objects that return something on getMovementNotifier().
Parameters
whichobjrefers to id of the moved object

Reimplemented from visSurvey::SurveyObject.

◆ removeSelection()

void visSurvey::MarchingCubesDisplay::removeSelection ( const Selector< Coord3 > &  ,
TaskRunner  
)

◆ setColor()

void visSurvey::MarchingCubesDisplay::setColor ( OD::Color  )
overridevirtual

Reimplemented from visSurvey::SurveyObject.

◆ setColTabMapperSetup()

void visSurvey::MarchingCubesDisplay::setColTabMapperSetup ( int  ,
const ColTab::MapperSetup ,
TaskRunner  
)
overridevirtual

Reimplemented from visSurvey::SurveyObject.

◆ setColTabSequence()

void visSurvey::MarchingCubesDisplay::setColTabSequence ( int  ,
const ColTab::Sequence ,
TaskRunner  
)
overridevirtual

Reimplemented from visSurvey::SurveyObject.

◆ setDepthAsAttrib()

void visSurvey::MarchingCubesDisplay::setDepthAsAttrib ( int  )

◆ setDisplayTransformation()

void visSurvey::MarchingCubesDisplay::setDisplayTransformation ( const mVisTrans *  )
override

◆ setEMID()

bool visSurvey::MarchingCubesDisplay::setEMID ( const EM::ObjectID ,
TaskRunner  
)

◆ setIsoPatch()

void visSurvey::MarchingCubesDisplay::setIsoPatch ( int  )

◆ setOnlyAtSectionsDisplay()

void visSurvey::MarchingCubesDisplay::setOnlyAtSectionsDisplay ( bool  yn)
overridevirtual

Reimplemented from visSurvey::SurveyObject.

◆ setRandomPosData()

void visSurvey::MarchingCubesDisplay::setRandomPosData ( int  attrib,
const DataPointSet ,
TaskRunner  
)
overridevirtual

Reimplemented from visSurvey::SurveyObject.

◆ setSelSpec()

void visSurvey::MarchingCubesDisplay::setSelSpec ( int  ,
const Attrib::SelSpec  
)
overridevirtual

Reimplemented from visSurvey::SurveyObject.

◆ setSelSpecs()

void visSurvey::MarchingCubesDisplay::setSelSpecs ( int  attrib,
const TypeSet< Attrib::SelSpec > &   
)
overridevirtual

Reimplemented from visSurvey::SurveyObject.

◆ setVisSurface()

bool visSurvey::MarchingCubesDisplay::setVisSurface ( visBase::MarchingCubesSurface )

Creates an EMObject for it.

◆ sKeyAttribSelSpec()

static const char* visSurvey::MarchingCubesDisplay::sKeyAttribSelSpec ( )
inlinestaticprotected

◆ sKeyColTabMapper()

static const char* visSurvey::MarchingCubesDisplay::sKeyColTabMapper ( )
inlinestaticprotected

◆ sKeyColTabSequence()

static const char* visSurvey::MarchingCubesDisplay::sKeyColTabSequence ( )
inlinestaticprotected

◆ sKeyEarthModelID()

static const char* visSurvey::MarchingCubesDisplay::sKeyEarthModelID ( )
inlinestaticprotected

◆ sKeyUseTexture()

static const char* visSurvey::MarchingCubesDisplay::sKeyUseTexture ( )
inlinestaticprotected

◆ updateIntersectionDisplay()

void visSurvey::MarchingCubesDisplay::updateIntersectionDisplay ( )
protected

◆ updateSingleColor()

void visSurvey::MarchingCubesDisplay::updateSingleColor ( )
protected

◆ updateVisFromEM()

bool visSurvey::MarchingCubesDisplay::updateVisFromEM ( bool  onlyshape,
TaskRunner  
)
protected

◆ usePar()

bool visSurvey::MarchingCubesDisplay::usePar ( const IOPar )
overrideprotectedvirtual

Reimplemented from visBase::VisualObjectImpl.

◆ usesColor()

bool visSurvey::MarchingCubesDisplay::usesColor ( ) const
overridevirtual

Reimplemented from visSurvey::SurveyObject.

◆ useTexture()

void visSurvey::MarchingCubesDisplay::useTexture ( bool  yn,
bool  trigger 
)
overridevirtual

Reimplemented from visSurvey::SurveyObject.

Member Data Documentation

◆ cache_

ObjectSet<DataPointSet> visSurvey::MarchingCubesDisplay::cache_
protected

◆ displayintersections_

bool visSurvey::MarchingCubesDisplay::displayintersections_ = false
protected

◆ displaysurface_

visBase::MarchingCubesSurface* visSurvey::MarchingCubesDisplay::displaysurface_ = nullptr
protected

◆ emsurface_

EM::MarchingCubesSurface* visSurvey::MarchingCubesDisplay::emsurface_ = nullptr
protected

◆ impbody_

EM::ImplicitBody* visSurvey::MarchingCubesDisplay::impbody_ = nullptr
protected

◆ intersectiontransform_

const mVisTrans* visSurvey::MarchingCubesDisplay::intersectiontransform_ =nullptr
protected

◆ intsinfo_

ObjectSet<PlaneIntersectInfo> visSurvey::MarchingCubesDisplay::intsinfo_
protected

◆ isattribenabled_

bool visSurvey::MarchingCubesDisplay::isattribenabled_ = true
protected

◆ model2displayspacetransform_

visBase::Transformation* visSurvey::MarchingCubesDisplay::model2displayspacetransform_ = nullptr
protected

◆ selspec_

Attrib::SelSpec visSurvey::MarchingCubesDisplay::selspec_
protected

◆ selspecs_

TypeSet<Attrib::SelSpec> visSurvey::MarchingCubesDisplay::selspecs_
protected

Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2024