ActiViz .NET  5.8.0
Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | Protected Member Functions | Static Private Member Functions
Kitware.VTK.vtkIncrementalOctreePointLocator Class Reference

vtkIncrementalOctreePointLocator - Incremental octree in support of both point location and point insertion. More...

Inheritance diagram for Kitware.VTK.vtkIncrementalOctreePointLocator:
[legend]
Collaboration diagram for Kitware.VTK.vtkIncrementalOctreePointLocator:
[legend]

List of all members.

Public Member Functions

 vtkIncrementalOctreePointLocator (IntPtr rawCppThis, bool callDisposalMethod, bool strong)
 Automatically generated constructor - called from generated code. DO NOT call directly.
 vtkIncrementalOctreePointLocator ()
 *Undocumented Block
virtual void BuildCubicOctreeOff ()
 Set/Get whether the search octree is built as a cubic shape or not.
virtual void BuildCubicOctreeOn ()
 Set/Get whether the search octree is built as a cubic shape or not.
override void BuildLocator ()
 Load points from a dataset to construct an octree for point location. This function resorts to InitPointInsertion() to fulfill some of the work.
override int FindClosestInsertedPoint (IntPtr x)
 Given a point x assumed to be covered by the octree, return the index of the closest in-octree point regardless of the associated minimum squared distance relative to the squared insertion-tolerance distance. This method is used when performing incremental point insertion. Note -1 indicates that no point is found. InitPointInsertion() should have been called in advance.
override void FindClosestNPoints (int N, IntPtr x, vtkIdList result)
 Find the closest N points to a given point. The returned point ids (via result) are sorted from closest to farthest. BuildLocator() should have been called prior to this function. This method is thread safe if BuildLocator() is directly or indirectly called from a single thread first.
override int FindClosestPoint (IntPtr x)
 Given a point x, return the id of the closest point. BuildLocator() should have been called prior to this function. This method is thread safe if BuildLocator() is directly or indirectly called from a single thread first.
virtual new int FindClosestPoint (double x, double y, double z)
 Given a point (x, y, z), return the id of the closest point. Note that BuildLocator() should have been called prior to this function. This method is thread safe if BuildLocator() is directly or indirectly called from a single thread first.
virtual int FindClosestPoint (IntPtr x, IntPtr miniDist2)
 Given a point x, return the id of the closest point and the associated minimum squared distance (via miniDist2). Note BuildLocator() should have been called prior to this function. This method is thread safe if BuildLocator() is directly or indirectly called from a single thread first.
virtual int FindClosestPoint (double x, double y, double z, IntPtr miniDist2)
 Given a point (x, y, z), return the id of the closest point and the associated minimum squared distance (via miniDist2). BuildLocator() should have been called prior to this function. This method is thread safe if BuildLocator() is directly or indirectly called from a single thread first.
override int FindClosestPointWithinRadius (double radius, IntPtr x, ref double dist2)
 Given a point x and a radius, return the id of the closest point within the radius and the associated minimum squared distance (via dist2, this returned distance is valid only if the point id is not -1). Note that BuildLocator() should have been called prior to this function. This method is thread safe if BuildLocator() is directly or indirectly called from a single thread first.
int FindClosestPointWithinSquaredRadius (double radius2, IntPtr x, ref double dist2)
 Given a point x and a squared radius radius2, return the id of the closest point within the radius and the associated minimum squared distance (via dist2, note this returned distance is valid only if the point id is not -1). BuildLocator() should have been called prior to this function.This method is thread safe if BuildLocator() is directly or indirectly called from a single thread first.
override void FindPointsWithinRadius (double R, IntPtr x, vtkIdList result)
 Find all points within a radius R relative to a given point x. The returned point ids (stored in result) are not sorted in any way. BuildLocator() should have been called prior to this function. This method is thread safe if BuildLocator() is directly or indirectly called from a single thread first.
void FindPointsWithinSquaredRadius (double R2, IntPtr x, vtkIdList result)
 Find all points within a squared radius R2 relative to a given point x. The returned point ids (stored in result) are not sorted in any way. BuildLocator() should have been called prior to this function. This method is thread safe if BuildLocator() is directly or indirectly called from a single thread first.
override void FreeSearchStructure ()
 Delete the octree search structure.
override void GenerateRepresentation (int nodeLevel, vtkPolyData polysData)
 Create a polygonal representation of the octree boundary (from the root node to a specified level).
override void GetBounds (IntPtr bounds)
 Get the spatial bounding box of the octree.
override IntPtr GetBounds ()
 Get the spatial bounding box of the octree.
virtual int GetBuildCubicOctree ()
 Set/Get whether the search octree is built as a cubic shape or not.
virtual vtkPoints GetLocatorPoints ()
 Get access to the vtkPoints object in which point coordinates are stored for either point location or point insertion.
