OpendTect-6_4  6.4
Public Member Functions | Static Public Member Functions | Private Member Functions | Static Private Member Functions | List of all members
visBase::Lines Class Reference
Inheritance diagram for visBase::Lines:
[legend]

Public Member Functions

 Lines ()
 
virtual const char * getClassName () const
 
- Public Member Functions inherited from visBase::VertexShape
 VertexShape ()
 
void setPrimitiveType (Geometry::PrimitiveSet::PrimitiveType)
 Should be called before adding statesets. More...
 
NormalsgetNormals ()
 
const NormalsgetNormals () const
 
void setNormals (Normals *)
 
TextureCoordsgetTextureCoords ()
 
const TextureCoordsgetTextureCoords () const
 
void setTextureCoords (TextureCoords *)
 
virtual void setCoordinates (Coordinates *coords)
 
virtual CoordinatesgetCoordinates ()
 
virtual const CoordinatesgetCoordinates () const
 
virtual void setLineStyle (const OD::LineStyle &)
 
void removeSwitch ()
 
virtual void setDisplayTransformation (const visBase::Transformation *)
 
const visBase::TransformationgetDisplayTransformation () const
 
void dirtyCoordinates ()
 
void addPrimitiveSet (Geometry::PrimitiveSet *)
 
void removePrimitiveSet (const Geometry::PrimitiveSet *)
 
void removeAllPrimitiveSets ()
 
int nrPrimitiveSets () const
 
virtual void touchPrimitiveSet (int)
 
Geometry::PrimitiveSetgetPrimitiveSet (int)
 
void setMaterial (Material *mt)
 
void materialChangeCB (CallBacker *)
 
void coordinatesChangedCB (CallBacker *)
 
void enableCoordinatesChangedCB (bool yn)
 
void useOsgAutoNormalComputation (bool)
 
bool useOsgAutoNormalComputation () const
 
Coord3 getOsgNormal (int) const
 
void setColorBindType (BindType)
 
int getNormalBindType ()
 
void setNormalBindType (BindType)
 
void updatePartialGeometry (Interval< int >)
 
void useVertexBufferRender (bool)
 
void setTextureChannels (TextureChannels *)
 
const unsigned char * getTextureData (int &, int &, int &) const
 
void forceRedraw (bool=true)
 
void setAttribAndMode (osg::StateAttribute *)
 
- Public Member Functions inherited from visBase::Shape
MaterialgetMaterial ()
 
const MaterialgetMaterial () const
 
void setMaterialBinding (int)
 
int getMaterialBinding () const
 
void setRenderMode (RenderMode)
 
void enableRenderLighting (bool)
 
int usePar (const IOPar &)
 osg default render lighting is on More...
 
void fillPar (IOPar &) const
 
- Public Member Functions inherited from visBase::VisualObject
virtual bool getBoundingBox (Coord3 &min, Coord3 &max) const
 
virtual void setSceneEventCatcher (EventCatcher *)
 
void setSelectable (bool yn)
 
bool selectable () const
 
NotifierAccessselection ()
 
NotifierAccessdeSelection ()
 
virtual NotifierAccessrightClicked ()
 
const EventInforightClickedEventInfo () const
 
const TypeSet< int > * rightClickedPath () const
 
- Public Member Functions inherited from visBase::DataObject
virtual bool isOK () const
 
int id () const
 
void setID (int nid)
 
uiString name () const
 
virtual void setName (const uiString &)
 
osg::Node * osgNode (bool skipswitch=false)
 
const osg::Node * osgNode (bool skipswitch=false) const
 
void enableTraversal (unsigned int mask, bool yn=true)
 
bool isTraversalEnabled (unsigned int mask) const
 
SoNode * getInventorNode ()
 
const SoNode * getInventorNode () const
 
virtual bool turnOn (bool yn)
 
virtual bool isOn () const
 
bool isPickable (bool actively=true) const
 
void setPickable (bool actively, bool passively=true)
 
virtual bool rightClickable () const
 
void select () const
 
void deSelect () const
 
void updateSel () const
 
virtual bool isSelected () const
 
virtual void setRightHandSystem (bool yn)
 
virtual bool isRightHandSystem () const
 
virtual void setPixelDensity (float dpi)
 
virtual float getPixelDensity () const
 
virtual const char * errMsg () const
 
bool serialize (const char *filename, bool binary=false)
 
void setParent (DataObjectGroup *g)
 
template<class T >
T * addNodeState (T *ns)
 
NodeStateremoveNodeState (NodeState *)
 
NodeStategetNodeState (int idx)
 
- Public Member Functions inherited from CallBacker
 CallBacker ()
 
 CallBacker (const CallBacker &)
 
virtual ~CallBacker ()
 
bool attachCB (NotifierAccess &, const CallBack &, bool onlyifnew=false)
 
bool attachCB (NotifierAccess *notif, const CallBack &cb, bool onlyifnew=false)
 
