Inheritance diagram for HPS.TreeContext:

Public Member Functions

override void Dispose ()
override bool Equals (System.Object obj)
bool Equals (HPS.TreeContext in_that)
override int GetHashCode ()
override HPS.Type ObjectType ()
 TreeContext (bool in_create)
 TreeContext ()
 TreeContext (HPS.TreeContext in_that)
- Public Member Functions inherited from HPS.Object
virtual bool Empty ()
IntPtr GetClassID ()
IntPtr GetInstanceID ()
bool HasType (HPS.Type in_mask)
Object (HPS.Object that)
virtual void Reset ()
virtual HPS.Type Type ()

Static Public Member Functions

static bool operator!= (HPS.TreeContext a, HPS.TreeContext b)
static bool operator== (HPS.TreeContext a, HPS.TreeContext b)
- Static Public Member Functions inherited from HPS.Object
static IntPtr ClassID< T > ()

Protected Member Functions

override void deleteCptr ()
- Protected Member Functions inherited from HPS.Object
virtual IntPtr GetNonDirectorClassID ()

Additional Inherited Members

- Protected Attributes inherited from HPS.Object
bool cMemOwn
HandleRef cptr

Detailed Description

The TreeContext class is a user space object. It contains a spatial partition used for shell selection and shell relation computations. If many such operations will be performed without modifying the segment tree, using the same TreeContext for all of them can be a significant optimization. If a TreeContext is not specified, a new one is computed internally each time.

Constructor & Destructor Documentation

◆ TreeContext() [1/3]

HPS.TreeContext.TreeContext ( bool  in_create)

The default constructor creates a new TreeContext object.

in_createwhether to create the underlying spatial tree context.

◆ TreeContext() [2/3]

HPS.TreeContext.TreeContext ( )

The default constructor creates a new TreeContext object.

◆ TreeContext() [3/3]

HPS.TreeContext.TreeContext ( HPS.TreeContext  in_that)

The copy constructor shares a TreeContext object.

in_thatThe source TreeContext to share.

Member Function Documentation

◆ Equals()

bool HPS.TreeContext.Equals ( HPS.TreeContext  in_that)

Check if the source TreeContext is the same as this TreeContext.

true if the objects are identical, false otherwise.

◆ ObjectType()

override HPS.Type HPS.TreeContext.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).

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