Rhino C++ API
8.13
|
#include <RhRdkSunStorage.h>
Public Member Functions | |
virtual void | _InternalSetAziAlt (double, double) override |
virtual double | Altitude (void) const override |
virtual double | Azimuth (void) const override |
virtual void | BeginNotifyBracket (void) override |
virtual void | CopyFromStorage (const CRhRdkSunStorage &s)=0 |
virtual int | DaylightSavingMinutes (void) const override |
virtual bool | DaylightSavingOn (void) const override |
virtual bool | EnableAllowed (void) const override |
virtual bool | EnableOn (void) const override |
virtual void | EndNotifyBracket (void) override |
virtual void * | EVF (const wchar_t *, void *) override |
virtual void | HandleNotify (void) |
virtual double | Latitude (void) const override |
virtual bool | LoadFromFile (const wchar_t *wszFullPath) override=0 |
virtual void | LocalDateTime (int &iYearOut, int &iMonthOut, int &iDayOut, double &dHoursOut) const override |
virtual double | Longitude (void) const override |
virtual bool | ManualControlAllowed (void) const override |
virtual bool | ManualControlOn (void) const override |
virtual double | North (void) const override |
virtual bool | SaveToFile (const wchar_t *wszFullPath) const override=0 |
virtual void | SetAltitude (double dAltitude) override |
virtual void | SetAziAlt (double dAzi, double dAlt) const =0 |
virtual void | SetAzimuth (double dAzimuth) override |
virtual void | SetDaylightSavingMinutes (int iMinutes) override |
virtual void | SetDaylightSavingOn (bool bOn) override |
virtual void | SetEnableAllowed (bool bOn) override |
virtual void | SetEnableOn (bool bOn) override |
virtual void | SetLatitude (double dLatitude) override |
virtual void | SetLocalDateTime (int iYear, int iMonth, int iDay, double dHours) override |
virtual void | SetLongitude (double dLongitude) override |
virtual void | SetManualControlAllowed (bool bEnabled) override |
virtual void | SetManualControlOn (bool bOn) override |
virtual void | SetNorth (double dNorth) override |
virtual void | SetShadowIntensity (double dIntensity) override |
virtual void | SetTimeZone (double dHours) override |
virtual void | SetTimeZone (double dHours, bool bAutoAdjustTime) |
virtual void | SetUTCDateTime (int iYear, int iMonth, int iDay, double dHours) override |
virtual bool | SetValue (const wchar_t *wszName, const CRhRdkVariant &v)=0 |
virtual double | ShadowIntensity (void) const override |
virtual double | TimeZone (void) const override |
void | ToSun (class IRhRdkSun &sun) const |
virtual void | UTCDateTime (int &iYearOut, int &iMonthOut, int &iDayOut, double &dHoursOut) const override |
virtual CRhRdkVariant | Value (const wchar_t *wszName, const CRhRdkVariant &vDefault) const =0 |
Public Member Functions inherited from CRhRdkObject | |
CRhRdkObject () | |
virtual | ~CRhRdkObject () |
void | operator delete (void *buf) |
void | operator delete[] (void *buf) |
void * | operator new (size_t size) |
void * | operator new[] (size_t size) |
Public Member Functions inherited from IRhRdkSun | |
virtual | ~IRhRdkSun () |
virtual IRhRdkSun & | BeginChange (RhRdkChangeContext cc) const =0 |
virtual void | CopyFrom (const IRhRdkSun &other)=0 |
virtual bool | Edit (void)=0 |
virtual bool | EndChange (void)=0 |
virtual bool | ReadFromArchive (ON_BinaryArchive &archive)=0 |
virtual_su void | SetIntensity (double dIntensity) |
virtual void | SetVector (const ON_3dVector &v)=0 |
virtual bool | WriteToArchive (ON_BinaryArchive &archive) const =0 |
Public Member Functions inherited from IRhRdkSunRO | |
virtual DWORD | CRC (void) const =0 |
virtual_su double | Intensity (void) const |
virtual bool | IsEqual (const class IRhRdkSun &other) const =0 |
virtual bool | IsValid (void) const =0 |
virtual ON_Light | Light (void) const =0 |
virtual ON_3dVector | Vector (void) const =0 |
Additional Inherited Members | |
Static Public Member Functions inherited from CRhRdkObject | |
static void | CheckMemory (void) |
static void | PopulateDebuggingInfo (void) |
Static Public Member Functions inherited from IRhRdkSun | |
static IRhRdkSun * | New (void) |
Protected Member Functions inherited from IRhRdkSunRO | |
virtual | ~IRhRdkSunRO () |
This class is deprecated and only here to avoid breaking the SDK.
None of the methods are implemented since it's almost certain that no 3rd-party was using this class.
|
overridevirtual |
Implements IRhRdkSun.
|
overridevirtual |
Implements IRhRdkSunRO.
|
overridevirtual |
Implements IRhRdkSunRO.
|
overridevirtual |
Call this before doing multiple 'Set' operations.
Implements IRhRdkSun.
|
pure virtual |
|
overridevirtual |
Implements IRhRdkSunRO.
|
overridevirtual |
Implements IRhRdkSunRO.
|
overridevirtual |
Implements IRhRdkSunRO.
|
overridevirtual |
Implements IRhRdkSunRO.
|
overridevirtual |
Call this after doing multiple 'Set' operations.
Implements IRhRdkSun.
|
overridevirtual |
Emergency virtual function for future expansion.
Reimplemented from CRhRdkObject.
|
virtual |
|
overridevirtual |
Implements IRhRdkSunRO.
|
overridepure virtual |
Load the sun from a file.
Implements IRhRdkSun.
|
overridevirtual |
Retrieves the local date and time of the observer.
iYearOut | accepts the year in the range 1800 to 2199. |
iMonthOut | accepts the month in the range 1 to 12. |
iDayOut | accepts the day in the range 1 to 31. |
dHoursOut | accepts the time expressed as decimal hours in the range 0 to 24. |
Implements IRhRdkSunRO.
|
overridevirtual |
Implements IRhRdkSunRO.
|
overridevirtual |
Implements IRhRdkSunRO.
|
overridevirtual |
Implements IRhRdkSunRO.
|
overridevirtual |
Implements IRhRdkSunRO.
|
overridepure virtual |
Saves the sun to a file.
Implements IRhRdkSunRO.
|
overridevirtual |
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. |
Implements IRhRdkSun.
|
pure virtual |
|
overridevirtual |
|
overridevirtual |
Set the daylight saving of the observer in minutes, in the range 0 to 120.
Implements IRhRdkSun.
|
overridevirtual |
Set whether or not the observer is using daylight saving time.
Implements IRhRdkSun.
|
overridevirtual |
Set whether or not enabling/disabling the sun is allowed.
Implements IRhRdkSun.
|
overridevirtual |
Set whether or not the sun is enabled.
Implements IRhRdkSun.
|
overridevirtual |
Set the latitude of the observer.
dLatitude | is the observer's latitude in degrees in the range -90 to +90. |
Implements IRhRdkSun.
|
overridevirtual |
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. |
Implements IRhRdkSun.
|
overridevirtual |
Set the longitude of the observer.
dLongitude | is the observer's longitude in degrees in the range -180 to +180. |
Implements IRhRdkSun.
|
overridevirtual |
Set whether or not manual control of the sun position is allowed.
Implements IRhRdkSun.
|
overridevirtual |
Set whether or not manual control of the sun position is in effect.
Implements IRhRdkSun.
|
overridevirtual |
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. |
Implements IRhRdkSun.
|
overridevirtual |
ShadowIntensity is currently unused.
Implements IRhRdkSun.
|
overridevirtual |
Set the time zone of the observer in hours, in the range -12 to +13.
Implements IRhRdkSun.
|
virtual |
|
overridevirtual |
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. |
Implements IRhRdkSun.
|
pure virtual |
|
overridevirtual |
ShadowIntensity is currently unused.
Implements IRhRdkSunRO.
|
overridevirtual |
Implements IRhRdkSunRO.
void CRhRdkSunStorage::ToSun | ( | class IRhRdkSun & | sun | ) | const |
|
overridevirtual |
Retrieves the date and time of the observer as Coordinated Universal Time (UTC).
iYearOut | accepts the year in the range RDK_SUN_MIN_YEAR to RDK_SUN_MAX_YEAR. |
iMonthOut | accepts the month in the range 1 to 12. |
iDayOut | accepts the day in the range 1 to 31. |
dHoursOut | accepts the time expressed as decimal hours in the range 0 to 24. |
Implements IRhRdkSunRO.
|
pure virtual |