Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

NameDescription
CemitterPairClass constructor.

Properties --TODO-- revisar

 NameDescription
CrgbrgbCmaxwell::CmaterialEmitter::Cpair::pEmissionColor = "rgb".
CxyzxyzCmaxwell::CmaterialEmitter::Cpair::pEmissionColor = "xyz".
realtemperatureCmaxwell::CmaterialEmitter::Cpair::pEmissionColor = "temperature".
realwatts

Cmaxwell::CmaterialEmitter::Cpair::pLuminance = "wattsAndLuminousEfficacy" and Cmaxwell::CmaterialEmitter::Cpair::pEmissionColor = "rgb" or "xzy".

realluminousEfficacyCmaxwell::CmaterialEmitter::Cpair::pLuminance = "wattsAndLuminousEfficacy"and Cmaxwell::CmaterialEmitter::Cpair::pEmissionColor = "rgb" or "xzy".
realluminousPowerCmaxwell::CmaterialEmitter::Cpair::pLuminance = "luminousPower" and Cmaxwell::CmaterialEmitter::Cpair::pEmissionColor = "rgb" or "xzy".
realilluminanceCmaxwell::CmaterialEmitter::Cpair::pLuminance = "illuminance" and Cmaxwell::CmaterialEmitter::Cpair::pEmissionColor = "rgb" or "xzy".
realliminousIntensityCmaxwell::CmaterialEmitter::Cpair::pLuminance = "luminousIntensity" and Cmaxwell::CmaterialEmitter::Cpair::pEmissionColor = "rgb" or "xzy".
realluminanceCmaxwell::CmaterialEmitter::Cpair::pLuminance = "lluminance" and Cmaxwell::CmaterialEmitter::Cpair::pEmissionColor = "rgb" or "xzy".

Anchor
cmaxwellcmultivaluecemitterpairctor
cmaxwellcmultivaluecemitterpairctor

...

Code Block
languagecpp
titleC++
// Create and fill an emitter pair.
 
Cmaxwell::CmultiValue::CemitterPair emitterPair;
 
emitterPair.rgb.assign( rgb_color ); // We will use this color.
emitterPair.xyz.assign( xyz_color );
emitterPair.temperature = 6500.0;
emitterPair.watts = 40.0;
emitterPair.luminousEfficacy = 17.6;
emitterPair.luminousPower = 100.0;   // We will use this parameterluminance.
emitterPair.illuminance = 100.0;
emitterPair.luminousIntensity = 100.0;
emitterPair.luminance = 100.0;

// Apply the emitter pair to the emitter.
 
 newEmitter.setPair( emitterPair );

// Create and fill a material emitter pair (not emitter pair!).
  
Cmaxwell::CmaterialEmitter::Cpair pair;


pair.pEmissionColor = "rgb";
pair.pLuminance = "luminousPower";

// Tell the emitter what parameters of the emitter pair use.
 
newEmitter.setActivePair( pair );  
Code Block
languagejavascript
titlePython
# Create and fill an emitter pair.
emitterPait = CemitterPair();

emitterPair.rgb.assign( rgb_color ); # We will use this color.
emitterPair.xyz.assign( xyz_color );
emitterPair.temperature = 6500.0;
emitterPair.watts = 40.0;
emitterPair.luminousEfficacy = 17.6;
emitterPair.luminousPower = 100.0;   # We will use this parameterluminance.
emitterPair.illuminance = 100.0;
emitterPair.luminousIntensity = 100.0;
emitterPair.luminance = 100.0;

# Apply the emitter pair to the emitter.
  
newEmitter.setPair( emitterPair );

# Create and fill a material emitter pair (not emitter pair!).
  
pair = Cpair();
pair.pEmissionColor = "rgb";
pair.pLuminance = "luminousPower";

# Tell the emitter what parameters of the emitter pair use.
  
newEmitter.setActivePair( pair );  

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

...