REFERENCE MANUAL
The TreeContext class is a user space object. More...
Public Member Functions | |
override void | Dispose () |
override bool | Equals (System.Object obj) |
bool | Equals (HPS.TreeContext in_that) |
Check if the source TreeContext is the same as this TreeContext. More... | |
override int | GetHashCode () |
override HPS.Type | ObjectType () |
This function returns the type the object, as declared. More... | |
TreeContext (bool in_create) | |
The default constructor creates a new TreeContext object. More... | |
TreeContext () | |
The default constructor creates a new TreeContext object. More... | |
TreeContext (HPS.TreeContext in_that) | |
The copy constructor shares a TreeContext object. More... | |
![]() | |
virtual bool | Empty () |
Indicates whether this object has any values set on it. More... | |
IntPtr | GetClassID () |
IntPtr | GetInstanceID () |
Returns an identifier that can be used to identify which instance of a class an object is. More... | |
bool | HasType (HPS.Type in_mask) |
This function indicates whether this Object has the given Type mask. More... | |
Object (HPS.Object in_that) | |
The move constructor creates an Object by transferring the underlying impl of the rvalue reference to this Object thereby avoiding a copy and allocation. More... | |
virtual void | Reset () |
Resets this object to its initial, uninitialized state. More... | |
HPS.Type | Type () |
This function returns the true type of the underlying object. More... | |
Static Public Member Functions | |
static bool | operator!= (HPS.TreeContext a, HPS.TreeContext b) |
static bool | operator== (HPS.TreeContext a, HPS.TreeContext b) |
![]() | |
static IntPtr | ClassID< T > () |
Protected Member Functions | |
override void | deleteCptr () |
![]() | |
virtual IntPtr | GetNonDirectorClassID () |
Additional Inherited Members | |
![]() | |
bool | cMemOwn |
HandleRef | cptr |
HandleRef | scptr |
The TreeContext class is a user space object.
It contains a spatial partition used for selection and relation computations with shells. If many world-space selections are going to be computed without modifying the segment tree, using the same tree context for all of them can be a significant optimization. If one is not specified, a new one is computed internally each time.
HPS.TreeContext.TreeContext | ( | bool | in_create | ) |
The default constructor creates a new TreeContext object.
in_create | whether to create the underlying spatial tree context. |
HPS.TreeContext.TreeContext | ( | ) |
The default constructor creates a new TreeContext object.
HPS.TreeContext.TreeContext | ( | HPS.TreeContext | in_that | ) |
The copy constructor shares a TreeContext object.
in_that | The source <ref refid="class_h_p_s_1_1_tree_context" kindref="compound">TreeContext</ref> to share. |
bool HPS.TreeContext.Equals | ( | HPS.TreeContext | in_that | ) |
Check if the source TreeContext is the same as this TreeContext.
|
virtual |
This function returns the type the object, as declared.
This does not necessarily give the true type of the underlying object.
Reimplemented from HPS.Object.