virtual int GetMaxPointsPerLeaf ()
 Set/Get the maximum number of points that a leaf node may maintain. Note that the actual number of points maintained by a leaf node might exceed this threshold if there is a large number (equal to or greater than the threshold) of exactly duplicate points (with zero distance) to be inserted (e.g., to construct an octree for subsequent point location) in extreme cases. Respecting this threshold in such scenarios would cause endless node sub-division. Thus this threshold is broken, but only in case of such situations.
virtual int GetMaxPointsPerLeafMaxValue ()
 Set/Get the maximum number of points that a leaf node may maintain. Note that the actual number of points maintained by a leaf node might exceed this threshold if there is a large number (equal to or greater than the threshold) of exactly duplicate points (with zero distance) to be inserted (e.g., to construct an octree for subsequent point location) in extreme cases. Respecting this threshold in such scenarios would cause endless node sub-division. Thus this threshold is broken, but only in case of such situations.
virtual int GetMaxPointsPerLeafMinValue ()
 Set/Get the maximum number of points that a leaf node may maintain. Note that the actual number of points maintained by a leaf node might exceed this threshold if there is a large number (equal to or greater than the threshold) of exactly duplicate points (with zero distance) to be inserted (e.g., to construct an octree for subsequent point location) in extreme cases. Respecting this threshold in such scenarios would cause endless node sub-division. Thus this threshold is broken, but only in case of such situations.
int GetNumberOfPoints ()
 Get the number of points maintained by the octree.
override int InitPointInsertion (vtkPoints points, IntPtr bounds)
 Initialize the point insertion process. points is an object, storing 3D point coordinates, to which incremental point insertion put coordinates. It is created and provided by an external VTK class. Argument bounds represents the spatial bounding box, into which the points fall. In fact, an adjusted version of the bounding box is used to build the octree to make sure no any point (to be inserted) falls outside the octree. This function is not thread safe.
override int InitPointInsertion (vtkPoints points, IntPtr bounds, int estSize)
 Initialize the point insertion process. points is an object, storing 3D point coordinates, to which incremental point insertion put coordinates. It is created and provided by an external VTK class. Argument bounds represents the spatial bounding box, into which the points fall. In fact, an adjusted version of the bounding box is used to build the octree to make sure no any point (to be inserted) falls outside the octree. Argument estSize specifies the initial estimated size of the vtkPoints object. This function is not thread safe.
override void Initialize ()
 Delete the octree search structure.
override int InsertNextPoint (IntPtr x)
 Insert a given point into the octree and return the point index. Note that InitPointInsertion() should have been called prior to this function. In addition, IsInsertedPoint() should have been called in advance to ensure that the given point has not been inserted unless point duplication is allowed (in this case, this function invovles a repeated leaf container location). vtkPoints::InsertNextPoint() is invoked.
override void InsertPoint (int ptId, IntPtr x)
 Insert a given point into the octree with a specified point index ptId. InitPointInsertion() should have been called prior to this function. In addition, IsInsertedPoint() should have been called in advance to ensure that the given point has not been inserted unless point duplication is allowed (Note that in this case, this function involves a repeated leaf container location). vtkPoints::InsertPoint() is invoked.
void InsertPointWithoutChecking (IntPtr point, ref int pntId, int insert)
 "Insert" a point to the octree without any checking. Argument insert means whether vtkPoints::InsertNextPoint() upon 1 is called or the point itself is not inserted to the vtkPoints at all but instead only the point index is inserted to a vtkIdList upon 0. For case 0, the point index needs to be specified via pntId. For case 1, the actual point index is returned via pntId. InitPointInsertion() should have been called.
override int InsertUniquePoint (IntPtr point, ref int pntId)
 Insert a point to the octree unless there has been a duplciate point. Whether the point is actually inserted (return 1) or not (return 0 upon a rejection by an existing duplicate), the index of the point (either new or the duplicate) is returned via pntId. Note that InitPointInsertion() should have been called prior to this function. vtkPoints::InsertNextPoint() is invoked. This method is not thread safe.
override int IsA (string type)
 *Undocumented Block
override int IsInsertedPoint (IntPtr x)
 Determine whether or not a given point has been inserted into the octree. Return the id of the already inserted point if true, otherwise return -1. InitPointInsertion() should have been called in advance.
override int IsInsertedPoint (double x, double y, double z)
 Determine whether or not a given point has been inserted into the octree. Return the id of the already inserted point if true, otherwise return -1. InitPointInsertion() should have been called in advance.
new
vtkIncrementalOctreePointLocator 
NewInstance ()
 *Undocumented Block
virtual void SetBuildCubicOctree (int _arg)
 Set/Get whether the search octree is built as a cubic shape or not.
virtual void SetMaxPointsPerLeaf (int _arg)
 Set/Get the maximum number of points that a leaf node may maintain. Note that the actual number of points maintained by a leaf node might exceed this threshold if there is a large number (equal to or greater than the threshold) of exactly duplicate points (with zero distance) to be inserted (e.g., to construct an octree for subsequent point location) in extreme cases. Respecting this threshold in such scenarios would cause endless node sub-division. Thus this threshold is broken, but only in case of such situations.
