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

Public Member Functions

 TextureChannel2VolData ()
 
virtual const char * getClassName () const
 
const osg::Image * createRGBA () const
 
bool canSetSequence () const
 
void setSequence (int channel, const ColTab::Sequence &)
 
const ColTab::SequencegetSequence (int channel) const
 
void setEnabled (int ch, bool yn)
 
bool isEnabled (int ch) const
 
bool canUseShading () const
 
bool usesShading () const
 
int maxNrChannels () const
 
int minNrChannels () const
 
MappedTextureDataSetcreateMappedDataSet () const
 
- Public Member Functions inherited from visBase::TextureChannel2RGBA
virtual void notifyChannelInsert (int ch)
 
virtual void notifyChannelRemove (int ch)
 
virtual void swapChannels (int ch0, int ch1)
 
virtual void allowShading (bool)
 
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 TextureChannel2VolDatacreate ()
 
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

 ~TextureChannel2VolData ()
 
void setChannels (TextureChannels *)
 
void notifyChannelChange ()
 
void update ()
 
void makeColorTables ()
 
- 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

ColTab::Sequence sequence_
 
bool enabled_
 
- Protected Attributes inherited from visBase::TextureChannel2RGBA
TextureChannelschannels_
 
osgGeo::LayeredTexture * laytex_
 
- Protected Attributes inherited from visBase::DataObject
DataObjectGroupparent_
 

Private Member Functions

TextureChannel2VolDataoperator= (const TextureChannel2VolData &)
 
 TextureChannel2VolData (const TextureChannel2VolData &)
 

Static Private Member Functions

static visBase::DataObjectcreateInternal ()
 

Detailed Description

Implementation of TextureChannel2VolData that feeds the 8-bit values from the texture channel(s) into a volume data object.

Constructor & Destructor Documentation

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

Member Function Documentation

bool visBase::TextureChannel2VolData::canSetSequence ( ) const
inlinevirtual

Reimplemented from visBase::TextureChannel2RGBA.

bool visBase::TextureChannel2VolData::canUseShading ( ) const
inlinevirtual

Reimplemented from visBase::TextureChannel2RGBA.

static TextureChannel2VolData* visBase::TextureChannel2VolData::create ( )
inlinestatic
static visBase::DataObject* visBase::TextureChannel2VolData::createInternal ( )
inlinestaticprivate
MappedTextureDataSet* visBase::TextureChannel2VolData::createMappedDataSet ( ) const
virtual

Reimplemented from visBase::TextureChannel2RGBA.

const osg::Image* visBase::TextureChannel2VolData::createRGBA ( ) const
inlinevirtual

Fill the image with the output, using current settings.

Reimplemented from visBase::TextureChannel2RGBA.

virtual const char* visBase::TextureChannel2VolData::getClassName ( ) const
virtual

Reimplemented from visBase::DataObject.

const ColTab::Sequence* visBase::TextureChannel2VolData::getSequence ( int  channel) const
virtual

Reimplemented from visBase::TextureChannel2RGBA.

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

Reimplemented from visBase::TextureChannel2RGBA.

void visBase::TextureChannel2VolData::makeColorTables ( )
protected
int visBase::TextureChannel2VolData::maxNrChannels ( ) const
inlinevirtual
int visBase::TextureChannel2VolData::minNrChannels ( ) const
inlinevirtual

Reimplemented from visBase::TextureChannel2RGBA.

void visBase::TextureChannel2VolData::notifyChannelChange ( )
protectedvirtual

Reimplemented from visBase::TextureChannel2RGBA.

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

Reimplemented from visBase::TextureChannel2RGBA.

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

Reimplemented from visBase::TextureChannel2RGBA.

void visBase::TextureChannel2VolData::setSequence ( int  channel,
const ColTab::Sequence  
)
virtual

Reimplemented from visBase::TextureChannel2RGBA.

static const char* visBase::TextureChannel2VolData::sFactoryKeyword ( )
static
void visBase::TextureChannel2VolData::update ( )
protected
bool visBase::TextureChannel2VolData::usesShading ( ) const
inlinevirtual

Reimplemented from visBase::TextureChannel2RGBA.

Member Data Documentation

bool visBase::TextureChannel2VolData::enabled_
protected
ColTab::Sequence visBase::TextureChannel2VolData::sequence_
protected

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