Material aspect (color / transparency) tuning window.  
 More...
#include <anatomist/color/wMaterial.h>
Material aspect (color / transparency) tuning window. 
Definition at line 52 of file wMaterial.h.
 
◆ MaterialWindow()
      
        
          | MaterialWindow::MaterialWindow  | 
          ( | 
          const std::set< anatomist::AObject *> &  | 
          ,  | 
        
        
           | 
           | 
          QWidget *  | 
          parent = 0,  | 
        
        
           | 
           | 
          const char *  | 
          name = 0,  | 
        
        
           | 
           | 
          Qt::WindowFlags  | 
          f = 0  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
 
◆ ~MaterialWindow()
  
  
      
        
          | virtual MaterialWindow::~MaterialWindow  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
virtual   | 
  
 
 
◆ buildRgbaBox()
  
  
      
        
          | QWidget* MaterialWindow::buildRgbaBox  | 
          ( | 
          QWidget *  | 
          parent,  | 
         
        
           | 
           | 
          int  | 
          num  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
protected   | 
  
 
internal: draws a RGBA widgets group 
 
 
◆ chooseObject
  
  
      
        
          | void MaterialWindow::chooseObject  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
protectedslot   | 
  
 
 
◆ drawContents()
  
  
      
        
          | void MaterialWindow::drawContents  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
protected   | 
  
 
 
◆ enableAutoUpdate
  
  
      
        
          | void MaterialWindow::enableAutoUpdate  | 
          ( | 
          bool  | 
           | ) | 
           | 
         
       
   | 
  
slot   | 
  
 
 
◆ enableTab
  
  
      
        
          | void MaterialWindow::enableTab  | 
          ( | 
          int  | 
           | ) | 
           | 
         
       
   | 
  
slot   | 
  
 
called by the QTabBar change 
 
 
◆ getMaterial()
◆ objects()
◆ objectsChosen
◆ runCommand()
      
        
          | void MaterialWindow::runCommand  | 
          ( | 
           | ) | 
           | 
        
      
 
 
◆ shininessChanged
  
  
      
        
          | void MaterialWindow::shininessChanged  | 
          ( | 
          int  | 
          value | ) | 
           | 
         
       
   | 
  
protectedslot   | 
  
 
 
◆ unregisterObservable()
Called when an observable is destroyed, only called by Observable: don't use this function directly. 
Reimplemented from anatomist::Observer.
 
 
◆ update()
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
 - 
  
    | observable | the observable object  | 
  
   
Implements anatomist::Observer.
 
 
◆ updateInterface()
      
        
          | void MaterialWindow::updateInterface  | 
          ( | 
           | ) | 
           | 
        
      
 
 
◆ updateObjects()
      
        
          | void MaterialWindow::updateObjects  | 
          ( | 
           | ) | 
           | 
        
      
 
 
◆ updatePanel()
  
  
      
        
          | void MaterialWindow::updatePanel  | 
          ( | 
          unsigned  | 
          panel | ) | 
           | 
         
       
   | 
  
protected   | 
  
 
internal: updates the sliders / labels positions for one RGBA box 
 
 
◆ valueChanged
  
  
      
        
          | void MaterialWindow::valueChanged  | 
          ( | 
          int  | 
          panel,  | 
         
        
           | 
           | 
          int  | 
          color,  | 
         
        
           | 
           | 
          int  | 
          value  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
protectedslot   | 
  
 
 
◆ _material
◆ _parents
The documentation for this class was generated from the following file: