RVC::SPATIALTREE Class Reference
Manager for RVC::OBJTYPE_SpatialTree objects.
More...
#include <rvc/spattree.h>
List of all members.
Classes |
| struct | TIERINFO |
| | Spatial Tree tier information structure. More...
|
Public Member Functions |
| | SPATIALTREE (const RVC::SPATIALTREE &rhs) |
| | SPATIALTREE () |
| virtual | ~SPATIALTREE () |
| INT32 | GetMaxNodeArrayElems (ELEMTYPE elemtype) |
| INT32 | GetNumTiers (ELEMTYPE elemtype) |
| ERRVALUE | Make (RVC::OBJITEM &ObjItem, const char *Source=0, const CREDENTIALS *Credentials=0) |
| ERRVALUE | Make (const RVC::OBJECT &parent, const RVC::DESCRIPTOR &Descriptor, const CREDENTIALS *Credentials RVC_DEFAULT_CREDENTIALS) |
| RVC::SPATIALTREE & | operator= (const RVC::SPATIALTREE &rhs) |
| ERRVALUE | ReadTier (ELEMTYPE elemtype, int tier, TIERINFO &tierinfo, INT32 *firstelemarray) |
| ERRVALUE | Search (ELEMTYPE elemtype, const DRECT2D &rect, UNSIGNEDSET &ElemSet) |
| ERRVALUE | Search (ELEMTYPE elemtype, const DRECT2D &rect, SIMPLE_ARRAY< INT32_RANGE > &elemranges) |
| ERRVALUE | WriteTier (ELEMTYPE elemtype, int tier, TIERINFO &tierinfo, INT32 *firstelemarray) |
Detailed Description
Manager for RVC::OBJTYPE_SpatialTree objects.
RVC Object Types that this class supports: RVC::OBJTYPE_SpatialTree.
Valid parents for this class:
Constructor & Destructor Documentation
| RVC::SPATIALTREE::SPATIALTREE |
( |
|
) |
|
| virtual RVC::SPATIALTREE::~SPATIALTREE |
( |
|
) |
[virtual] |
Member Function Documentation
| INT32 RVC::SPATIALTREE::GetMaxNodeArrayElems |
( |
ELEMTYPE |
elemtype |
) |
|
Get maximum number of node array elements in spatial tree for specified element type.
- Returns:
- Maximum number of node array elements or error < 0.
- Parameters:
-
Get number of tiers in spatial tree for specified element type.
- Returns:
- Number of tiers, 0 if none or error < 0.
- Parameters:
-
Create new spatial tree object.
- Parameters:
-
| ObjItem | Parent object and DESCRIPTOR of object to create, new location RETURNED |
| Source | Source of new spatial tree object, default is application name |
Create new spatial tree object.
- Parameters:
-
| parent | Parent object to create spatial tree object under |
| Descriptor | Name of new spatial tree object |
| RVC_DEFAULT_CREDENTIALS | User credentials passed in, NULL for default behavior |
Read tier from spatial tree.
- Parameters:
-
| elemtype | Element type |
| tier | Tier index |
| tierinfo | Tier information returned |
| firstelemarray | Array of "first elements" by node index returned, caller must allocate |
Search spatial tree for elements which may overlap specified rectangle.
- Parameters:
-
| elemtype | Element type |
| rect | Rectangle in spatial tree coordinates to search |
| ElemSet | Element set returned |
Search spatial tree for elements which may overlap specified rectangle.
- Parameters:
-
| elemtype | Element type |
| rect | Rectangle in spatial tree coordinates to search |
| elemranges | Array of element ranges returned |
Write tier to spatial tree.
- Parameters:
-
| elemtype | Element type |
| tier | Tier index |
| tierinfo | Tier information to write |
| firstelemarray | Array of "first elements" by node index, caller must allocate |
The documentation for this class was generated from the following file: