Dialog allowing to assign parameters of light source.  
#include <OCCViewer_LightSourceDlg.h>
 | 
| void  | initParam (bool theIsDefault=false) | 
|   | 
|   | Handle (V3d_DirectionalLight) myDirLight | 
|   | 
|   | Handle (V3d_PositionalLight) myPosLight | 
|   | 
- Parameters
 - 
  
    | view | - parent widget  | 
    | model | - viewer  | 
  
   
References ClickOnClose(), ClickOnDefault(), ClickOnHelp(), ClickOnOk(), initParam(), isBusy, myDirColor, myDirHeadLight, myDirType, myDx, myDy, myDz, myPosColor, myPosHeadLight, myPosType, myStackedLayout, myX, myY, myZ, onDirChanged(), onPosChanged(), onTypeChanged(), and QtxColorButton::setColor().
 
 
      
        
          | OCCViewer_LightSourceDlg::~OCCViewer_LightSourceDlg  | 
          ( | 
           | ) | 
           | 
        
      
 
 
  
  
      
        
          | void OCCViewer_LightSourceDlg::ClickOnClose  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
privateslot   | 
  
 
 
  
  
      
        
          | void OCCViewer_LightSourceDlg::ClickOnDefault  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
privateslot   | 
  
 
 
  
  
      
        
          | void OCCViewer_LightSourceDlg::ClickOnHelp  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
privateslot   | 
  
 
 
  
  
      
        
          | void OCCViewer_LightSourceDlg::ClickOnOk  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
privateslot   | 
  
 
 
  
  
      
        
          | QString OCCViewer_LightSourceDlg::getName  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
static   | 
  
 
 
  
  
      
        
          | OCCViewer_LightSourceDlg::Handle  | 
          ( | 
          V3d_DirectionalLight  | 
           | ) | 
           | 
         
       
   | 
  
private   | 
  
 
 
  
  
      
        
          | OCCViewer_LightSourceDlg::Handle  | 
          ( | 
          V3d_PositionalLight  | 
           | ) | 
           | 
         
       
   | 
  
private   | 
  
 
 
  
  
      
        
          | void OCCViewer_LightSourceDlg::initParam  | 
          ( | 
          bool  | 
          theIsDefault = false | ) | 
           | 
         
       
   | 
  
private   | 
  
 
Initialization of initial values of widgets 
References OCCViewer::color(), Handle(), myDirColor, myDirHeadLight, myDirType, myDx, myDy, myDz, myInColor, myInHeadLight, myInType, myInX, myInY, myInZ, myModel, myPosColor, myPosHeadLight, myPosType, myStackedLayout, myX, myY, myZ, and QtxColorButton::setColor().
 
 
  
  
      
        
          | void OCCViewer_LightSourceDlg::onDirChanged  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
privateslot   | 
  
 
 
  
  
      
        
          | void OCCViewer_LightSourceDlg::onPosChanged  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
privateslot   | 
  
 
 
  
  
      
        
          | void OCCViewer_LightSourceDlg::onTypeChanged  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
privateslot   | 
  
 
 
  
  
      
        
          | bool OCCViewer_LightSourceDlg::isBusy | 
         
       
   | 
  
private   | 
  
 
 
  
  
      
        
          | QCheckBox* OCCViewer_LightSourceDlg::myDirHeadLight | 
         
       
   | 
  
private   | 
  
 
 
  
  
      
        
          | QRadioButton* OCCViewer_LightSourceDlg::myDirType | 
         
       
   | 
  
private   | 
  
 
 
  
  
      
        
          | Quantity_Color OCCViewer_LightSourceDlg::myInColor | 
         
       
   | 
  
private   | 
  
 
 
  
  
      
        
          | bool OCCViewer_LightSourceDlg::myInHeadLight | 
         
       
   | 
  
private   | 
  
 
 
  
  
      
        
          | V3d_TypeOfLight OCCViewer_LightSourceDlg::myInType | 
         
       
   | 
  
private   | 
  
 
 
  
  
      
        
          | double OCCViewer_LightSourceDlg::myInX | 
         
       
   | 
  
private   | 
  
 
 
  
  
      
        
          | double OCCViewer_LightSourceDlg::myInY | 
         
       
   | 
  
private   | 
  
 
 
  
  
      
        
          | double OCCViewer_LightSourceDlg::myInZ | 
         
       
   | 
  
private   | 
  
 
 
  
  
      
        
          | QCheckBox* OCCViewer_LightSourceDlg::myPosHeadLight | 
         
       
   | 
  
private   | 
  
 
 
  
  
      
        
          | QRadioButton* OCCViewer_LightSourceDlg::myPosType | 
         
       
   | 
  
private   | 
  
 
 
  
  
      
        
          | QStackedLayout* OCCViewer_LightSourceDlg::myStackedLayout | 
         
       
   | 
  
private   | 
  
 
 
The documentation for this class was generated from the following files: