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.
More...
|
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. This does not necessarily give the true type of the underlying object. 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. Different keys and controls will return the same value if they are backed by the same database resource. More...
|
|
bool | HasType (HPS.Type in_mask) |
| This function indicates whether this Object has the given Type mask. More...
|
|
| Object (HPS.Object that) |
|
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. This function is useful for finding the type of smart pointer objects that have been cast to more generic types. More...
|
|
|
override void | deleteCptr () |
|
virtual IntPtr | GetNonDirectorClassID () |
|
|
bool | cMemOwn |
|
HandleRef | cptr |
|
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 | ) |
|
|
inline |
The default constructor creates a new TreeContext object.
- Parameters
-
in_create | whether to create the underlying spatial tree context. |
HPS.TreeContext.TreeContext |
( |
| ) |
|
|
inline |
The default constructor creates a new TreeContext object.
The copy constructor shares a TreeContext object.
- Parameters
-
Check if the source TreeContext is the same as this TreeContext.
- Returns
- true if the objects are identical, false otherwise.
override HPS.Type HPS.TreeContext.ObjectType |
( |
| ) |
|
|
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.Object.
The documentation for this class was generated from the following file:
- internals/hps_core/source/cs/HPS.TreeContext.cs