#include <hps.h>

Public Member Functions | |
void | Consume (SphereKit &in_kit) |
HPS::Type | ObjectType () const |
SphereKey & | operator= (SphereKey const &in_that) |
SphereKey & | operator= (SphereKey &&in_that) |
void | Set (SphereKit const &in_kit) |
SphereKey & | SetBasis (Vector const &in_vertical, Vector const &in_horizontal) |
SphereKey & | SetCenter (Point const &in_center) |
SphereKey & | SetRadius (float in_radius) |
void | Show (SphereKit &out_kit) const |
bool | ShowBasis (Vector &out_vertical, Vector &out_horizontal) const |
bool | ShowCenter (Point &out_center) const |
bool | ShowRadius (float &out_radius) const |
SphereKey () | |
SphereKey (Key const &in_that) | |
SphereKey (SphereKey const &in_that) | |
SphereKey (SphereKey &&in_that) | |
![]() | |
GeometryKey () | |
GeometryKey (Key const &in_that) | |
GeometryKey (GeometryKey const &in_that) | |
GeometryKey (GeometryKey &&in_that) | |
GeometryKey & | operator= (GeometryKey const &in_that) |
GeometryKey & | operator= (GeometryKey &&in_that) |
GeometryKey & | SetPriority (int in_priority) |
GeometryKey & | SetUserData (intptr_t in_index, size_t in_bytes, byte const in_data[]) |
GeometryKey & | SetUserData (intptr_t in_index, ByteArray const &in_data) |
GeometryKey & | SetUserData (IntPtrTArray const &in_indices, ByteArrayArray const &in_data) |
bool | ShowBounding (BoundingKit &out_kit) const |
bool | ShowPriority (int &out_priority) const |
size_t | ShowReferrers (SegmentKeyArray &out_segments) const |
size_t | ShowReferrers (ReferenceKeyArray &out_references) const |
bool | ShowUserData (intptr_t in_index, ByteArray &out_data) const |
bool | ShowUserData (IntPtrTArray &out_indices, ByteArrayArray &out_data) const |
size_t | ShowUserDataCount () const |
bool | ShowUserDataIndices (IntPtrTArray &out_indices) const |
GeometryKey & | UnsetAllUserData () |
GeometryKey & | UnsetPriority () |
GeometryKey & | UnsetUserData (intptr_t in_index) |
GeometryKey & | UnsetUserData (size_t in_count, intptr_t const in_indices[]) |
GeometryKey & | UnsetUserData (IntPtrTArray const &in_indices) |
![]() | |
virtual void | Assign (Key const &in_that) |
Key | CopyTo (SegmentKey const &in_destination) const |
void | Delete () |
bool | Equals (Key const &in_that) const |
size_t | GetHash () const |
bool | HasOwner () const |
Key () | |
Key (Key const &in_that) | |
Key (Control const &in_control) | |
Key (Key &&in_that) | |
void | MoveTo (SegmentKey const &in_new_owner) |
bool | operator!= (Key const &in_that) const |
Key & | operator= (Key &&in_that) |
Key & | operator= (Key const &in_that) |
bool | operator== (Key const &in_that) const |
SegmentKey | Owner () const |
SegmentKey | Up () const |
virtual | ~Key () |
![]() | |
virtual bool | Empty () const |
intptr_t | GetClassID () const |
intptr_t | GetInstanceID () const |
bool | HasType (HPS::Type in_mask) const |
Object (Object const &that) | |
Object (Object &&in_that) | |
Object & | operator= (Object const &other_object) |
Object & | operator= (Object &&in_that) |
virtual void | Reset () |
virtual HPS::Type | Type () const |
Additional Inherited Members | |
![]() | |
template<typename T > | |
static intptr_t | ClassID () |
Detailed Description
The SphereKey class is a smart pointer to a database object. It is a handle to a sphere inserted via SegmentKey::InsertSphere.
Constructor & Destructor Documentation
HPS::SphereKey::SphereKey | ( | ) |
|
explicit |
This constructor creates a SphereKey object that shares the underlying smart-pointer of the source Key. The copy will only be successful if the source key is really an upcast of a Sphere key. Otherwise the copy will fail and the resulting SphereKey will be invalid.
- Parameters
-
in_key The source Key to copy.
HPS::SphereKey::SphereKey | ( | SphereKey const & | in_that | ) |
HPS::SphereKey::SphereKey | ( | SphereKey && | in_that | ) |
Member Function Documentation
void HPS::SphereKey::Consume | ( | SphereKit & | in_kit | ) |
|
inlinevirtual |
This function returns the type the object, as declared. This does not necessarily give the true type of the underlying object.
- Returns
- The declared type of the object in question, which may differ from the true, underlying type.
Reimplemented from HPS::GeometryKey.
void HPS::SphereKey::Set | ( | SphereKit const & | in_kit | ) |
SphereKey& HPS::SphereKey::SetRadius | ( | float | in_radius | ) |
void HPS::SphereKey::Show | ( | SphereKit & | out_kit | ) | const |
bool HPS::SphereKey::ShowCenter | ( | Point & | out_center | ) | const |
bool HPS::SphereKey::ShowRadius | ( | float & | out_radius | ) | const |
The documentation for this class was generated from the following file:
- include/hps.h