- Public Member Functions inherited from Kitware.VTK.vtkIncrementalPointLocator
 vtkIncrementalPointLocator (IntPtr rawCppThis, bool callDisposalMethod, bool strong)
 Automatically generated constructor - called from generated code. DO NOT call directly.
- Public Member Functions inherited from Kitware.VTK.vtkAbstractPointLocator
 vtkAbstractPointLocator (IntPtr rawCppThis, bool callDisposalMethod, bool strong)
 Automatically generated constructor - called from generated code. DO NOT call directly.
void FindClosestNPoints (int N, double x, double y, double z, vtkIdList result)
 Find the closest N points to a position. This returns the closest N points to a position. A faster method could be created that returned N close points to a position, but necessarily the exact N closest. The returned points are sorted from closest to farthest. These methods are thread safe if BuildLocator() is directly or indirectly called from a single thread first.
void FindPointsWithinRadius (double R, double x, double y, double z, vtkIdList result)
 Find all points within a specified radius R of position x. The result is not sorted in any specific manner. These methods are thread safe if BuildLocator() is directly or indirectly called from a single thread first.
- Public Member Functions inherited from Kitware.VTK.vtkLocator
 vtkLocator (IntPtr rawCppThis, bool callDisposalMethod, bool strong)
 Automatically generated constructor - called from generated code. DO NOT call directly.
override void Register (vtkObjectBase o)
 Handle the PointSet <-> Locator loop.
virtual void AutomaticOff ()
 Boolean controls whether locator depth/resolution of locator is computed automatically from average number of entities in bucket. If not set, there will be an explicit method to control the construction of the locator (found in the subclass).
virtual void AutomaticOn ()
 Boolean controls whether locator depth/resolution of locator is computed automatically from average number of entities in bucket. If not set, there will be an explicit method to control the construction of the locator (found in the subclass).
virtual int GetAutomatic ()
 Boolean controls whether locator depth/resolution of locator is computed automatically from average number of entities in bucket. If not set, there will be an explicit method to control the construction of the locator (found in the subclass).
virtual uint GetBuildTime ()
 Return the time of the last data structure build.
virtual vtkDataSet GetDataSet ()
 Build the locator from the points/cells defining this dataset.
virtual int GetLevel ()
 Get the level of the locator (determined automatically if Automatic is true). The value of this ivar may change each time the locator is built. Initial value is 8.
virtual int GetMaxLevel ()
 Set the maximum allowable level for the tree. If the Automatic ivar is off, this will be the target depth of the locator. Initial value is 8.
virtual int GetMaxLevelMaxValue ()
 Set the maximum allowable level for the tree. If the Automatic ivar is off, this will be the target depth of the locator. Initial value is 8.
virtual int GetMaxLevelMinValue ()
 Set the maximum allowable level for the tree. If the Automatic ivar is off, this will be the target depth of the locator. Initial value is 8.
virtual double GetTolerance ()
 Specify absolute tolerance (in world coordinates) for performing geometric operations.
virtual double GetToleranceMaxValue ()
 Specify absolute tolerance (in world coordinates) for performing geometric operations.
virtual double GetToleranceMinValue ()
 Specify absolute tolerance (in world coordinates) for performing geometric operations.
virtual void SetAutomatic (int _arg)
 Boolean controls whether locator depth/resolution of locator is computed automatically from average number of entities in bucket. If not set, there will be an explicit method to control the construction of the locator (found in the subclass).
virtual void SetDataSet (vtkDataSet arg0)
 Build the locator from the points/cells defining this dataset.
virtual void SetMaxLevel (int _arg)
 Set the maximum allowable level for the tree. If the Automatic ivar is off, this will be the target depth of the locator. Initial value is 8.
virtual void SetTolerance (double _arg)
 Specify absolute tolerance (in world coordinates) for performing geometric operations.
virtual void Update ()
 Cause the locator to rebuild itself if it or its input dataset has changed.
- Public Member Functions inherited from Kitware.VTK.vtkObject
 vtkObject (IntPtr rawCppThis, bool callDisposalMethod, bool strong)
 Automatically generated constructor - called from generated code. DO NOT call directly.
 vtkObject ()
 Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
uint AddObserver (uint arg0, vtkCommand arg1, float priority)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
uint AddObserver (string arg0, vtkCommand arg1, float priority)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
virtual void DebugOff ()
 Turn debugging output off.
virtual void DebugOn ()
 Turn debugging output on.
vtkCommand GetCommand (uint tag)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
byte GetDebug ()
 Get the value of the debug flag.
virtual uint GetMTime ()
 Return this object's modified time.
