anatomist  5.1.2
3D neuroimaging data viewer
QTexturePanel Class Reference

#include <anatomist/object/texturepanel.h>

Inheritance diagram for QTexturePanel:
Collaboration diagram for QTexturePanel:

Public Types

enum  Part {
  Mode , Rate , Filtering , Generation ,
  Interpolation , ValueInterpolation
}
 

Public Member Functions

 QTexturePanel (const std::set< anatomist::AObject * > &, QWidget *parent, const char *name=0)
 
virtual ~QTexturePanel ()
 
void setActiveTexture (unsigned tex)
 
unsigned activeTexture () const
 
void setObjects (const std::set< anatomist::AObject * > &)
 
const std::set< anatomist::AObject * > & objects () const
 
virtual void update (const anatomist::Observable *observable, void *arg)
 This method is called whenever the observed object is changed. More...
 
void setVisibility (Part p, bool x)
 
bool isVisible (Part p) const
 
void updateObjects ()
 
- Public Member Functions inherited from anatomist::Observer
virtual ~Observer ()
 

Protected Slots

void modeChanged (int)
 
void filteringChanged (int)
 
void generationChanged (int)
 
void rateChanged (int)
 
void rgbInterpolation (bool)
 
void valueInterpolationChanged (bool)
 
void generationParamsDialog ()
 

Protected Member Functions

void updateWindow ()
 
void runCommand ()
 
void updateAutoTexParams ()
 
virtual void unregisterObservable (anatomist::Observable *)
 Called when an observable is destroyed, only called by Observable: don't use this function directly. More...
 
- Protected Member Functions inherited from anatomist::Observer
virtual void cleanupObserver ()
 call this function from inherited classes destructors. More...
 
virtual void registerObservable (Observable *)
 only called by Observable: don't use this function directly More...
 
const std::set< Observable * > & observed () const
 

Detailed Description

Definition at line 52 of file texturepanel.h.

Member Enumeration Documentation

◆ Part

Enumerator
Mode 
Rate 
Filtering 
Generation 
Interpolation 
ValueInterpolation 

Definition at line 57 of file texturepanel.h.

Constructor & Destructor Documentation

◆ QTexturePanel()

QTexturePanel::QTexturePanel ( const std::set< anatomist::AObject * > &  ,
QWidget *  parent,
const char *  name = 0 
)

◆ ~QTexturePanel()

virtual QTexturePanel::~QTexturePanel ( )
virtual

Member Function Documentation

◆ activeTexture()

unsigned QTexturePanel::activeTexture ( ) const

◆ filteringChanged

void QTexturePanel::filteringChanged ( int  )
protectedslot

◆ generationChanged

void QTexturePanel::generationChanged ( int  )
protectedslot

◆ generationParamsDialog

void QTexturePanel::generationParamsDialog ( )
protectedslot

◆ isVisible()

bool QTexturePanel::isVisible ( Part  p) const

◆ modeChanged

void QTexturePanel::modeChanged ( int  )
protectedslot

◆ objects()

const std::set<anatomist::AObject *>& QTexturePanel::objects ( ) const

◆ rateChanged

void QTexturePanel::rateChanged ( int  )
protectedslot

◆ rgbInterpolation

void QTexturePanel::rgbInterpolation ( bool  )
protectedslot

◆ runCommand()

void QTexturePanel::runCommand ( )
protected

◆ setActiveTexture()

void QTexturePanel::setActiveTexture ( unsigned  tex)

◆ setObjects()

void QTexturePanel::setObjects ( const std::set< anatomist::AObject * > &  )

◆ setVisibility()

void QTexturePanel::setVisibility ( Part  p,
bool  x 
)

◆ unregisterObservable()

virtual void QTexturePanel::unregisterObservable ( anatomist::Observable )
protectedvirtual

Called when an observable is destroyed, only called by Observable: don't use this function directly.

Reimplemented from anatomist::Observer.

References slots.

◆ update()

virtual void QTexturePanel::update ( const anatomist::Observable observable,
void *  arg 
)
virtual

This method is called whenever the observed object is changed.

The programmer calls an observable object's notifyObservers method to have all the object's observers notified of the change.

Parameters
observablethe observable object

Implements anatomist::Observer.

◆ updateAutoTexParams()

void QTexturePanel::updateAutoTexParams ( )
protected

◆ updateObjects()

void QTexturePanel::updateObjects ( )

◆ updateWindow()

void QTexturePanel::updateWindow ( )
protected

◆ valueInterpolationChanged

void QTexturePanel::valueInterpolationChanged ( bool  )
protectedslot

The documentation for this class was generated from the following file: