ActiViz .NET
5.8.0
|
vtkOctreePointLocator - a octree spatial decomposition of a set of points More...
Public Member Functions | |
vtkOctreePointLocator (IntPtr rawCppThis, bool callDisposalMethod, bool strong) | |
Automatically generated constructor - called from generated code. DO NOT call directly. | |
vtkOctreePointLocator () | |
Undocumented Block. | |
override void | BuildLocator () |
Create the octree decomposition of the cells of the data set or data sets. Cells are assigned to octree spatial regions based on the location of their centroids. | |
override void | FindClosestNPoints (int N, IntPtr x, 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 not 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. | |
override int | FindClosestPoint (IntPtr x) |
Return the Id of the point that is closest to the given point. Set the square of the distance between the two points. | |
int | FindClosestPoint (double x, double y, double z, ref double dist2) |
Return the Id of the point that is closest to the given point. Set the square of the distance between the two points. | |
int | FindClosestPointInRegion (int regionId, IntPtr x, ref double dist2) |
Find the Id of the point in the given leaf region which is closest to the given point. Return the ID of the point, and set the square of the distance of between the points. | |
int | FindClosestPointInRegion (int regionId, double x, double y, double z, ref double dist2) |
Find the Id of the point in the given leaf region which is closest to the given point. Return the ID of the point, and set the square of the distance of between the points. | |
override int | FindClosestPointWithinRadius (double radius, IntPtr x, ref double dist2) |
Given a position x and a radius r, return the id of the point closest to the point in that radius. dist2 returns the squared distance to the point. | |
void | FindPointsInArea (IntPtr area, vtkIdTypeArray ids, bool clearArray) |
Fill ids with points found in area. The area is a 6-tuple containing (xmin, xmax, ymin, ymax, zmin, zmax). This method will clear the array by default. To append ids to an array, set clearArray to false. | |
override void | FindPointsWithinRadius (double radius, IntPtr x, vtkIdList result) |
Find all points within a specified radius of position x. The result is not sorted in any specific manner. | |
override void | FreeSearchStructure () |
Delete the octree data structure. | |
override void | GenerateRepresentation (int level, vtkPolyData pd) |
Create a polydata representation of the boundaries of the octree regions. | |
override IntPtr | GetBounds () |
Get the spatial bounds of the entire octree space. Sets bounds array to xmin, xmax, ymin, ymax, zmin, zmax. | |
override void | GetBounds (IntPtr bounds) |
Get the spatial bounds of the entire octree space. Sets bounds array to xmin, xmax, ymin, ymax, zmin, zmax. | |
virtual int | GetCreateCubicOctants () |
Get/Set macro for CreateCubicOctants. | |
virtual double | GetFudgeFactor () |
Some algorithms on octrees require a value that is a very small distance relative to the diameter of the entire space divided by the octree. This factor is the maximum axis-aligned width of the space multipled by 10e-6. | |
virtual int | GetMaximumPointsPerRegion () |
Maximum number of points per spatial region. Default is 100. | |
virtual int | GetNumberOfLeafNodes () |
The number of leaf nodes of the tree, the spatial regions. | |
vtkIdTypeArray | GetPointsInRegion (int leafNodeId) |
Get a list of the original IDs of all points in a leaf node. | |
void | GetRegionBounds (int regionID, IntPtr bounds) |
Get the spatial bounds of octree region. | |
int | GetRegionContainingPoint (double x, double y, double z) |
Get the id of the leaf region containing the specified location. | |
void | GetRegionDataBounds (int leafNodeID, IntPtr bounds) |
Get the bounds of the data within the leaf node. | |
override int | IsA (string type) |
Undocumented Block. | |
new vtkOctreePointLocator | NewInstance () |
Undocumented Block. | |
virtual void | SetCreateCubicOctants (int _arg) |
Get/Set macro for CreateCubicOctants. | |
virtual void | SetFudgeFactor (double _arg) |
Some algorithms on octrees require a value that is a very small distance relative to the diameter of the entire space divided by the octree. This factor is the maximum axis-aligned width of the space multipled by 10e-6. | |
virtual void | SetMaximumPointsPerRegion (int _arg) |
Maximum number of points per spatial region. Default is 100. | |
Static Public Member Functions | |
static new vtkOctreePointLocator | New () |
Undocumented Block. | |
static new int | IsTypeOf (string type) |
Undocumented Block. | |
static new vtkOctreePointLocator | SafeDownCast (vtkObjectBase o) |
Undocumented Block. | |
Public Attributes | |
new const string | MRFullTypeName = "Kitware.VTK.vtkOctreePointLocator" |
Automatically generated type registration mechanics. | |
Static Public Attributes | |
static new readonly string | MRClassNameKey = "21vtkOctreePointLocator" |
Automatically generated type registration mechanics. | |
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. | |
Private Member Functions | |
static internal IntPtr | vtkOctreePointLocator_New (ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount) |
static internal void | vtkOctreePointLocator_BuildLocator_01 (HandleRef pThis) |
static internal void | vtkOctreePointLocator_FindClosestNPoints_02 (HandleRef pThis, int N, IntPtr x, HandleRef result) |
static internal int | vtkOctreePointLocator_FindClosestPoint_03 (HandleRef pThis, IntPtr x) |
static internal int | vtkOctreePointLocator_FindClosestPoint_04 (HandleRef pThis, double x, double y, double z, ref double dist2) |
static internal int | vtkOctreePointLocator_FindClosestPointInRegion_05 (HandleRef pThis, int regionId, IntPtr x, ref double dist2) |
static internal int | vtkOctreePointLocator_FindClosestPointInRegion_06 (HandleRef pThis, int regionId, double x, double y, double z, ref double dist2) |
static internal int | vtkOctreePointLocator_FindClosestPointWithinRadius_07 (HandleRef pThis, double radius, IntPtr x, ref double dist2) |
static internal void | vtkOctreePointLocator_FindPointsInArea_08 (HandleRef pThis, IntPtr area, HandleRef ids, byte clearArray) |
static internal void | vtkOctreePointLocator_FindPointsWithinRadius_09 (HandleRef pThis, double radius, IntPtr x, HandleRef result) |
static internal void | vtkOctreePointLocator_FreeSearchStructure_10 (HandleRef pThis) |
static internal void | vtkOctreePointLocator_GenerateRepresentation_11 (HandleRef pThis, int level, HandleRef pd) |
static internal IntPtr | vtkOctreePointLocator_GetBounds_12 (HandleRef pThis) |
static internal void | vtkOctreePointLocator_GetBounds_13 (HandleRef pThis, IntPtr bounds) |
static internal int | vtkOctreePointLocator_GetCreateCubicOctants_14 (HandleRef pThis) |
static internal double | vtkOctreePointLocator_GetFudgeFactor_15 (HandleRef pThis) |
static internal int | vtkOctreePointLocator_GetMaximumPointsPerRegion_16 (HandleRef pThis) |
static internal int | vtkOctreePointLocator_GetNumberOfLeafNodes_17 (HandleRef pThis) |
static internal IntPtr | vtkOctreePointLocator_GetPointsInRegion_18 (HandleRef pThis, int leafNodeId, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount) |
static internal void | vtkOctreePointLocator_GetRegionBounds_19 (HandleRef pThis, int regionID, IntPtr bounds) |
static internal int | vtkOctreePointLocator_GetRegionContainingPoint_20 (HandleRef pThis, double x, double y, double z) |
static internal void | vtkOctreePointLocator_GetRegionDataBounds_21 (HandleRef pThis, int leafNodeID, IntPtr bounds) |
static internal int | vtkOctreePointLocator_IsA_22 (HandleRef pThis, string type) |
static internal int | vtkOctreePointLocator_IsTypeOf_23 (string type) |
static internal IntPtr | vtkOctreePointLocator_NewInstance_25 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount) |
static internal IntPtr | vtkOctreePointLocator_SafeDownCast_26 (HandleRef o, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount) |
static internal void | vtkOctreePointLocator_SetCreateCubicOctants_27 (HandleRef pThis, int _arg) |
static internal void | vtkOctreePointLocator_SetFudgeFactor_28 (HandleRef pThis, double _arg) |
static internal void | vtkOctreePointLocator_SetMaximumPointsPerRegion_29 (HandleRef pThis, int _arg) |
Static Private Member Functions | |
static | vtkOctreePointLocator () |
Automatically generated type registration mechanics. |
vtkOctreePointLocator - a octree spatial decomposition of a set of points
Description Given a vtkDataSetxs, create an octree that is locally refined such that all leaf octants contain less than a certain amount of points. Note that there is no size constraint that a leaf octant in relation to any of its neighbors.
This class can also generate a PolyData representation of the boundaries of the spatial regions in the decomposition.
static Kitware.VTK.vtkOctreePointLocator.vtkOctreePointLocator | ( | ) | [static, private] |
Automatically generated type registration mechanics.
Kitware.VTK.vtkOctreePointLocator.vtkOctreePointLocator | ( | IntPtr | rawCppThis, |
bool | callDisposalMethod, | ||
bool | strong | ||
) |
Automatically generated constructor - called from generated code. DO NOT call directly.
Undocumented Block.
override void Kitware.VTK.vtkOctreePointLocator.BuildLocator | ( | ) | [virtual] |
Create the octree decomposition of the cells of the data set or data sets. Cells are assigned to octree spatial regions based on the location of their centroids.
Reimplemented from Kitware.VTK.vtkAbstractPointLocator.
override void Kitware.VTK.vtkOctreePointLocator.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.vtkAbstractPointLocator.
override void Kitware.VTK.vtkOctreePointLocator.FindClosestNPoints | ( | int | N, |
IntPtr | x, | ||
vtkIdList | result | ||
) | [virtual] |
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 not 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.
Reimplemented from Kitware.VTK.vtkAbstractPointLocator.
override int Kitware.VTK.vtkOctreePointLocator.FindClosestPoint | ( | IntPtr | x | ) | [virtual] |
Return the Id of the point that is closest to the given point. Set the square of the distance between the two points.
Reimplemented from Kitware.VTK.vtkAbstractPointLocator.
int Kitware.VTK.vtkOctreePointLocator.FindClosestPoint | ( | double | x, |
double | y, | ||
double | z, | ||
ref double | dist2 | ||
) |
Return the Id of the point that is closest to the given point. Set the square of the distance between the two points.
int Kitware.VTK.vtkOctreePointLocator.FindClosestPointInRegion | ( | int | regionId, |
IntPtr | x, | ||
ref double | dist2 | ||
) |
Find the Id of the point in the given leaf region which is closest to the given point. Return the ID of the point, and set the square of the distance of between the points.
int Kitware.VTK.vtkOctreePointLocator.FindClosestPointInRegion | ( | int | regionId, |
double | x, | ||
double | y, | ||
double | z, | ||
ref double | dist2 | ||
) |
Find the Id of the point in the given leaf region which is closest to the given point. Return the ID of the point, and set the square of the distance of between the points.
override int Kitware.VTK.vtkOctreePointLocator.FindClosestPointWithinRadius | ( | double | radius, |
IntPtr | x, | ||
ref double | dist2 | ||
) | [virtual] |
Given a position x and a radius r, return the id of the point closest to the point in that radius. dist2 returns the squared distance to the point.
Reimplemented from Kitware.VTK.vtkAbstractPointLocator.
void Kitware.VTK.vtkOctreePointLocator.FindPointsInArea | ( | IntPtr | area, |
vtkIdTypeArray | ids, | ||
bool | clearArray | ||
) |
Fill ids with points found in area. The area is a 6-tuple containing (xmin, xmax, ymin, ymax, zmin, zmax). This method will clear the array by default. To append ids to an array, set clearArray to false.
override void Kitware.VTK.vtkOctreePointLocator.FindPointsWithinRadius | ( | double | radius, |
IntPtr | x, | ||
vtkIdList | result | ||
) | [virtual] |
Find all points within a specified radius of position x. The result is not sorted in any specific manner.
Reimplemented from Kitware.VTK.vtkAbstractPointLocator.
override void Kitware.VTK.vtkOctreePointLocator.FreeSearchStructure | ( | ) | [virtual] |
Delete the octree data structure.
Reimplemented from Kitware.VTK.vtkAbstractPointLocator.
override void Kitware.VTK.vtkOctreePointLocator.GenerateRepresentation | ( | int | level, |
vtkPolyData | pd | ||
) | [virtual] |
Create a polydata representation of the boundaries of the octree regions.
Reimplemented from Kitware.VTK.vtkAbstractPointLocator.
override IntPtr Kitware.VTK.vtkOctreePointLocator.GetBounds | ( | ) | [virtual] |
Get the spatial bounds of the entire octree space. Sets bounds array to xmin, xmax, ymin, ymax, zmin, zmax.
Reimplemented from Kitware.VTK.vtkAbstractPointLocator.
override void Kitware.VTK.vtkOctreePointLocator.GetBounds | ( | IntPtr | bounds | ) | [virtual] |
Get the spatial bounds of the entire octree space. Sets bounds array to xmin, xmax, ymin, ymax, zmin, zmax.
Reimplemented from Kitware.VTK.vtkAbstractPointLocator.
virtual int Kitware.VTK.vtkOctreePointLocator.GetCreateCubicOctants | ( | ) | [virtual] |
Get/Set macro for CreateCubicOctants.
virtual double Kitware.VTK.vtkOctreePointLocator.GetFudgeFactor | ( | ) | [virtual] |
Some algorithms on octrees require a value that is a very small distance relative to the diameter of the entire space divided by the octree. This factor is the maximum axis-aligned width of the space multipled by 10e-6.
virtual int Kitware.VTK.vtkOctreePointLocator.GetMaximumPointsPerRegion | ( | ) | [virtual] |
Maximum number of points per spatial region. Default is 100.
virtual int Kitware.VTK.vtkOctreePointLocator.GetNumberOfLeafNodes | ( | ) | [virtual] |
The number of leaf nodes of the tree, the spatial regions.
vtkIdTypeArray Kitware.VTK.vtkOctreePointLocator.GetPointsInRegion | ( | int | leafNodeId | ) |
Get a list of the original IDs of all points in a leaf node.
void Kitware.VTK.vtkOctreePointLocator.GetRegionBounds | ( | int | regionID, |
IntPtr | bounds | ||
) |
Get the spatial bounds of octree region.
int Kitware.VTK.vtkOctreePointLocator.GetRegionContainingPoint | ( | double | x, |
double | y, | ||
double | z | ||
) |
Get the id of the leaf region containing the specified location.
void Kitware.VTK.vtkOctreePointLocator.GetRegionDataBounds | ( | int | leafNodeID, |
IntPtr | bounds | ||
) |
Get the bounds of the data within the leaf node.
override int Kitware.VTK.vtkOctreePointLocator.IsA | ( | string | type | ) | [virtual] |
Undocumented Block.
Reimplemented from Kitware.VTK.vtkAbstractPointLocator.
static new int Kitware.VTK.vtkOctreePointLocator.IsTypeOf | ( | string | type | ) | [static] |
Undocumented Block.
Reimplemented from Kitware.VTK.vtkAbstractPointLocator.
static new vtkOctreePointLocator Kitware.VTK.vtkOctreePointLocator.New | ( | ) | [static] |
Undocumented Block.
Reimplemented from Kitware.VTK.vtkObject.
Undocumented Block.
Reimplemented from Kitware.VTK.vtkAbstractPointLocator.
static new vtkOctreePointLocator Kitware.VTK.vtkOctreePointLocator.SafeDownCast | ( | vtkObjectBase | o | ) | [static] |
Undocumented Block.
Reimplemented from Kitware.VTK.vtkAbstractPointLocator.
virtual void Kitware.VTK.vtkOctreePointLocator.SetCreateCubicOctants | ( | int | _arg | ) | [virtual] |
Get/Set macro for CreateCubicOctants.
virtual void Kitware.VTK.vtkOctreePointLocator.SetFudgeFactor | ( | double | _arg | ) | [virtual] |
Some algorithms on octrees require a value that is a very small distance relative to the diameter of the entire space divided by the octree. This factor is the maximum axis-aligned width of the space multipled by 10e-6.
virtual void Kitware.VTK.vtkOctreePointLocator.SetMaximumPointsPerRegion | ( | int | _arg | ) | [virtual] |
Maximum number of points per spatial region. Default is 100.
static internal void Kitware.VTK.vtkOctreePointLocator.vtkOctreePointLocator_BuildLocator_01 | ( | HandleRef | pThis | ) | [private] |
static internal void Kitware.VTK.vtkOctreePointLocator.vtkOctreePointLocator_FindClosestNPoints_02 | ( | HandleRef | pThis, |
int | N, | ||
IntPtr | x, | ||
HandleRef | result | ||
) | [private] |
static internal int Kitware.VTK.vtkOctreePointLocator.vtkOctreePointLocator_FindClosestPoint_03 | ( | HandleRef | pThis, |
IntPtr | x | ||
) | [private] |
static internal int Kitware.VTK.vtkOctreePointLocator.vtkOctreePointLocator_FindClosestPoint_04 | ( | HandleRef | pThis, |
double | x, | ||
double | y, | ||
double | z, | ||
ref double | dist2 | ||
) | [private] |
static internal int Kitware.VTK.vtkOctreePointLocator.vtkOctreePointLocator_FindClosestPointInRegion_05 | ( | HandleRef | pThis, |
int | regionId, | ||
IntPtr | x, | ||
ref double | dist2 | ||
) | [private] |
static internal int Kitware.VTK.vtkOctreePointLocator.vtkOctreePointLocator_FindClosestPointInRegion_06 | ( | HandleRef | pThis, |
int | regionId, | ||
double | x, | ||
double | y, | ||
double | z, | ||
ref double | dist2 | ||
) | [private] |
static internal int Kitware.VTK.vtkOctreePointLocator.vtkOctreePointLocator_FindClosestPointWithinRadius_07 | ( | HandleRef | pThis, |
double | radius, | ||
IntPtr | x, | ||
ref double | dist2 | ||
) | [private] |
static internal void Kitware.VTK.vtkOctreePointLocator.vtkOctreePointLocator_FindPointsInArea_08 | ( | HandleRef | pThis, |
IntPtr | area, | ||
HandleRef | ids, | ||
byte | clearArray | ||
) | [private] |
static internal void Kitware.VTK.vtkOctreePointLocator.vtkOctreePointLocator_FindPointsWithinRadius_09 | ( | HandleRef | pThis, |
double | radius, | ||
IntPtr | x, | ||
HandleRef | result | ||
) | [private] |
static internal void Kitware.VTK.vtkOctreePointLocator.vtkOctreePointLocator_FreeSearchStructure_10 | ( | HandleRef | pThis | ) | [private] |
static internal void Kitware.VTK.vtkOctreePointLocator.vtkOctreePointLocator_GenerateRepresentation_11 | ( | HandleRef | pThis, |
int | level, | ||
HandleRef | pd | ||
) | [private] |
static internal IntPtr Kitware.VTK.vtkOctreePointLocator.vtkOctreePointLocator_GetBounds_12 | ( | HandleRef | pThis | ) | [private] |
static internal void Kitware.VTK.vtkOctreePointLocator.vtkOctreePointLocator_GetBounds_13 | ( | HandleRef | pThis, |
IntPtr | bounds | ||
) | [private] |
static internal int Kitware.VTK.vtkOctreePointLocator.vtkOctreePointLocator_GetCreateCubicOctants_14 | ( | HandleRef | pThis | ) | [private] |
static internal double Kitware.VTK.vtkOctreePointLocator.vtkOctreePointLocator_GetFudgeFactor_15 | ( | HandleRef | pThis | ) | [private] |
static internal int Kitware.VTK.vtkOctreePointLocator.vtkOctreePointLocator_GetMaximumPointsPerRegion_16 | ( | HandleRef | pThis | ) | [private] |
static internal int Kitware.VTK.vtkOctreePointLocator.vtkOctreePointLocator_GetNumberOfLeafNodes_17 | ( | HandleRef | pThis | ) | [private] |
static internal IntPtr Kitware.VTK.vtkOctreePointLocator.vtkOctreePointLocator_GetPointsInRegion_18 | ( | HandleRef | pThis, |
int | leafNodeId, | ||
ref uint | mteStatus, | ||
ref uint | mteIndex, | ||
ref uint | rawRefCount | ||
) | [private] |
static internal void Kitware.VTK.vtkOctreePointLocator.vtkOctreePointLocator_GetRegionBounds_19 | ( | HandleRef | pThis, |
int | regionID, | ||
IntPtr | bounds | ||
) | [private] |
static internal int Kitware.VTK.vtkOctreePointLocator.vtkOctreePointLocator_GetRegionContainingPoint_20 | ( | HandleRef | pThis, |
double | x, | ||
double | y, | ||
double | z | ||
) | [private] |
static internal void Kitware.VTK.vtkOctreePointLocator.vtkOctreePointLocator_GetRegionDataBounds_21 | ( | HandleRef | pThis, |
int | leafNodeID, | ||
IntPtr | bounds | ||
) | [private] |
static internal int Kitware.VTK.vtkOctreePointLocator.vtkOctreePointLocator_IsA_22 | ( | HandleRef | pThis, |
string | type | ||
) | [private] |
static internal int Kitware.VTK.vtkOctreePointLocator.vtkOctreePointLocator_IsTypeOf_23 | ( | string | type | ) | [private] |
static internal IntPtr Kitware.VTK.vtkOctreePointLocator.vtkOctreePointLocator_New | ( | ref uint | mteStatus, |
ref uint | mteIndex, | ||
ref uint | rawRefCount | ||
) | [private] |
static internal IntPtr Kitware.VTK.vtkOctreePointLocator.vtkOctreePointLocator_NewInstance_25 | ( | HandleRef | pThis, |
ref uint | mteStatus, | ||
ref uint | mteIndex, | ||
ref uint | rawRefCount | ||
) | [private] |
static internal IntPtr Kitware.VTK.vtkOctreePointLocator.vtkOctreePointLocator_SafeDownCast_26 | ( | HandleRef | o, |
ref uint | mteStatus, | ||
ref uint | mteIndex, | ||
ref uint | rawRefCount | ||
) | [private] |
static internal void Kitware.VTK.vtkOctreePointLocator.vtkOctreePointLocator_SetCreateCubicOctants_27 | ( | HandleRef | pThis, |
int | _arg | ||
) | [private] |
static internal void Kitware.VTK.vtkOctreePointLocator.vtkOctreePointLocator_SetFudgeFactor_28 | ( | HandleRef | pThis, |
double | _arg | ||
) | [private] |
static internal void Kitware.VTK.vtkOctreePointLocator.vtkOctreePointLocator_SetMaximumPointsPerRegion_29 | ( | HandleRef | pThis, |
int | _arg | ||
) | [private] |
new readonly string Kitware.VTK.vtkOctreePointLocator.MRClassNameKey = "21vtkOctreePointLocator" [static] |
Automatically generated type registration mechanics.
Reimplemented from Kitware.VTK.vtkAbstractPointLocator.
new const string Kitware.VTK.vtkOctreePointLocator.MRFullTypeName = "Kitware.VTK.vtkOctreePointLocator" |
Automatically generated type registration mechanics.
Reimplemented from Kitware.VTK.vtkAbstractPointLocator.