int HasObserver (uint arg0, vtkCommand arg1)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
int HasObserver (string arg0, vtkCommand arg1)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
int HasObserver (uint arg0)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
int HasObserver (string arg0)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
int InvokeEvent (uint arg0, IntPtr callData)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
int InvokeEvent (string arg0, IntPtr callData)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
int InvokeEvent (uint arg0)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
int InvokeEvent (string arg0)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
virtual void Modified ()
 Update the modification time for this object. Many filters rely on the modification time to determine if they need to recompute their data. The modification time is a unique monotonically increasing unsigned long integer.
void RemoveAllObservers ()
 This is a global flag that controls whether any debug, warning or error messages are displayed.
void RemoveObserver (vtkCommand arg0)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
void RemoveObserver (uint tag)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
void RemoveObservers (uint arg0, vtkCommand arg1)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
void RemoveObservers (string arg0, vtkCommand arg1)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
void RemoveObservers (uint arg0)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
void RemoveObservers (string arg0)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
void SetDebug (byte debugFlag)
 Set the value of the debug flag. A non-zero value turns debugging on.
override string ToString ()
 Returns the result of calling vtkObject::Print as a C# string.
delegate void vtkObjectEventHandler (vtkObject sender, vtkObjectEventArgs e)
 Generic signature for all vtkObject events.
void RemoveAllHandlersForAllEvents ()
 Call RemoveAllHandlers on each non-null vtkObjectEventRelay. TODO: This method needs to get called by the generated Dispose. Make that happen...
- Public Member Functions inherited from Kitware.VTK.vtkObjectBase
 vtkObjectBase (IntPtr rawCppThis, bool callDisposalMethod, bool strong)
 Automatically generated constructor - called from generated code. DO NOT call directly.
 vtkObjectBase ()
 Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
virtual void FastDelete ()
 Delete a reference to this object. This version will not invoke garbage collection and can potentially leak the object if it is part of a reference loop. Use this method only when it is known that the object has another reference and would not be collected if a full garbage collection check were done.
string GetClassName ()
 Return the class name as a string. This method is defined in all subclasses of vtkObjectBase with the vtkTypeMacro found in vtkSetGet.h.
int GetReferenceCount ()
 Return the current reference count of this object.
void SetReferenceCount (int arg0)
 Sets the reference count. (This is very dangerous, use with care.)

Static Public Member Functions

static new
vtkIncrementalOctreePointLocator 
New ()
 *Undocumented Block
static new int IsTypeOf (string type)
 *Undocumented Block
static new
vtkIncrementalOctreePointLocator 
SafeDownCast (vtkObjectBase o)
 *Undocumented Block

Public Attributes

new const string MRFullTypeName = "Kitware.VTK.vtkIncrementalOctreePointLocator"
 Automatically generated type registration mechanics.
- Public Attributes inherited from Kitware.VTK.vtkIncrementalPointLocator
- Public Attributes inherited from Kitware.VTK.vtkAbstractPointLocator
- Public Attributes inherited from Kitware.VTK.vtkLocator
- Public Attributes inherited from Kitware.VTK.vtkObject
- Public Attributes inherited from Kitware.VTK.vtkObjectBase
- Public Attributes inherited from Kitware.VTK.WrappedObject
const string vtkChartsEL_dll = "libKitware.VTK.vtkCharts.Unmanaged.so"
 Export layer functions for 'vtkCharts' are exported from the DLL named by the value of this variable.
const string vtkCommonEL_dll = "libKitware.VTK.vtkCommon.Unmanaged.so"
 Export layer functions for 'vtkCommon' are exported from the DLL named by the value of this variable.
const string vtkFilteringEL_dll = "libKitware.VTK.vtkFiltering.Unmanaged.so"
 Export layer functions for 'vtkFiltering' are exported from the DLL named by the value of this variable.
const string vtkGenericFilteringEL_dll = "libKitware.VTK.vtkGenericFiltering.Unmanaged.so"
 Export layer functions for 'vtkGenericFiltering' are exported from the DLL named by the value of this variable.
const string vtkGeovisEL_dll = "libKitware.VTK.vtkGeovis.Unmanaged.so"
 Export layer functions for 'vtkGeovis' are exported from the DLL named by the value of this variable.
const string vtkGraphicsEL_dll = "libKitware.VTK.vtkGraphics.Unmanaged.so"
 Export layer functions for 'vtkGraphics' are exported from the DLL named by the value of this variable.
const string vtkHybridEL_dll = "libKitware.VTK.vtkHybrid.Unmanaged.so"
 Export layer functions for 'vtkHybrid' are exported from the DLL named by the value of this variable.
const string vtkIOEL_dll = "libKitware.VTK.vtkIO.Unmanaged.so"
 Export layer functions for 'vtkIO' are exported from the DLL named by the value of this variable.
const string vtkImagingEL_dll = "libKitware.VTK.vtkImaging.Unmanaged.so"
 Export layer functions for 'vtkImaging' are exported from the DLL named by the value of this variable.
