|
ProjectedTextures
Prototype software for spacial augmented reality applications.
|
#include <ResourceManager.h>
Public Member Functions | |
| ResourceManager (void) | |
| ~ResourceManager (void) | |
| void | readConfig (QString fileName) |
| void | readObjectsConfig (QString fileName=QString()) |
| void | saveObjects (QString fileName=QString()) |
| QList< Projector * > * | projectors () |
| QList< Camera * > * | cameras () |
| QList< FiducialTracker * > * | trackers () |
| QList< Geometry * > * | geometries () |
Protected Member Functions | |
| Similarity | readTransform (QDomElement transformElem, bool rigid=false) |
| void | clearGeometries () |
Protected Attributes | |
| QString | objectConfigurationFile |
| QList< Projector * > | _projectors |
| QList< Camera * > | _cameras |
| QList< FiducialTracker * > | _trackers |
| QList< Geometry * > | _geometries |
Responsible for loading and holding model data and various configurations
| ResourceManager::ResourceManager | ( | void | ) |
| ResourceManager::~ResourceManager | ( | void | ) |
|
inline |
returns specified cameras
|
protected |
deletes all geometries from memory. hasn't really worked ever.
|
inline |
returns loaded geometry
|
inline |
returns specified projectors
| void ResourceManager::readConfig | ( | QString | fileName) |
reads the system configuration file (the one with "<config>" as document element) and creates corresponding objects.
includes:
- path to object configuration
- cameras (see Camera)
- projectors (see Projector)
- tracking configuration (see FiducialTracker)
| void ResourceManager::readObjectsConfig | ( | QString | fileName = QString()) |
reads the objects configuration file (the one with "<objects>" as document element) and creates the corresponding Geometry objects
|
protected |
can read transformations specified in various ways
| void ResourceManager::saveObjects | ( | QString | fileName = QString()) |
saves a modified object configuration to the specified file
|
inline |
returns specified trackers
|
protected |
collection of specified cameras
|
protected |
collection of loaded geometry
|
protected |
collection of specified projectors
|
protected |
collection of specified trackers
|
protected |
where to load or save the object configuration
1.8.4