LightWidget Class Reference

#include <LightWidget.h>

List of all members.

Public Member Functions

 LightWidget (QWidget *parent=0, int width=0, int height=0)
 ~LightWidget ()
void addListener (RCWidget *newListener)
void updateListeners ()
std::vector< QColor > * getLight ()
bool setLight (std::vector< QColor > *lights)

Private Slots

void setAmbientColor ()
void setDiffuseColor ()
void setSpecularColor ()
void setShininess (int val)
void setLightVecX (int val)
void setLightVecY (int val)
void setLightVecZ (int val)
void setShowLV (int val)
void setShowVV (int val)

Private Member Functions

void createLightUI (QBoxLayout *mainLayout)
void createLightVecUI (QBoxLayout *mainLayout)
void updateVec ()
void updateAll ()

Private Attributes

int widgetWidth
int widgetHeight
QSlider * shininessSlider
QSlider * xSlider
QSlider * ySlider
QSlider * zSlider
QCheckBox * showLVcheck
QCheckBox * showVVcheck
QLabel * ambientColorLabel
QLabel * diffuseColorLabel
QLabel * specularColorLabel
QLineEdit * shininessLabel
QLineEdit * xLabel
QLineEdit * yLabel
QLineEdit * zLabel
QColor ka
QColor kd
QColor ks
QColor shin
QColor lx
QColor ly
QColor lz
int shininess
float lightVecX
float lightVecY
float lightVecZ
bool showLV
bool showVV
std::vector< QColor > lightsVec
std::vector< RCWidget * > RClisteners


Constructor & Destructor Documentation

LightWidget::LightWidget ( QWidget *  parent = 0,
int  width = 0,
int  height = 0 
)

Here is the call graph for this function:

LightWidget::~LightWidget (  ) 


Member Function Documentation

void LightWidget::addListener ( RCWidget newListener  ) 

void LightWidget::createLightUI ( QBoxLayout *  mainLayout  )  [private]

void LightWidget::createLightVecUI ( QBoxLayout *  mainLayout  )  [private]

std::vector< QColor > * LightWidget::getLight (  ) 

void LightWidget::setAmbientColor (  )  [private, slot]

void LightWidget::setDiffuseColor (  )  [private, slot]

bool LightWidget::setLight ( std::vector< QColor > *  lights  ) 

Here is the call graph for this function:

void LightWidget::setLightVecX ( int  val  )  [private, slot]

void LightWidget::setLightVecY ( int  val  )  [private, slot]

void LightWidget::setLightVecZ ( int  val  )  [private, slot]

void LightWidget::setShininess ( int  val  )  [private, slot]

void LightWidget::setShowLV ( int  val  )  [private, slot]

void LightWidget::setShowVV ( int  val  )  [private, slot]

void LightWidget::setSpecularColor (  )  [private, slot]

void LightWidget::updateAll (  )  [private]

Here is the call graph for this function:

void LightWidget::updateListeners (  ) 

void LightWidget::updateVec (  )  [private]


Member Data Documentation

QLabel* LightWidget::ambientColorLabel [private]

QLabel* LightWidget::diffuseColorLabel [private]

QColor LightWidget::ka [private]

QColor LightWidget::kd [private]

QColor LightWidget::ks [private]

std::vector<QColor> LightWidget::lightsVec [private]

float LightWidget::lightVecX [private]

float LightWidget::lightVecY [private]

float LightWidget::lightVecZ [private]

QColor LightWidget::lx [private]

QColor LightWidget::ly [private]

QColor LightWidget::lz [private]

std::vector<RCWidget*> LightWidget::RClisteners [private]

QColor LightWidget::shin [private]

int LightWidget::shininess [private]

QLineEdit* LightWidget::shininessLabel [private]

QSlider* LightWidget::shininessSlider [private]

bool LightWidget::showLV [private]

QCheckBox* LightWidget::showLVcheck [private]

bool LightWidget::showVV [private]

QCheckBox* LightWidget::showVVcheck [private]

int LightWidget::widgetWidth [private]

QLineEdit* LightWidget::xLabel [private]

QSlider* LightWidget::xSlider [private]

QLineEdit* LightWidget::yLabel [private]

QSlider* LightWidget::ySlider [private]

QLineEdit* LightWidget::zLabel [private]

QSlider* LightWidget::zSlider [private]


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

Generated on Wed Dec 10 13:35:10 2008 for VisLu by  doxygen 1.5.7.1