a pointer to a valid instance of a Painter. The instance must be valid until postDrawPointSource() is called

void StelSkyDrawer::reportLuminanceInFov

(

float

lum,

bool

fastAdaptation = false

)

Report that an object of luminance lum with an on-screen area of area pixels is currently displayed This information is used to determine the world adaptation luminance This method should be called during the update operations of the main loop.

Parameters:

lum

luminance in cd/m^2

fastAdaptation

adapt the eye quickly if true, other wise use a smooth adaptation

void StelSkyDrawer::setFlagHasAtmosphere

(

bool

b

)

[inline, slot]

Informing the drawer whether atmosphere is displayed.

This is used to avoid twinkling/simulate extinction/refraction.

static float StelSkyDrawer::surfacebrightnessToLuminance

(

float

sb

)

[static]

Compute the luminance for an extended source with the given surface brightness.

Parameters:

sb

surface brightness in V magnitude/arcmin^2

Returns:

the luminance in cd/m^2

void StelSkyDrawer::update

(

double

deltaTime

)

Update with respect to the time and StelProjector/StelToneReproducer state.