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::ColTabTextureChannel2RGBA Class Reference
Inheritance diagram for visBase::ColTabTextureChannel2RGBA:
[legend]

Public Member Functions

 ColTabTextureChannel2RGBA ()
 
virtual const char * getClassName () const
 
void swapChannels (int ch0, int ch1)
 
bool canSetSequence () const
 
void setSequence (int ch, const ColTab::Sequence &)
 
const ColTab::SequencegetSequence (int ch) const
 
void setEnabled (int ch, bool yn)
 
bool isEnabled (int ch) const
 
void setTransparency (int ch, unsigned char yn)
 
unsigned char getTransparency (int ch) const
 
int maxNrChannels () const
 
- Public Member Functions inherited from visBase::TextureChannel2RGBA
virtual MappedTextureDataSetcreateMappedDataSet () const
 
virtual void notifyChannelChange ()
 
virtual const osg::Image * createRGBA () const
 
virtual bool canUseShading () const
 
virtual void allowShading (bool)
 
virtual bool usesShading () const
 
virtual int minNrChannels () const
 
virtual void getChannelName (int, uiString &) const
 
int getTexturePixelSizeInBits () const
 
const unsigned char * getTextureData () const
 
int getTextureWidth () const
 
int getTextureHeight () 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 ColTabTextureChannel2RGBAcreate ()
 
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

void notifyChannelInsert (int ch)
 
void notifyChannelRemove (int ch)
 
void adjustNrChannels ()
 
void setChannels (TextureChannels *)
 
 ~ColTabTextureChannel2RGBA ()
 
void update ()
 
void getColors (int channel, TypeSet< unsigned char > &) const
 
- Protected Member Functions inherited from visBase::TextureChannel2RGBA
 TextureChannel2RGBA ()
 
- 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

ObjectSet< ColTab::Sequencecoltabs_
 
BoolTypeSet enabled_
 
TypeSet< unsigned char > opacity_
 
ObjectSet< osgGeo::ColorSequence > osgcolsequences_
 
ObjectSet< TypeSet< unsigned char > > osgcolseqarrays_
 
- Protected Attributes inherited from visBase::TextureChannel2RGBA
TextureChannelschannels_
 
osgGeo::LayeredTexture * laytex_
 
- Protected Attributes inherited from visBase::DataObject
DataObjectGroupparent_
 

Private Member Functions

ColTabTextureChannel2RGBAoperator= (const ColTabTextureChannel2RGBA &)
 
 ColTabTextureChannel2RGBA (const ColTabTextureChannel2RGBA &)
 

Static Private Member Functions

static visBase::DataObjectcreateInternal ()
 

Detailed Description

Implementation of TextureChannel2RGBA that takes a ColorSequence for each channel and blends it into an RGBA image.

Constructor & Destructor Documentation

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

Member Function Documentation

void visBase::ColTabTextureChannel2RGBA::adjustNrChannels ( )
protected
bool visBase::ColTabTextureChannel2RGBA::canSetSequence ( ) const
inlinevirtual

Reimplemented from visBase::TextureChannel2RGBA.

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

Reimplemented from visBase::DataObject.

void visBase::ColTabTextureChannel2RGBA::getColors ( int  channel,
TypeSet< unsigned char > &   
) const
protected
const ColTab::Sequence* visBase::ColTabTextureChannel2RGBA::getSequence ( int  ch) const
virtual

Reimplemented from visBase::TextureChannel2RGBA.

static const char* visBase::ColTabTextureChannel2RGBA::getStaticClassName ( )
static
unsigned char visBase::ColTabTextureChannel2RGBA::getTransparency ( int  ch) const
static void visBase::ColTabTextureChannel2RGBA::initClass ( )
static
bool visBase::ColTabTextureChannel2RGBA::isEnabled ( int  ch) const
virtual

Reimplemented from visBase::TextureChannel2RGBA.

int visBase::ColTabTextureChannel2RGBA::maxNrChannels ( ) const
virtual
void visBase::ColTabTextureChannel2RGBA::notifyChannelInsert ( int  ch)
protectedvirtual

Reimplemented from visBase::TextureChannel2RGBA.

void visBase::ColTabTextureChannel2RGBA::notifyChannelRemove ( int  ch)
protectedvirtual

Reimplemented from visBase::TextureChannel2RGBA.

ColTabTextureChannel2RGBA& visBase::ColTabTextureChannel2RGBA::operator= ( const ColTabTextureChannel2RGBA )
private
void visBase::ColTabTextureChannel2RGBA::setChannels ( TextureChannels )
protectedvirtual

Reimplemented from visBase::TextureChannel2RGBA.

void visBase::ColTabTextureChannel2RGBA::setEnabled ( int  ch,
bool  yn 
)
virtual

Reimplemented from visBase::TextureChannel2RGBA.

void visBase::ColTabTextureChannel2RGBA::setSequence ( int  ch,
const ColTab::Sequence  
)
virtual

Reimplemented from visBase::TextureChannel2RGBA.

void visBase::ColTabTextureChannel2RGBA::setTransparency ( int  ch,
unsigned char  yn 
)
static const char* visBase::ColTabTextureChannel2RGBA::sFactoryKeyword ( )
static
void visBase::ColTabTextureChannel2RGBA::swapChannels ( int  ch0,
int  ch1 
)
virtual

Reimplemented from visBase::TextureChannel2RGBA.

void visBase::ColTabTextureChannel2RGBA::update ( )
protected

Member Data Documentation

ObjectSet<ColTab::Sequence> visBase::ColTabTextureChannel2RGBA::coltabs_
protected
BoolTypeSet visBase::ColTabTextureChannel2RGBA::enabled_
protected
TypeSet<unsigned char> visBase::ColTabTextureChannel2RGBA::opacity_
protected
ObjectSet<TypeSet<unsigned char> > visBase::ColTabTextureChannel2RGBA::osgcolseqarrays_
protected
ObjectSet<osgGeo::ColorSequence> visBase::ColTabTextureChannel2RGBA::osgcolsequences_
protected

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