|
virtual vtkTypeBool | IsA (const char *type) |
| Standard type and print methods.
|
|
vtkOctreePointLocator * | NewInstance () const |
|
void | PrintSelf (ostream &os, vtkIndent indent) override |
| Standard type and print methods.
|
|
void | GetRegionBounds (int regionID, double bounds[6]) |
| Get the spatial bounds of octree region.
|
|
void | GetRegionDataBounds (int leafNodeID, double bounds[6]) |
| Get the bounds of the data within the leaf node.
|
|
int | GetRegionContainingPoint (double x, double y, double z) |
| Get the id of the leaf region containing the specified location.
|
|
void | BuildLocator () override |
| Create the octree decomposition of the cells of the data set or data sets.
|
|
vtkIdType | FindClosestPointWithinRadius (double radius, const double x[3], double &dist2) override |
| Given a position x and a radius r, return the id of the point closest to the point in that radius.
|
|
void | FindPointsWithinRadius (double radius, const double x[3], vtkIdList *result) override |
| Find all points within a specified radius of position x.
|
|
void | FindClosestNPoints (int N, const double x[3], vtkIdList *result) override |
| Find the closest N points to a position.
|
|
vtkIdTypeArray * | GetPointsInRegion (int leafNodeId) |
| Get a list of the original IDs of all points in a leaf node.
|
|
void | FreeSearchStructure () override |
| Delete the octree data structure.
|
|
void | GenerateRepresentation (int level, vtkPolyData *pd) override |
| Create a polydata representation of the boundaries of the octree regions.
|
|
void | FindPointsInArea (double *area, vtkIdTypeArray *ids, bool clearArray=true) |
| Fill ids with points found in area.
|
|
|
virtual void | SetMaximumPointsPerRegion (int) |
| Maximum number of points per spatial region.
|
|
virtual int | GetMaximumPointsPerRegion () |
| Maximum number of points per spatial region.
|
|
|
virtual void | SetCreateCubicOctants (int) |
| Get/Set macro for CreateCubicOctants.
|
|
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.
|
|
virtual void | SetFudgeFactor (double) |
| 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.
|
|
|
double * | GetBounds () override |
| Get the spatial bounds of the entire octree space.
|
|
void | GetBounds (double *bounds) override |
| Get the spatial bounds of the entire octree space.
|
|
|
virtual int | GetNumberOfLeafNodes () |
| The number of leaf nodes of the tree, the spatial regions.
|
|
|
vtkIdType | FindClosestPoint (const double x[3]) override |
| Return the Id of the point that is closest to the given point.
|
|
vtkIdType | FindClosestPoint (double x, double y, double z, double &dist2) |
| Return the Id of the point that is closest to the given point.
|
|
|
vtkIdType | FindClosestPointInRegion (int regionId, double *x, double &dist2) |
| Find the Id of the point in the given leaf region which is closest to the given point.
|
|
vtkIdType | FindClosestPointInRegion (int regionId, double x, double y, double z, double &dist2) |
| Find the Id of the point in the given leaf region which is closest to the given point.
|
|
virtual vtkIdType | FindClosestPointWithinRadius (double radius, const double x[3], double &dist2)=0 |
| Given a position x and a radius r, return the id of the point closest to the point in that radius.
|
|
vtkIdType | FindClosestPoint (double x, double y, double z) |
| Given a position x, return the id of the point closest to it.
|
|
void | FindClosestNPoints (int N, double x, double y, double z, vtkIdList *result) |
| Find the closest N points to a position.
|
|
void | FindPointsWithinRadius (double R, double x, double y, double z, vtkIdList *result) |
| Find all points within a specified radius R of position x.
|
|
virtual vtkIdType | GetNumberOfBuckets () |
| Return the total number of buckets in the locator.
|
|
vtkAbstractPointLocator * | NewInstance () const |
| Standard type and print methods.
|
|
virtual void | Update () |
| Cause the locator to rebuild itself if it or its input dataset has changed.
|
|
virtual void | Initialize () |
| Initialize locator.
|
|
virtual void | BuildLocator ()=0 |
| Build the locator from the input dataset.
|
|
virtual void | FreeSearchStructure ()=0 |
| Free the memory required for the spatial data structure.
|
|
virtual void | GenerateRepresentation (int level, vtkPolyData *pd)=0 |
| Method to build a representation at a particular level.
|
|
virtual void | SetDataSet (vtkDataSet *) |
| Build the locator from the points/cells defining this dataset.
|
|
virtual vtkDataSet * | GetDataSet () |
| Build the locator from the points/cells defining this dataset.
|
|
virtual void | SetMaxLevel (int) |
| Set the maximum allowable level for the tree.
|
|
virtual int | GetMaxLevel () |
| Set the maximum allowable level for the tree.
|
|
virtual int | GetLevel () |
| Get the level of the locator (determined automatically if Automatic is true).
|
|
virtual void | SetAutomatic (vtkTypeBool) |
| Boolean controls whether locator depth/resolution of locator is computed automatically from average number of entities in bucket.
|
|
virtual vtkTypeBool | GetAutomatic () |
| Boolean controls whether locator depth/resolution of locator is computed automatically from average number of entities in bucket.
|
|
virtual void | AutomaticOn () |
| Boolean controls whether locator depth/resolution of locator is computed automatically from average number of entities in bucket.
|
|
virtual void | AutomaticOff () |
| Boolean controls whether locator depth/resolution of locator is computed automatically from average number of entities in bucket.
|
|
virtual void | SetTolerance (double) |
| Specify absolute tolerance (in world coordinates) for performing geometric operations.
|
|
virtual double | GetTolerance () |
| Specify absolute tolerance (in world coordinates) for performing geometric operations.
|
|
virtual vtkMTimeType | GetBuildTime () |
| Return the time of the last data structure build.
|
|
void | Register (vtkObjectBase *o) override |
| Handle the PointSet <-> Locator loop.
|
|
void | UnRegister (vtkObjectBase *o) override |
| Handle the PointSet <-> Locator loop.
|
|
vtkLocator * | NewInstance () const |
| Standard type and print methods.
|
|
| vtkBaseTypeMacro (vtkObject, vtkObjectBase) |
|
virtual void | DebugOn () |
| Turn debugging output on.
|
|
virtual void | DebugOff () |
| Turn debugging output off.
|
|
bool | GetDebug () |
| Get the value of the debug flag.
|
|
void | SetDebug (bool debugFlag) |
| Set the value of the debug flag.
|
|
virtual void | Modified () |
| Update the modification time for this object.
|
|
virtual vtkMTimeType | GetMTime () |
| Return this object's modified time.
|
|
void | PrintSelf (ostream &os, vtkIndent indent) override |
| Methods invoked by print to print information about the object including superclasses.
|
|
void | RemoveObserver (unsigned long tag) |
|
void | RemoveObservers (unsigned long event) |
|
void | RemoveObservers (const char *event) |
|
void | RemoveAllObservers () |
|
vtkTypeBool | HasObserver (unsigned long event) |
|
vtkTypeBool | HasObserver (const char *event) |
|
int | InvokeEvent (unsigned long event) |
|
int | InvokeEvent (const char *event) |
|
unsigned long | AddObserver (unsigned long event, vtkCommand *, float priority=0.0f) |
| Allow people to add/remove/invoke observers (callbacks) to any VTK object.
|
|
unsigned long | AddObserver (const char *event, vtkCommand *, float priority=0.0f) |
| Allow people to add/remove/invoke observers (callbacks) to any VTK object.
|
|
vtkCommand * | GetCommand (unsigned long tag) |
| Allow people to add/remove/invoke observers (callbacks) to any VTK object.
|
|
void | RemoveObserver (vtkCommand *) |
| Allow people to add/remove/invoke observers (callbacks) to any VTK object.
|
|
void | RemoveObservers (unsigned long event, vtkCommand *) |
| Allow people to add/remove/invoke observers (callbacks) to any VTK object.
|
|
void | RemoveObservers (const char *event, vtkCommand *) |
| Allow people to add/remove/invoke observers (callbacks) to any VTK object.
|
|
vtkTypeBool | HasObserver (unsigned long event, vtkCommand *) |
| Allow people to add/remove/invoke observers (callbacks) to any VTK object.
|
|
vtkTypeBool | HasObserver (const char *event, vtkCommand *) |
| Allow people to add/remove/invoke observers (callbacks) to any VTK object.
|
|
template<class U , class T > |
unsigned long | AddObserver (unsigned long event, U observer, void(T::*callback)(), float priority=0.0f) |
| Overloads to AddObserver that allow developers to add class member functions as callbacks for events.
|
|
template<class U , class T > |
unsigned long | AddObserver (unsigned long event, U observer, void(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f) |
| Overloads to AddObserver that allow developers to add class member functions as callbacks for events.
|
|
template<class U , class T > |
unsigned long | AddObserver (unsigned long event, U observer, bool(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f) |
| Allow user to set the AbortFlagOn() with the return value of the callback method.
|
|
int | InvokeEvent (unsigned long event, void *callData) |
| This method invokes an event and return whether the event was aborted or not.
|
|
int | InvokeEvent (const char *event, void *callData) |
| This method invokes an event and return whether the event was aborted or not.
|
|
const char * | GetClassName () const |
| Return the class name as a string.
|
|
virtual vtkTypeBool | IsA (const char *name) |
| Return 1 if this class is the same type of (or a subclass of) the named class.
|
|
virtual vtkIdType | GetNumberOfGenerationsFromBase (const char *name) |
| Given the name of a base class of this class type, return the distance of inheritance between this class type and the named class (how many generations of inheritance are there between this class and the named class).
|
|
virtual void | Delete () |
| Delete a VTK object.
|
|
virtual void | FastDelete () |
| Delete a reference to this object.
|
|
void | InitializeObjectBase () |
|
void | Print (ostream &os) |
| Print an object to an ostream.
|
|
virtual void | Register (vtkObjectBase *o) |
| Increase the reference count (mark as used by another object).
|
|
virtual void | UnRegister (vtkObjectBase *o) |
| Decrease the reference count (release by another object).
|
|
int | GetReferenceCount () |
| Return the current reference count of this object.
|
|
void | SetReferenceCount (int) |
| Sets the reference count.
|
|
bool | GetIsInMemkind () const |
| A local state flag that remembers whether this object lives in the normal or extended memory space.
|
|
virtual void | PrintHeader (ostream &os, vtkIndent indent) |
| Methods invoked by print to print information about the object including superclasses.
|
|
virtual void | PrintTrailer (ostream &os, vtkIndent indent) |
| Methods invoked by print to print information about the object including superclasses.
|
|
|
static vtkTypeBool | IsTypeOf (const char *type) |
|
static vtkOctreePointLocator * | SafeDownCast (vtkObjectBase *o) |
|
static vtkOctreePointLocator * | New () |
|
static vtkTypeBool | IsTypeOf (const char *type) |
| Standard type and print methods.
|
|
static vtkAbstractPointLocator * | SafeDownCast (vtkObjectBase *o) |
| Standard type and print methods.
|
|
static vtkTypeBool | IsTypeOf (const char *type) |
| Standard type and print methods.
|
|
static vtkLocator * | SafeDownCast (vtkObjectBase *o) |
| Standard type and print methods.
|
|
static vtkObject * | New () |
| Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
|
|
static void | BreakOnError () |
| This method is called when vtkErrorMacro executes.
|
|
static void | SetGlobalWarningDisplay (int val) |
| This is a global flag that controls whether any debug, warning or error messages are displayed.
|
|
static void | GlobalWarningDisplayOn () |
| This is a global flag that controls whether any debug, warning or error messages are displayed.
|
|
static void | GlobalWarningDisplayOff () |
| This is a global flag that controls whether any debug, warning or error messages are displayed.
|
|
static int | GetGlobalWarningDisplay () |
| This is a global flag that controls whether any debug, warning or error messages are displayed.
|
|
static vtkTypeBool | IsTypeOf (const char *name) |
| Return 1 if this class type is the same type of (or a subclass of) the named class.
|
|
static vtkIdType | GetNumberOfGenerationsFromBaseType (const char *name) |
| Given a the name of a base class of this class type, return the distance of inheritance between this class type and the named class (how many generations of inheritance are there between this class and the named class).
|
|
static vtkObjectBase * | New () |
| Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
|
|
static void | SetMemkindDirectory (const char *directoryname) |
| The name of a directory, ideally mounted -o dax, to memory map an extended memory space within.
|
|
static bool | GetUsingMemkind () |
| A global state flag that controls whether vtkObjects are constructed in the usual way (the default) or within the extended memory space.
|
|
|
virtual vtkObjectBase * | NewInstanceInternal () const |
| Standard type and print methods.
|
|
| vtkOctreePointLocator () |
|
| ~vtkOctreePointLocator () override |
|
void | BuildLeafNodeList (vtkOctreePointLocatorNode *node, int &index) |
|
void | FindPointsWithinRadius (vtkOctreePointLocatorNode *node, double radiusSquared, const double x[3], vtkIdList *ids) |
| Recursive helper for public FindPointsWithinRadius.
|
|
void | AddAllPointsInRegion (vtkOctreePointLocatorNode *node, vtkIdList *ids) |
|
void | FindPointsInArea (vtkOctreePointLocatorNode *node, double *area, vtkIdTypeArray *ids) |
|
void | AddAllPointsInRegion (vtkOctreePointLocatorNode *node, vtkIdTypeArray *ids) |
|
void | DivideRegion (vtkOctreePointLocatorNode *node, int *ordering, int level) |
|
int | DivideTest (int size, int level) |
|
void | AddPolys (vtkOctreePointLocatorNode *node, vtkPoints *pts, vtkCellArray *polys) |
|
int | _FindClosestPointInRegion (int leafNodeId, double x, double y, double z, double &dist2) |
| Given a leaf node id and point, return the local id and the squared distance between the closest point and the given point.
|
|
int | FindClosestPointInSphere (double x, double y, double z, double radius, int skipRegion, double &dist2) |
| Given a location and a radiues, find the closest point within this radius.
|
|
| vtkOctreePointLocator (const vtkOctreePointLocator &)=delete |
|
void | operator= (const vtkOctreePointLocator &)=delete |
|
|
int | FindRegion (vtkOctreePointLocatorNode *node, float x, float y, float z) |
| Given a point and a node return the leaf node id that contains the point.
|
|
int | FindRegion (vtkOctreePointLocatorNode *node, double x, double y, double z) |
| Given a point and a node return the leaf node id that contains the point.
|
|
| vtkAbstractPointLocator () |
|
| ~vtkAbstractPointLocator () override |
|
| vtkLocator () |
|
| ~vtkLocator () override |
|
void | ReportReferences (vtkGarbageCollector *) override |
|
| vtkObject () |
|
| ~vtkObject () override |
|
void | RegisterInternal (vtkObjectBase *, vtkTypeBool check) override |
|
void | UnRegisterInternal (vtkObjectBase *, vtkTypeBool check) override |
|
void | InternalGrabFocus (vtkCommand *mouseEvents, vtkCommand *keypressEvents=nullptr) |
| These methods allow a command to exclusively grab all events.
|
|
void | InternalReleaseFocus () |
| These methods allow a command to exclusively grab all events.
|
|
| vtkObjectBase () |
|
virtual | ~vtkObjectBase () |
|
virtual void | RegisterInternal (vtkObjectBase *, vtkTypeBool check) |
|
virtual void | UnRegisterInternal (vtkObjectBase *, vtkTypeBool check) |
|
virtual void | ReportReferences (vtkGarbageCollector *) |
|
| vtkObjectBase (const vtkObjectBase &) |
|
void | operator= (const vtkObjectBase &) |
|