const string vtkInfovisEL_dll = "libKitware.VTK.vtkInfovis.Unmanaged.so"
 Export layer functions for 'vtkInfovis' are exported from the DLL named by the value of this variable.
const string vtkParallelEL_dll = "libKitware.VTK.vtkParallel.Unmanaged.so"
 Export layer functions for 'vtkParallel' are exported from the DLL named by the value of this variable.
const string vtkRenderingEL_dll = "libKitware.VTK.vtkRendering.Unmanaged.so"
 Export layer functions for 'vtkRendering' are exported from the DLL named by the value of this variable.
const string vtkViewsEL_dll = "libKitware.VTK.vtkViews.Unmanaged.so"
 Export layer functions for 'vtkViews' are exported from the DLL named by the value of this variable.
const string vtkVolumeRenderingEL_dll = "libKitware.VTK.vtkVolumeRendering.Unmanaged.so"
 Export layer functions for 'vtkVolumeRendering' are exported from the DLL named by the value of this variable.
const string vtkWidgetsEL_dll = "libKitware.VTK.vtkWidgets.Unmanaged.so"
 Export layer functions for 'vtkWidgets' are exported from the DLL named by the value of this variable.

Static Public Attributes

static new readonly string MRClassNameKey = "32vtkIncrementalOctreePointLocator"
 Automatically generated type registration mechanics.
- Static Public Attributes inherited from Kitware.VTK.vtkIncrementalPointLocator
- Static Public Attributes inherited from Kitware.VTK.vtkAbstractPointLocator
- Static Public Attributes inherited from Kitware.VTK.vtkLocator
- Static Public Attributes inherited from Kitware.VTK.vtkObject
- Static Public Attributes inherited from Kitware.VTK.vtkObjectBase

Protected Member Functions

override void Dispose (bool disposing)
 Automatically generated protected Dispose method - called from public Dispose or the C# destructor. DO NOT call directly.

Static Private Member Functions

static vtkIncrementalOctreePointLocator ()
 Automatically generated type registration mechanics.

Detailed Description

vtkIncrementalOctreePointLocator - Incremental octree in support of both point location and point insertion.

Description As opposed to the uniform bin-based search structure (adopted in class vtkPointLocator) with a fixed spatial resolution, an octree mechanism employs a hierarchy of tree-like sub-division of the 3D data domain. Thus it enables data-aware multi-resolution and accordingly accelerated point location as well as insertion, particularly when handling a radically imbalanced layout of points as not uncommon in datasets defined on adaptive meshes. Compared to a static point locator supporting pure location functionalities through some search structure established from a fixed set of points, an incremental point locator allows for, in addition, point insertion capabilities, with the search structure maintaining a dynamically increasing number of points. Class vtkIncrementalOctreePointLocator is an octree-based accelerated implementation of the functionalities of the uniform bin-based incremental point locator vtkPointLocator. For point location, an octree is built by accessing a vtkDataSet, specifically a vtkPointSet. For point insertion, an empty octree is inited and then incrementally populated as points are inserted. Three increasingly complex point insertion modes, i.e., direct check-free insertion, zero tolerance insertion, and non-zero tolerance insertion, are supported. In fact, the octree used in the point location mode is actually constructed via direct check-free point insertion. This class also provides a polygonal representation of the octree boundary.

vtkAbstractPointLocator, vtkIncrementalPointLocator, vtkPointLocator, vtkMergePoints


Constructor & Destructor Documentation

static Kitware.VTK.vtkIncrementalOctreePointLocator.vtkIncrementalOctreePointLocator ( )
staticprivate

Automatically generated type registration mechanics.

Kitware.VTK.vtkIncrementalOctreePointLocator.vtkIncrementalOctreePointLocator ( IntPtr  rawCppThis,
bool  callDisposalMethod,
bool  strong 
)

Automatically generated constructor - called from generated code. DO NOT call directly.

Kitware.VTK.vtkIncrementalOctreePointLocator.vtkIncrementalOctreePointLocator ( )

*Undocumented Block


Member Function Documentation

virtual void Kitware.VTK.vtkIncrementalOctreePointLocator.BuildCubicOctreeOff ( )
virtual

Set/Get whether the search octree is built as a cubic shape or not.

virtual void Kitware.VTK.vtkIncrementalOctreePointLocator.BuildCubicOctreeOn ( )
virtual

Set/Get whether the search octree is built as a cubic shape or not.

override void Kitware.VTK.vtkIncrementalOctreePointLocator.BuildLocator ( )
virtual

Load points from a dataset to construct an octree for point location. This function resorts to InitPointInsertion() to fulfill some of the work.

Reimplemented from Kitware.VTK.vtkAbstractPointLocator.

override void Kitware.VTK.vtkIncrementalOctreePointLocator.Dispose ( bool  disposing)
protected