void detachCB (NotifierAccess &, const CallBack &)
 
void detachCB (NotifierAccess *notif, const CallBack &cb)
 
bool isNotifierAttached (NotifierAccess *) const
 Only for debugging purposes, don't use. More...
 

Static Public Member Functions

static Linescreate ()
 
static void initClass ()
 
static const char * getStaticClassName ()
 
static const char * sFactoryKeyword ()
 
- Static Public Member Functions inherited from visBase::VertexShape
static VertexShapecreate ()
 
static void initClass ()
 
static const char * getStaticClassName ()
 
static const char * sFactoryKeyword ()
 
- Static Public Member Functions inherited from visBase::Shape
static int cOverallMaterialBinding ()
 
static int cPerVertexMaterialBinding ()
 
- Static Public Member Functions inherited from visBase::DataObject
static int getID (const osg::Node *)
 
static float getDefaultPixelDensity ()
 
static void setVisualizationThread (const void *)
 Call only once from initialization. More...
 
static bool isVisualizationThread ()
 
static void requestSingleRedraw ()
 
static void setCommonViewer (osgViewer::CompositeViewer *)
 
static osgViewer::CompositeViewer * getCommonViewer ()
 

Private Member Functions

Linesoperator= (const Lines &)
 
 Lines (const Lines &)
 

Static Private Member Functions

static visBase::DataObjectcreateInternal ()
 

Additional Inherited Members

- Public Types inherited from visBase::VertexShape
enum  BindType {
  BIND_OFF = 0, BIND_OVERALL, BIND_PER_PRIMITIVE_SET, BIND_PER_PRIMITIVE,
  BIND_PER_VERTEX
}
 
- Protected Member Functions inherited from visBase::VertexShape
NormalsgtNormals () const
 
TextureCoordsgtTextureCoords () const
 
 VertexShape (Geometry::PrimitiveSet::PrimitiveType, bool creategeode)
 
 ~VertexShape ()
 
void setupOsgNode ()
 
virtual void addPrimitiveSetToScene (osg::PrimitiveSet *)
 
virtual void removePrimitiveSetFromScene (const osg::PrimitiveSet *)
 
void setUpdateVar (bool &var, bool yn)
 
- Protected Member Functions inherited from visBase::Shape
MaterialgtMaterial () const
 
 Shape ()
 
virtual ~Shape ()
 
- Protected Member Functions inherited from visBase::VisualObject
void triggerSel ()
 
void triggerDeSel ()
 
void triggerRightClick (const EventInfo *)
 
 VisualObject (bool selectable=false)
 
 ~VisualObject ()
 
- Protected Member Functions inherited from visBase::DataObject
virtual osg::StateSet * getStateSet ()
 
void doAddNodeState (NodeState *ns)
 
 DataObject ()
 
template<class T >
T * setOsgNode (T *t)
 Must be called during construction. More...
 
void updateNodemask ()
 
- Protected Member Functions inherited from CallBacker
void detachAllNotifiers ()
 Call from the destructor of your inherited object. More...
 
- Static Protected Member Functions inherited from visBase::Shape
static const char * sKeyOnOff ()
 
static const char * sKeyTexture ()
 
static const char * sKeyMaterial ()
 
- Protected Attributes inherited from visBase::VertexShape
bool needstextureupdate_
 Will trigger redraw request if necessary. More...
 
Normalsnormals_
 
Coordinatescoords_
 
TextureCoordstexturecoords_
 
osg::Node * node_
 
osg::Geode * geode_
 
osg::Geometry * osggeom_
 
bool useosgsmoothnormal_
 
bool usecoordinateschangedcb_
 
BindType colorbindtype_
 
BindType normalbindtype_
 
RefMan< TextureChannelschannels_
 
NodeCallbackHandler * nodecallbackhandler_
 
TextureCallbackHandler * texturecallbackhandler_
 
Threads::Lock redrawlock_
 
bool isredrawing_
 
Geometry::PrimitiveSet::PrimitiveType primitivetype_
 
Threads::Lock lock_
 
ObjectSet< Geometry::PrimitiveSetprimitivesets_
 
- Protected Attributes inherited from visBase::Shape
Materialmaterial_
 
- Protected Attributes inherited from visBase::DataObject
DataObjectGroupparent_
 

Detailed Description

Constructor & Destructor Documentation

visBase::Lines::Lines ( const Lines )
private
visBase::Lines::Lines ( )

Member Function Documentation

static Lines* visBase::Lines::create ( )
inlinestatic
static visBase::DataObject* visBase::Lines::createInternal ( )
inlinestaticprivate
virtual const char* visBase::Lines::getClassName ( ) const
virtual

Reimplemented from visBase::VertexShape.

static const char* visBase::Lines::getStaticClassName ( )
static
static void visBase::Lines::initClass ( )
static
Lines& visBase::Lines::operator= ( const Lines )
private
static const char* visBase::Lines::sFactoryKeyword ( )
static

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