CMSDK 2.0.1
Cross-platform C++ base library and SDK for the Psyclone AIOS platform
Loading...
Searching...
No Matches
VantagePoints.h File Reference

Management of a fixed set of spatial "perch" points that entities can reserve, occupy and free. More...

#include "MathClasses.h"
#include "Utils.h"
#include "xml_parser.h"
Include dependency graph for VantagePoints.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  cmlabs::PerchPoint
 One perch: id, occupancy state, occupying entity, last-visit time, label, opaque data and overlap weights against other perches. More...
class  cmlabs::VantagePoints
 Registry of perch points parsed from PsySpec XML, with reserve/occupy/free bookkeeping. More...

Namespaces

namespace  cmlabs

Enumerations

enum  cmlabs::PerchState { cmlabs::FREE = 0 , cmlabs::RESERVED = 1 , cmlabs::OCCUPIED = 2 , cmlabs::LEAVING = 3 }
 Lifecycle of a perch point: FREE, RESERVED (claimed, not yet reached), OCCUPIED, LEAVING (being vacated). More...
enum  cmlabs::VantageState { cmlabs::IDLE = 1 , cmlabs::INMOTION = 1 , cmlabs::SETTLED = 2 }
 State of the whole vantage system: IDLE, INMOTION (reconfiguring) or SETTLED. More...

Detailed Description

Management of a fixed set of spatial "perch" points that entities can reserve, occupy and free.

A VantagePoints collection is defined in PsySpec XML and models discrete observation positions (e.g. camera vantage points or avatar perches). Each PerchPoint carries overlap weights against the other points so a controller can pick maximally distinct viewpoints.

Definition in file VantagePoints.h.