Rhino C++ API  8.7
Public Member Functions | Static Public Member Functions | Friends | List of all members
CRhRdkSun Class Reference

#include <RhRdkSun.h>

Inheritance diagram for CRhRdkSun:

Public Member Functions

 CRhRdkSun ()
 CRhRdkSun (const CRhRdkSun &sun)
 CRhRdkSun (const ON_Sun &sun)
virtual ~CRhRdkSun ()
void FromOnSun (const ON_Sun &sun)
 operator IRhRdkSun & (void) const
bool operator!= (const CRhRdkSun &sun) const
const CRhRdkSunoperator= (const CRhRdkSun &sun)
bool operator== (const CRhRdkSun &sun) const
void SetXML (const wchar_t *wszXML)
virtual IRhRdkSunSun (void) const
void ToOnSun (ON_Sun &sunOut) const
ON_wString XML (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)

Static Public Member Functions

static RDK_DEPRECATED IRhRdkSunNewImpl ()
- Static Public Member Functions inherited from CRhRdkObject
static void CheckMemory (void)
static void PopulateDebuggingInfo (void)


class IRhRdkSun

Detailed Description

This class represents a 'sun'. It can be used as a temporary sun property storage object or as a way to get sun XML or a light that represents a sun. However, please note that this is NOT the document sun. To use it, create one on the stack. Call Sun() to get an interface to the sun. Call the interface's various set methods to configure the sun the way you want it. You can copy the document sun to it if you wish. You might then call XML() or Light() to get an ON_Light to use as a sun light.

Constructor & Destructor Documentation

◆ CRhRdkSun() [1/3]

CRhRdkSun::CRhRdkSun ( )

◆ CRhRdkSun() [2/3]

CRhRdkSun::CRhRdkSun ( const CRhRdkSun sun)

◆ CRhRdkSun() [3/3]

CRhRdkSun::CRhRdkSun ( const ON_Sun sun)

◆ ~CRhRdkSun()

virtual CRhRdkSun::~CRhRdkSun ( )

Member Function Documentation

◆ FromOnSun()

void CRhRdkSun::FromOnSun ( const ON_Sun sun)

◆ NewImpl()

static RDK_DEPRECATED IRhRdkSun* CRhRdkSun::NewImpl ( )

◆ operator IRhRdkSun &()

CRhRdkSun::operator IRhRdkSun & ( void  ) const

◆ operator!=()

bool CRhRdkSun::operator!= ( const CRhRdkSun sun) const

◆ operator=()

const CRhRdkSun& CRhRdkSun::operator= ( const CRhRdkSun sun)

◆ operator==()

bool CRhRdkSun::operator== ( const CRhRdkSun sun) const

◆ SetXML()

void CRhRdkSun::SetXML ( const wchar_t *  wszXML)

◆ Sun()

virtual IRhRdkSun& CRhRdkSun::Sun ( void  ) const
An interface to a temporary sun object.

◆ ToOnSun()

void CRhRdkSun::ToOnSun ( ON_Sun sunOut) const

◆ XML()

ON_wString CRhRdkSun::XML ( void  ) const

Friends And Related Function Documentation

◆ IRhRdkSun

friend class IRhRdkSun