More...
|
| BoundingKit () |
| Initializes an empty kit. More...
|
|
| BoundingKit (HPS.BoundingKit in_kit) |
| The copy constructor creates a new BoundingKit object that contains the same settings as the source object. More...
|
|
override void | Dispose () |
|
override bool | Empty () |
| Indicates whether this object has any values set on it. More...
|
|
override bool | Equals (System.Object obj) |
|
bool | Equals (HPS.BoundingKit in_kit) |
| Check if the source BoundingKit is equivalent to this object. More...
|
|
override int | GetHashCode () |
|
override HPS.Type | ObjectType () |
| This function returns the type the object, as declared (if the object is derived, this does not give the true type of the derived object). More...
|
|
void | Set (HPS.BoundingKit in_kit) |
| Copies all settings from the source BoundingKit into this object. More...
|
|
HPS.BoundingKit | SetExclusion (bool in_exclude) |
| Controls whether this segment should be excluded when computing bounding volumes. More...
|
|
HPS.BoundingKit | SetVolume (HPS.SimpleSphere in_sphere) |
| Explicitly sets the local bounding. More...
|
|
HPS.BoundingKit | SetVolume (HPS.SimpleCuboid in_cuboid) |
| Explicitly sets the local bounding. More...
|
|
void | Show (out HPS.BoundingKit out_kit) |
| Copies all settings from this BoundingKit into the given BoundingKit. More...
|
|
bool | ShowExclusion (out bool out_exclusion) |
| Shows the bounding exclusion setting. More...
|
|
bool | ShowVolume (out HPS.SimpleSphere out_sphere, out HPS.SimpleCuboid out_cuboid) |
| Shows the bounding volume. More...
|
|
HPS.BoundingKit | UnsetEverything () |
| Removes all bounding settings from this object. More...
|
|
HPS.BoundingKit | UnsetExclusion () |
| Removes a bounding exclusion setting. More...
|
|
HPS.BoundingKit | UnsetVolume () |
| Removes an explicitly set bounding, reverting to the automatically generated one. More...
|
|
override void | Dispose () |
|
| Kit (HPS.Kit in_that) |
|
override HPS.Type | ObjectType () |
| This function returns the type the object, as declared (if the object is derived, this does not give the true type of the derived object). More...
|
|
override 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...
|
|
IntPtr | GetClassID () |
|
IntPtr | GetInstanceID () |
| Returns the object's database handle, which can be used to determine which instance of a class the object is. For example, controls are simply aliases for segment keys that group related functions. Therefore, a SegmentKey and all of its controls would return the same instance id. 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...
|
|
|
override void | deleteCptr () |
|
override void | deleteCptr () |
|
virtual IntPtr | GetNonDirectorClassID () |
|
|
bool | cMemOwn |
|
HandleRef | cptr |
|
The HPS.BoundingKit class is a user space object, useful for carrying a group of attribute settings. Calling HPS.BoundingKit.GetDefault() will return a kit with values found in this table.
◆ BoundingKit() [1/2]
HPS.BoundingKit.BoundingKit |
( |
| ) |
|
|
inline |
Initializes an empty kit.
◆ BoundingKit() [2/2]
The copy constructor creates a new BoundingKit object that contains the same settings as the source object.
- Parameters
-
in_kit | The source object to copy. |
◆ Empty()
override bool HPS.BoundingKit.Empty |
( |
| ) |
|
|
inlinevirtual |
Indicates whether this object has any values set on it.
- Returns
- true if no values are set on this object, false otherwise.
Reimplemented from HPS.Object.
◆ Equals()
Check if the source BoundingKit is equivalent to this object.
- Parameters
-
in_kit | The source BoundingKit to compare to this object. |
- Returns
- true if the objects are equivalent, false otherwise.
◆ GetDefault()
Creates a BoundingKit which contains the default settings. The returned object will not necessarily have values set for every option, but it will have settings for those options where it is reasonable to have a default.
- Returns
- A BoundingKit with the default settings.
◆ ObjectType()
override HPS.Type HPS.BoundingKit.ObjectType |
( |
| ) |
|
|
inlinevirtual |
This function returns the type the object, as declared (if the object is derived, this does not give the true type of the derived object).
- Returns
- The declared type of the object in question, which may differ from the true, underlying type.
Reimplemented from HPS.Object.
◆ Set()
Copies all settings from the source BoundingKit into this object.
- Parameters
-
◆ SetExclusion()
Controls whether this segment should be excluded when computing bounding volumes.
- Parameters
-
in_exclude | Whether to exclude this segment when computing bounding volumes. |
- Returns
- A reference to this object.
◆ SetVolume() [1/2]
Explicitly sets the local bounding.
- Parameters
-
- Returns
- A reference to this object.
◆ SetVolume() [2/2]
Explicitly sets the local bounding.
- Parameters
-
- Returns
- A reference to this object.
◆ Show()
◆ ShowExclusion()
bool HPS.BoundingKit.ShowExclusion |
( |
out bool |
out_exclusion | ) |
|
|
inline |
Shows the bounding exclusion setting.
- Parameters
-
out_exclusion | Whether to exclude this segment when computing bounding volumes. |
- Returns
- true if the setting is valid, false otherwise.
◆ ShowVolume()
Shows the bounding volume.
- Parameters
-
out_sphere | A sphere to show the volume into. If the bounding is not a sphere, this argument will be invalidated. |
out_cuboid | A cuboid to show the volume into. If the bounding is not a cuboid, this argument will be invalidated. |
- Returns
- true if the setting is valid, false otherwise.
◆ UnsetEverything()
Removes all bounding settings from this object.
- Returns
- A reference to this object.
◆ UnsetExclusion()
Removes a bounding exclusion setting.
- Returns
- A reference to this object.
◆ UnsetVolume()
Removes an explicitly set bounding, reverting to the automatically generated one.
- Returns
- A reference to this object.
The documentation for this class was generated from the following file:
- internals/hps_core/source/cs/HPS.BoundingKit.cs