Automatically generated protected Dispose method - called from public Dispose or the C# destructor. DO NOT call directly.

Reimplemented from Kitware.VTK.vtkIncrementalPointLocator.

override int Kitware.VTK.vtkIncrementalOctreePointLocator.FindClosestInsertedPoint ( IntPtr  x)
virtual

Given a point x assumed to be covered by the octree, return the index of the closest in-octree point regardless of the associated minimum squared distance relative to the squared insertion-tolerance distance. This method is used when performing incremental point insertion. Note -1 indicates that no point is found. InitPointInsertion() should have been called in advance.

Reimplemented from Kitware.VTK.vtkIncrementalPointLocator.

override void Kitware.VTK.vtkIncrementalOctreePointLocator.FindClosestNPoints ( int  N,
IntPtr  x,
vtkIdList  result 
)
virtual

Find the closest N points to a given point. The returned point ids (via result) are sorted from closest to farthest. BuildLocator() should have been called prior to this function. This method is thread safe if BuildLocator() is directly or indirectly called from a single thread first.

Reimplemented from Kitware.VTK.vtkAbstractPointLocator.

override int Kitware.VTK.vtkIncrementalOctreePointLocator.FindClosestPoint ( IntPtr  x)
virtual

Given a point x, return the id of the closest point. BuildLocator() should have been called prior to this function. This method is thread safe if BuildLocator() is directly or indirectly called from a single thread first.

Reimplemented from Kitware.VTK.vtkAbstractPointLocator.

virtual new int Kitware.VTK.vtkIncrementalOctreePointLocator.FindClosestPoint ( double  x,
double  y,
double  z 
)
virtual

Given a point (x, y, z), return the id of the closest point. Note that BuildLocator() should have been called prior to this function. This method is thread safe if BuildLocator() is directly or indirectly called from a single thread first.

Reimplemented from Kitware.VTK.vtkAbstractPointLocator.

virtual int Kitware.VTK.vtkIncrementalOctreePointLocator.FindClosestPoint ( IntPtr  x,
IntPtr  miniDist2 
)
virtual

Given a point x, return the id of the closest point and the associated minimum squared distance (via miniDist2). Note BuildLocator() should have been called prior to this function. This method is thread safe if BuildLocator() is directly or indirectly called from a single thread first.

virtual int Kitware.VTK.vtkIncrementalOctreePointLocator.FindClosestPoint ( double  x,
double  y,
double  z,
IntPtr  miniDist2 
)
virtual

Given a point (x, y, z), return the id of the closest point and the associated minimum squared distance (via miniDist2). BuildLocator() should have been called prior to this function. This method is thread safe if BuildLocator() is directly or indirectly called from a single thread first.

override int Kitware.VTK.vtkIncrementalOctreePointLocator.FindClosestPointWithinRadius ( double  radius,
IntPtr  x,
ref double  dist2 
)
virtual

Given a point x and a radius, return the id of the closest point within the radius and the associated minimum squared distance (via dist2, this returned distance is valid only if the point id is not -1). Note that BuildLocator() should have been called prior to this function. This method is thread safe if BuildLocator() is directly or indirectly called from a single thread first.

Reimplemented from Kitware.VTK.vtkAbstractPointLocator.

int Kitware.VTK.vtkIncrementalOctreePointLocator.FindClosestPointWithinSquaredRadius ( double  radius2,
IntPtr  x,
ref double  dist2 
)

Given a point x and a squared radius radius2, return the id of the closest point within the radius and the associated minimum squared distance (via dist2, note this returned distance is valid only if the point id is not -1). BuildLocator() should have been called prior to this function.This method is thread safe if BuildLocator() is directly or indirectly called from a single thread first.

override void Kitware.VTK.vtkIncrementalOctreePointLocator.FindPointsWithinRadius ( double  R,
IntPtr  x,
vtkIdList  result 
)
virtual

Find all points within a radius R relative to a given point x. The returned point ids (stored in result) are not sorted in any way. BuildLocator() should have been called prior to this function. This method is thread safe if BuildLocator() is directly or indirectly called from a single thread first.

Reimplemented from Kitware.VTK.vtkAbstractPointLocator.

void Kitware.VTK.vtkIncrementalOctreePointLocator.FindPointsWithinSquaredRadius ( double  R2,
IntPtr  x,
vtkIdList  result 
)

Find all points within a squared radius R2 relative to a given point x. The returned point ids (stored in result) are not sorted in any way. BuildLocator() should have been called prior to this function. This method is thread safe if BuildLocator() is directly or indirectly called from a single thread first.

override void Kitware.VTK.vtkIncrementalOctreePointLocator.FreeSearchStructure ( )
virtual

Delete the octree search structure.

Reimplemented from Kitware.VTK.vtkAbstractPointLocator.

override void Kitware.VTK.vtkIncrementalOctreePointLocator.GenerateRepresentation ( int  nodeLevel,
vtkPolyData  polysData 
)
virtual

