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

Public Member Functions

 TextureCoords ()
 
virtual const char * getClassName () const
 
void copyFrom (const TextureCoords &)
 
int size (bool includedeleted=false) const
 
void setCoord (int idx, const Coord3 &)
 
void setCoord (int idx, const Coord &)
 
int addCoord (const Coord3 &)
 
int addCoord (const Coord &)
 
Coord3 getCoord (int) const
 
void setPositions (const Coord *, int sz, int start)
 
void clear ()
 
int nextID (int previd) const
 
void removeCoord (int)
 
bool isEmpty () const
 
osg::Array * osgArray ()
 
const osg::Array * osgArray () 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
 
virtual bool selectable () const
 
void select () const
 
void deSelect () const
 
void updateSel () const
 
virtual bool isSelected () const
 
virtual NotifierAccessselection ()
 
virtual NotifierAccessdeSelection ()
 
virtual NotifierAccessrightClicked ()
 
virtual const TypeSet< int > * rightClickedPath () const
 
virtual void setDisplayTransformation (const visBase::Transformation *)
 
virtual const visBase::TransformationgetDisplayTransformation () 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 TextureCoordscreate ()
 
static void initClass ()
 
static const char * getStaticClassName ()
 
static const char * sFactoryKeyword ()
 
- 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 ()
 

Protected Member Functions

 ~TextureCoords ()
 
int searchFreeIdx ()
 
void setPosWithoutLock (int, const Coord &)
 
- Protected Member Functions inherited from visBase::DataObject
virtual osg::StateSet * getStateSet ()
 
void doAddNodeState (NodeState *ns)
 
virtual void triggerSel ()
 
virtual void triggerDeSel ()
 
virtual void triggerRightClick (const EventInfo *=0)
 
 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...
 

Protected Attributes

int lastsearchedidx_
 
int nrfreecoords_
 
osg::Array * osgcoords_
 
Threads::Lock lock_
 
- Protected Attributes inherited from visBase::DataObject
DataObjectGroupparent_
 

Private Member Functions

TextureCoordsoperator= (const TextureCoords &)
 
 TextureCoords (const TextureCoords &)
 

Static Private Member Functions

static visBase::DataObjectcreateInternal ()
 

Detailed Description

Constructor & Destructor Documentation

visBase::TextureCoords::TextureCoords ( const TextureCoords )
private
visBase::TextureCoords::TextureCoords ( )
visBase::TextureCoords::~TextureCoords ( )
protected

Member Function Documentation

int visBase::TextureCoords::addCoord ( const Coord3 )
int visBase::TextureCoords::addCoord ( const Coord )
void visBase::TextureCoords::clear ( )
void visBase::TextureCoords::copyFrom ( const TextureCoords )
static TextureCoords* visBase::TextureCoords::create ( )
inlinestatic
static visBase::DataObject* visBase::TextureCoords::createInternal ( )
inlinestaticprivate
virtual const char* visBase::TextureCoords::getClassName ( ) const
virtual

Reimplemented from visBase::DataObject.

Coord3 visBase::TextureCoords::getCoord ( int  ) const
static const char* visBase::TextureCoords::getStaticClassName ( )
static
static void visBase::TextureCoords::initClass ( )
static
bool visBase::TextureCoords::isEmpty ( ) const
inline
int visBase::TextureCoords::nextID ( int  previd) const
TextureCoords& visBase::TextureCoords::operator= ( const TextureCoords )
private
osg::Array* visBase::TextureCoords::osgArray ( )
inline
const osg::Array* visBase::TextureCoords::osgArray ( ) const
inline
void visBase::TextureCoords::removeCoord ( int  )
int visBase::TextureCoords::searchFreeIdx ( )
protected
void visBase::TextureCoords::setCoord ( int  idx,
const Coord3  
)
void visBase::TextureCoords::setCoord ( int  idx,
const Coord  
)
void visBase::TextureCoords::setPositions ( const Coord ,
int  sz,
int  start 
)
void visBase::TextureCoords::setPosWithoutLock ( int  ,
const Coord  
)
protected

Object should be locked when calling

static const char* visBase::TextureCoords::sFactoryKeyword ( )
static
int visBase::TextureCoords::size ( bool  includedeleted = false) const

Member Data Documentation

int visBase::TextureCoords::lastsearchedidx_
protected
Threads::Lock visBase::TextureCoords::lock_
mutableprotected
int visBase::TextureCoords::nrfreecoords_
protected
osg::Array* visBase::TextureCoords::osgcoords_
protected

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