Rhino C++ API
8.13
|
#include <rhinoSdkDraw.h>
Public Member Functions | |
CRhinoDrawAttributes () RHINO_NOEXCEPT | |
CRhinoDrawAttributes (const CRhinoDrawAttributes &) RHINO_NOEXCEPT | |
CRhinoDrawAttributes (CRhinoDrawAttributes &&) RHINO_NOEXCEPT | |
~CRhinoDrawAttributes () RHINO_NOEXCEPT | |
std::shared_ptr< class CRhinoDrawCommonAttributes > | Common () RHINO_NOEXCEPT |
Shared among multiple objects could use reference counting? More... | |
std::shared_ptr< class CRhinoDrawFancyAttributes > | Fancy () RHINO_NOEXCEPT |
CRhinoDrawAttributes & | operator= (const CRhinoDrawAttributes &) RHINO_NOEXCEPT |
CRhinoDrawAttributes & | operator= (CRhinoDrawAttributes &&) RHINO_NOEXCEPT |
Public Attributes | |
class CRhinoDrawCommonAttributes * | m_common_attributes |
One per object might be implemented this way? More... | |
class CRhinoDrawFancyAttributes * | m_fancy_attributes |
CRhinoDrawAttributes::CRhinoDrawAttributes | ( | ) |
CRhinoDrawAttributes::~CRhinoDrawAttributes | ( | ) |
CRhinoDrawAttributes::CRhinoDrawAttributes | ( | const CRhinoDrawAttributes & | ) |
CRhinoDrawAttributes::CRhinoDrawAttributes | ( | CRhinoDrawAttributes && | ) |
std::shared_ptr<class CRhinoDrawCommonAttributes> CRhinoDrawAttributes::Common | ( | ) |
Shared among multiple objects could use reference counting?
std::shared_ptr<class CRhinoDrawFancyAttributes> CRhinoDrawAttributes::Fancy | ( | ) |
CRhinoDrawAttributes& CRhinoDrawAttributes::operator= | ( | const CRhinoDrawAttributes & | ) |
CRhinoDrawAttributes& CRhinoDrawAttributes::operator= | ( | CRhinoDrawAttributes && | ) |
class CRhinoDrawCommonAttributes* CRhinoDrawAttributes::m_common_attributes |
One per object might be implemented this way?
Drawing attributes are broken into chunks so we do not use lots of time and memory to manage information that is rarely used. Common attributes that are almost always needed. Fancy attributes are rarely needed. There will probably be other "chunks" of attributes.
class CRhinoDrawFancyAttributes* CRhinoDrawAttributes::m_fancy_attributes |