Create a polygonal representation of the octree boundary (from the root node to a specified level).

Reimplemented from Kitware.VTK.vtkAbstractPointLocator.

override void Kitware.VTK.vtkIncrementalOctreePointLocator.GetBounds ( IntPtr  bounds)
virtual

Get the spatial bounding box of the octree.

Reimplemented from Kitware.VTK.vtkAbstractPointLocator.

override IntPtr Kitware.VTK.vtkIncrementalOctreePointLocator.GetBounds ( )
virtual

Get the spatial bounding box of the octree.

Reimplemented from Kitware.VTK.vtkAbstractPointLocator.

virtual int Kitware.VTK.vtkIncrementalOctreePointLocator.GetBuildCubicOctree ( )
virtual

Set/Get whether the search octree is built as a cubic shape or not.

virtual vtkPoints Kitware.VTK.vtkIncrementalOctreePointLocator.GetLocatorPoints ( )
virtual

Get access to the vtkPoints object in which point coordinates are stored for either point location or point insertion.

Here is the call graph for this function:

virtual int Kitware.VTK.vtkIncrementalOctreePointLocator.GetMaxPointsPerLeaf ( )
virtual

Set/Get the maximum number of points that a leaf node may maintain. Note that the actual number of points maintained by a leaf node might exceed this threshold if there is a large number (equal to or greater than the threshold) of exactly duplicate points (with zero distance) to be inserted (e.g., to construct an octree for subsequent point location) in extreme cases. Respecting this threshold in such scenarios would cause endless node sub-division. Thus this threshold is broken, but only in case of such situations.

virtual int Kitware.VTK.vtkIncrementalOctreePointLocator.GetMaxPointsPerLeafMaxValue ( )
virtual

Set/Get the maximum number of points that a leaf node may maintain. Note that the actual number of points maintained by a leaf node might exceed this threshold if there is a large number (equal to or greater than the threshold) of exactly duplicate points (with zero distance) to be inserted (e.g., to construct an octree for subsequent point location) in extreme cases. Respecting this threshold in such scenarios would cause endless node sub-division. Thus this threshold is broken, but only in case of such situations.

virtual int Kitware.VTK.vtkIncrementalOctreePointLocator.GetMaxPointsPerLeafMinValue ( )
virtual

Set/Get the maximum number of points that a leaf node may maintain. Note that the actual number of points maintained by a leaf node might exceed this threshold if there is a large number (equal to or greater than the threshold) of exactly duplicate points (with zero distance) to be inserted (e.g., to construct an octree for subsequent point location) in extreme cases. Respecting this threshold in such scenarios would cause endless node sub-division. Thus this threshold is broken, but only in case of such situations.

int Kitware.VTK.vtkIncrementalOctreePointLocator.GetNumberOfPoints ( )

Get the number of points maintained by the octree.

override void Kitware.VTK.vtkIncrementalOctreePointLocator.Initialize ( )
virtual

Delete the octree search structure.

Reimplemented from Kitware.VTK.vtkIncrementalPointLocator.

override int Kitware.VTK.vtkIncrementalOctreePointLocator.InitPointInsertion ( vtkPoints  points,
IntPtr  bounds 
)
virtual

Initialize the point insertion process. points is an object, storing 3D point coordinates, to which incremental point insertion put coordinates. It is created and provided by an external VTK class. Argument bounds represents the spatial bounding box, into which the points fall. In fact, an adjusted version of the bounding box is used to build the octree to make sure no any point (to be inserted) falls outside the octree. This function is not thread safe.

Reimplemented from Kitware.VTK.vtkIncrementalPointLocator.

override int Kitware.VTK.vtkIncrementalOctreePointLocator.InitPointInsertion ( vtkPoints  points,
IntPtr  bounds,
int  estSize 
)
virtual

Initialize the point insertion process. points is an object, storing 3D point coordinates, to which incremental point insertion put coordinates. It is created and provided by an external VTK class. Argument bounds represents the spatial bounding box, into which the points fall. In fact, an adjusted version of the bounding box is used to build the octree to make sure no any point (to be inserted) falls outside the octree. Argument estSize specifies the initial estimated size of the vtkPoints object. This function is not thread safe.

Reimplemented from Kitware.VTK.vtkIncrementalPointLocator.

override int Kitware.VTK.vtkIncrementalOctreePointLocator.InsertNextPoint ( IntPtr  x)
virtual

Insert a given point into the octree and return the point index. Note that InitPointInsertion() should have been called prior to this function. In addition, IsInsertedPoint() should have been called in advance to ensure that the given point has not been inserted unless point duplication is allowed (in this case, this function invovles a repeated leaf container location). vtkPoints::InsertNextPoint() is invoked.

Reimplemented from Kitware.VTK.vtkIncrementalPointLocator.

