Rhino C++ API
8.14
|
#include <IRhRdkSun.h>
Public Member Functions | |
virtual | ~IRhRdkSun () |
virtual void | _InternalSetAziAlt (double, double)=0 |
virtual IRhRdkSun & | BeginChange (RhRdkChangeContext cc) const =0 |
virtual void | BeginNotifyBracket (void)=0 |
virtual void | CopyFrom (const IRhRdkSun &other)=0 |
virtual bool | Edit (void)=0 |
virtual bool | EndChange (void)=0 |
virtual void | EndNotifyBracket (void)=0 |
virtual bool | LoadFromFile (const wchar_t *wszFullPath)=0 |
virtual bool | ReadFromArchive (ON_BinaryArchive &archive)=0 |
virtual void | SetAltitude (double dAltitude)=0 |
virtual void | SetAzimuth (double dAzimuth)=0 |
virtual void | SetDaylightSavingMinutes (int iMinutes)=0 |
virtual void | SetDaylightSavingOn (bool bOn)=0 |
virtual void | SetEnableAllowed (bool bAllowed)=0 |
virtual void | SetEnableOn (bool bOn)=0 |
virtual_su void | SetIntensity (double dIntensity) |
virtual void | SetLatitude (double dLatitude)=0 |
virtual void | SetLocalDateTime (int iYear, int iMonth, int iDay, double dHours)=0 |
virtual void | SetLongitude (double dLongitude)=0 |
virtual void | SetManualControlAllowed (bool bAllowed)=0 |
virtual void | SetManualControlOn (bool bManual)=0 |
virtual void | SetNorth (double dNorth)=0 |
virtual void | SetShadowIntensity (double dIntensity)=0 |
virtual void | SetTimeZone (double dHours)=0 |
virtual void | SetUTCDateTime (int iYear, int iMonth, int iDay, double dHours)=0 |
virtual void | SetVector (const ON_3dVector &v)=0 |
virtual bool | WriteToArchive (ON_BinaryArchive &archive) const =0 |
Public Member Functions inherited from IRhRdkSunRO | |
virtual double | Altitude (void) const =0 |
virtual double | Azimuth (void) const =0 |
virtual DWORD | CRC (void) const =0 |
virtual int | DaylightSavingMinutes (void) const =0 |
virtual bool | DaylightSavingOn (void) const =0 |
virtual bool | EnableAllowed (void) const =0 |
virtual bool | EnableOn (void) const =0 |
virtual void * | EVF (const wchar_t *, void *)=0 |
virtual_su double | Intensity (void) const |
virtual bool | IsEqual (const class IRhRdkSun &other) const =0 |
virtual bool | IsValid (void) const =0 |
virtual double | Latitude (void) const =0 |
virtual ON_Light | Light (void) const =0 |
virtual void | LocalDateTime (int &iYearOut, int &iMonthOut, int &iDayOut, double &dHoursOut) const =0 |
virtual double | Longitude (void) const =0 |
virtual bool | ManualControlAllowed (void) const =0 |
virtual bool | ManualControlOn (void) const =0 |
virtual double | North (void) const =0 |
virtual bool | SaveToFile (const wchar_t *wszFullPath) const =0 |
virtual double | ShadowIntensity (void) const =0 |
virtual double | TimeZone (void) const =0 |
virtual void | UTCDateTime (int &iYearOut, int &iMonthOut, int &iDayOut, double &dHoursOut) const =0 |
virtual ON_3dVector | Vector (void) const =0 |
Static Public Member Functions | |
static IRhRdkSun * | New (void) |
Additional Inherited Members | |
Protected Member Functions inherited from IRhRdkSunRO | |
virtual | ~IRhRdkSunRO () |
This interface is deprecated and only kept for backward compatibility.
|
inlinevirtual |
|
pure virtual |
Implemented in CRhRdkSunStorage.
|
pure virtual |
Call this method to get a non-const object upon which you can call non-const methods. Calls to this method are counted; you must call EndChange() once for every call to BeginChange(). Please do not use const_cast or any other means of circumventing this requirement.
|
pure virtual |
Call this before doing multiple 'Set' operations.
Implemented in CRhRdkSunStorage.
|
pure virtual |
Copy this sun from another one.
|
pure virtual |
Edits the sun in a pop-up editor.
|
pure virtual |
|
pure virtual |
Call this after doing multiple 'Set' operations.
Implemented in CRhRdkSunStorage.
|
pure virtual |
Load the sun from a file.
Implemented in CRhRdkSunStorage.
|
static |
|
pure virtual |
|
pure virtual |
Set the sun's altitude when manual control is in effect.
dAltitude | is the sun's altitude in degrees in the range -90 to +90. |
Implemented in CRhRdkSunStorage.
|
pure virtual |
Set the azimuth of the sun when manual control is in effect.
dAzimuth | is the sun's azimuth in degrees. The value increases Eastwards with North as zero. |
Implemented in CRhRdkSunStorage.
|
pure virtual |
Set the daylight saving of the observer in minutes, in the range 0 to 120.
Implemented in CRhRdkSunStorage.
|
pure virtual |
Set whether or not the observer is using daylight saving time.
Implemented in CRhRdkSunStorage.
|
pure virtual |
Set whether or not enabling/disabling the sun is allowed.
Implemented in CRhRdkSunStorage.
|
pure virtual |
Set whether or not the sun is enabled.
Implemented in CRhRdkSunStorage.
virtual_su void IRhRdkSun::SetIntensity | ( | double | dIntensity | ) |
Set the intensity to be used for the sun. This is 1.0 by default.
|
pure virtual |
Set the latitude of the observer.
dLatitude | is the observer's latitude in degrees in the range -90 to +90. |
Implemented in CRhRdkSunStorage.
|
pure virtual |
Set the local date and time of the observer.
iYear | is the year which must lie between RDK_SUN_MIN_YEAR and RDK_SUN_MAX_YEAR inclusive. |
iMonth | is the month in the range 1 to 12. |
iDay | is the day in the range 1 to 31. |
dHours | is the time expressed as decimal hours in the range 0 to 24. |
Implemented in CRhRdkSunStorage.
|
pure virtual |
Set the longitude of the observer.
dLongitude | is the observer's longitude in degrees in the range -180 to +180. |
Implemented in CRhRdkSunStorage.
|
pure virtual |
Set whether or not manual control of the sun position is allowed.
Implemented in CRhRdkSunStorage.
|
pure virtual |
Set whether or not manual control of the sun position is in effect.
Implemented in CRhRdkSunStorage.
|
pure virtual |
Set the azimuth corresponding to North.
dNorth | is the world angle corresponding to North in degrees in the range 0 to 360. This angle is zero along the x-axis and increases anticlockwise. |
Implemented in CRhRdkSunStorage.
|
pure virtual |
ShadowIntensity is currently unused.
Implemented in CRhRdkSunStorage.
|
pure virtual |
Set the time zone of the observer in hours, in the range -12 to +13.
Implemented in CRhRdkSunStorage.
|
pure virtual |
Set the date and time of the observer as Coordinated Universal Time (UTC).
iYear | is the year which must lie between RDK_SUN_MIN_YEAR and RDK_SUN_MAX_YEAR inclusive. |
iMonth | is the month in the range 1 to 12. |
iDay | is the day in the range 1 to 31. |
dHours | is the time expressed as decimal hours in the range 0 to 24. |
Implemented in CRhRdkSunStorage.
|
pure virtual |
Set the sun's direction vector when manual control is in effect. This calculates and sets the sun's azimuth & altitude and takes into account the direction of north.
|
pure virtual |