Rhino C++ API
8.14
|
#include <RhRdkSun.h>
Public Types | |
enum | { ss_sun_options = 0x00000001, ss_skylight = 0x00000002, ss_sun_position = 0x00000004, ss_date_and_time = 0x00000008, ss_location = 0x00000010, ss_settings = 0x00000020, ss_all = 0x000000FF, ss_force_32_bit = 0xFFFFFFFF } |
enum | { so_lean_ui = 0x00000001, so_no_shadow = 0x00000002, so_force_32_bit = 0xFFFFFFFF } |
Public Member Functions | |
CRhRdkSunDialog (HWND pParent=NULL) | |
virtual | ~CRhRdkSunDialog () |
virtual bool | DoModal (void) const |
virtual bool | IgnoreOn (void) const |
virtual UINT | SectionOptions (void) const |
virtual void | SetCaption (const wchar_t *wszCaption) |
void | SetController (CRhRdkControllerPtr con) |
virtual void | SetIgnoreOn (bool b) |
virtual void | SetSectionOptions (UINT uFlags) |
virtual void | SetShowingSections (UINT uFlags) |
virtual UINT | ShowingSections (void) const |
Public Member Functions inherited from CRhRdkObject | |
CRhRdkObject () | |
virtual | ~CRhRdkObject () |
virtual void * | EVF (const wchar_t *wszFunc, void *pvData) |
void | operator delete (void *buf) |
void | operator delete[] (void *buf) |
void * | operator new (size_t size) |
void * | operator new[] (size_t size) |
Additional Inherited Members | |
Static Public Member Functions inherited from CRhRdkObject | |
static void | CheckMemory (void) |
static void | PopulateDebuggingInfo (void) |
This class is a wrapper around a modal sun dialog. It is only used internally. SDK clients should not attempt to use this as it requires internal RDK classes to be used successfully. [SDK_UNFREEZE] Remove this from the public SDK.
anonymous enum |
CRhRdkSunDialog::CRhRdkSunDialog | ( | HWND | pParent = NULL | ) |
|
virtual |
|
virtual |
Call this method to display the sun dialog.
|
virtual |
|
virtual |
Get section options.
|
virtual |
Set the caption of the dialog. The default caption is "Sun Angle Calculator".
void CRhRdkSunDialog::SetController | ( | CRhRdkControllerPtr | con | ) |
Set the controller for the dialog to get and set the sun data. The controller must have at least one data source that responds to uuidData_RdkSun.
|
virtual |
Set if all UI is visible and usable even when 'on' is unchecked.
|
virtual |
Set options for the dialog sections.
uFlags | specifies the options as a bit-mask. |
|
virtual |
Set which sections of the dialog should be displayed.
uFlags | specifies which sections to make visible as a bit-mask. The default is all sections are shown (depending on the state of manual control). |
|
virtual |
Get which sections of the dialog will be displayed.