override void Kitware.VTK.vtkIncrementalOctreePointLocator.InsertPoint ( int  ptId,
IntPtr  x 
)
virtual

Insert a given point into the octree with a specified point index ptId. InitPointInsertion() should have been called prior to this function. In addition, IsInsertedPoint() should have been called in advance to ensure that the given point has not been inserted unless point duplication is allowed (Note that in this case, this function involves a repeated leaf container location). vtkPoints::InsertPoint() is invoked.

Reimplemented from Kitware.VTK.vtkIncrementalPointLocator.

void Kitware.VTK.vtkIncrementalOctreePointLocator.InsertPointWithoutChecking ( IntPtr  point,
ref int  pntId,
int  insert 
)

"Insert" a point to the octree without any checking. Argument insert means whether vtkPoints::InsertNextPoint() upon 1 is called or the point itself is not inserted to the vtkPoints at all but instead only the point index is inserted to a vtkIdList upon 0. For case 0, the point index needs to be specified via pntId. For case 1, the actual point index is returned via pntId. InitPointInsertion() should have been called.

override int Kitware.VTK.vtkIncrementalOctreePointLocator.InsertUniquePoint ( IntPtr  point,
ref int  pntId 
)
virtual

Insert a point to the octree unless there has been a duplciate point. Whether the point is actually inserted (return 1) or not (return 0 upon a rejection by an existing duplicate), the index of the point (either new or the duplicate) is returned via pntId. Note that InitPointInsertion() should have been called prior to this function. vtkPoints::InsertNextPoint() is invoked. This method is not thread safe.

Reimplemented from Kitware.VTK.vtkIncrementalPointLocator.

override int Kitware.VTK.vtkIncrementalOctreePointLocator.IsA ( string  type)
virtual

*Undocumented Block

Reimplemented from Kitware.VTK.vtkIncrementalPointLocator.

override int Kitware.VTK.vtkIncrementalOctreePointLocator.IsInsertedPoint ( IntPtr  x)
virtual

Determine whether or not a given point has been inserted into the octree. Return the id of the already inserted point if true, otherwise return -1. InitPointInsertion() should have been called in advance.

Reimplemented from Kitware.VTK.vtkIncrementalPointLocator.

override int Kitware.VTK.vtkIncrementalOctreePointLocator.IsInsertedPoint ( double  x,
double  y,
double  z 
)
virtual

Determine whether or not a given point has been inserted into the octree. Return the id of the already inserted point if true, otherwise return -1. InitPointInsertion() should have been called in advance.

Reimplemented from Kitware.VTK.vtkIncrementalPointLocator.

static new int Kitware.VTK.vtkIncrementalOctreePointLocator.IsTypeOf ( string  type)
static

*Undocumented Block

Reimplemented from Kitware.VTK.vtkIncrementalPointLocator.

static new vtkIncrementalOctreePointLocator Kitware.VTK.vtkIncrementalOctreePointLocator.New ( )
static

*Undocumented Block

Reimplemented from Kitware.VTK.vtkObject.

new vtkIncrementalOctreePointLocator Kitware.VTK.vtkIncrementalOctreePointLocator.NewInstance ( )

*Undocumented Block

Reimplemented from Kitware.VTK.vtkIncrementalPointLocator.

static new vtkIncrementalOctreePointLocator Kitware.VTK.vtkIncrementalOctreePointLocator.SafeDownCast ( vtkObjectBase  o)
static

*Undocumented Block

Reimplemented from Kitware.VTK.vtkIncrementalPointLocator.

Here is the call graph for this function:

virtual void Kitware.VTK.vtkIncrementalOctreePointLocator.SetBuildCubicOctree ( int  _arg)
virtual

Set/Get whether the search octree is built as a cubic shape or not.

virtual void Kitware.VTK.vtkIncrementalOctreePointLocator.SetMaxPointsPerLeaf ( int  _arg)
virtual

Set/Get the maximum number of points that a leaf node may maintain. Note that the actual number of points maintained by a leaf node might exceed this threshold if there is a large number (equal to or greater than the threshold) of exactly duplicate points (with zero distance) to be inserted (e.g., to construct an octree for subsequent point location) in extreme cases. Respecting this threshold in such scenarios would cause endless node sub-division. Thus this threshold is broken, but only in case of such situations.


Member Data Documentation

new readonly string Kitware.VTK.vtkIncrementalOctreePointLocator.MRClassNameKey = "32vtkIncrementalOctreePointLocator"
static

Automatically generated type registration mechanics.

Reimplemented from Kitware.VTK.vtkIncrementalPointLocator.

new const string Kitware.VTK.vtkIncrementalOctreePointLocator.MRFullTypeName = "Kitware.VTK.vtkIncrementalOctreePointLocator"

Automatically generated type registration mechanics.

Reimplemented from Kitware.VTK.vtkIncrementalPointLocator.


The documentation for this class was generated from the following file: