Classes | |
| class | ConfigMap |
| class | DisplayTile |
| class | Event |
| class | EventNetMsg |
| A message that contains a single event. More... | |
| class | EventBufferNetMsg |
| A message that contains an array of Events. More... | |
| class | ICubeXDevice |
| class | ISenseDirect |
| class | InputDevice |
| class | MidiInDevice |
| class | MidiOutDevice |
| class | MouseToTracker |
| class | ProjectionVRCamera |
| class | SpaceNavDevice |
| class | SynchedSystem |
| class | TrackDClient |
| class | VRApp |
| class | VRPNAnalogDevice |
| class | VRPNButtonDevice |
| class | VRPNTrackerDevice |
Typedefs | |
| typedef ReferenceCountedPointer< class ConfigMap > | ConfigMapRef |
| typedef ReferenceCountedPointer< class Event > | EventRef |
| typedef ReferenceCountedPointer< class MouseToTracker > | MouseToTrackerRef |
| typedef ReferenceCountedPointer< class ProjectionVRCamera > | ProjectionVRCameraRef |
Functions | |
| EventRef | createCopyOfEvent (EventRef e) |
| Array< std::string > | splitStringIntoArray (const std::string &in) |
| std::string | decygifyPath (const std::string &in) |
| std::string | replaceEnvVars (const std::string &in) |
| void | growAABox (AABox &box, const Vector3 &point) |
| void | growAABox (AABox &box, const AABox &box2) |
| Color3 | Color3FromUints (uint8 r, uint8 g, uint8 b) |
| unsigned int | hashCode (const double d) |
| std::ostream & | operator<< (std::ostream &os, const Vector2 &vec2) |
| std::istream & | operator>> (std::istream &is, Vector2 &vec2) |
| std::istream & | operator>> (std::istream &is, Vector3 &vec3) |
| std::ostream & | operator<< (std::ostream &os, const Matrix3 &m) |
| std::istream & | operator>> (std::istream &is, Matrix3 &m) |
| std::ostream & | operator<< (std::ostream &os, const Matrix4 &m) |
| std::istream & | operator>> (std::istream &is, Matrix4 &m) |
| std::istream & | operator>> (std::istream &is, CoordinateFrame &m) |
| std::ostream & | operator<< (std::ostream &os, const Color3 &c) |
| std::istream & | operator>> (std::istream &is, Color3 &c) |
| std::ostream & | operator<< (std::ostream &os, const Color4 &c) |
| std::istream & | operator>> (std::istream &is, Color4 &c) |
| std::string | matrix4ToString (Matrix4 m) |
| std::string | coordinateFrameToString (CoordinateFrame cf) |
| std::string | intToString (int i) |
| int | stringToInt (const std::string &in) |
| std::string | realToString (double r) |
| double | stringToReal (const std::string &in) |
| void | vrg3dSleepMsecs (double msecs) |
| Sleeps for milliseconds. | |
| void | vrg3dSleepSecs (double secs) |
| Sleeps for seconds. | |
| typedef ReferenceCountedPointer<class ConfigMap> VRG3D::ConfigMapRef |
This class stores the data for the ConfigVal accessor functions Essentially, this is a big associative array std::string's map to std::strings. The ConfigVal function is used to access values and reinterpret them as different types. The key/value pairs can be read in from a file(s), or set manually with the set function.
| typedef ReferenceCountedPointer<class Event> VRG3D::EventRef |
| typedef ReferenceCountedPointer<class MouseToTracker> VRG3D::MouseToTrackerRef |
| typedef ReferenceCountedPointer<class ProjectionVRCamera> VRG3D::ProjectionVRCameraRef |
| Color3 VRG3D::Color3FromUints | ( | uint8 | r, | |
| uint8 | g, | |||
| uint8 | b | |||
| ) |
| std::string VRG3D::coordinateFrameToString | ( | CoordinateFrame | cf | ) |
| EventRef VRG3D::createCopyOfEvent | ( | EventRef | e | ) |
Creates a copy of the Event pointed to by e and returns a ref counted pointer to the new copy.
| std::string VRG3D::decygifyPath | ( | const std::string & | in | ) |
This function changes occurances of /cygdrive/c/folder1/folder2/etc.. to c:/folder1/folder2/etc.. when running in Windows. Paths coming from program arguments or environment variables will tend to take the /cygdrive/<drive-letter>/ form when running under cygwin, but file commands compiled with the MS Visual C++ compiler can't deal with paths of this form.
| void VRG3D::growAABox | ( | AABox & | box, | |
| const AABox & | box2 | |||
| ) |
| void VRG3D::growAABox | ( | AABox & | box, | |
| const Vector3 & | point | |||
| ) |
| unsigned int VRG3D::hashCode | ( | const double | d | ) |
| std::string VRG3D::intToString | ( | int | i | ) |
| std::string VRG3D::matrix4ToString | ( | Matrix4 | m | ) |
| std::ostream& VRG3D::operator<< | ( | std::ostream & | os, | |
| const Color4 & | c | |||
| ) |
| std::ostream& VRG3D::operator<< | ( | std::ostream & | os, | |
| const Color3 & | c | |||
| ) |
| std::ostream& VRG3D::operator<< | ( | std::ostream & | os, | |
| const Matrix4 & | m | |||
| ) |
| std::ostream& VRG3D::operator<< | ( | std::ostream & | os, | |
| const Matrix3 & | m | |||
| ) |
| std::ostream& VRG3D::operator<< | ( | std::ostream & | os, | |
| const Vector2 & | vec2 | |||
| ) |
| std::istream& VRG3D::operator>> | ( | std::istream & | is, | |
| Color4 & | c | |||
| ) |
| std::istream& VRG3D::operator>> | ( | std::istream & | is, | |
| Color3 & | c | |||
| ) |
| std::istream& VRG3D::operator>> | ( | std::istream & | is, | |
| CoordinateFrame & | m | |||
| ) |
| std::istream& VRG3D::operator>> | ( | std::istream & | is, | |
| Matrix4 & | m | |||
| ) |
| std::istream& VRG3D::operator>> | ( | std::istream & | is, | |
| Matrix3 & | m | |||
| ) |
| std::istream& VRG3D::operator>> | ( | std::istream & | is, | |
| Vector3 & | vec3 | |||
| ) |
| std::istream& VRG3D::operator>> | ( | std::istream & | is, | |
| Vector2 & | vec2 | |||
| ) |
| std::string VRG3D::realToString | ( | double | r | ) |
| std::string VRG3D::replaceEnvVars | ( | const std::string & | in | ) |
Given an input string, replaces all occurances of with the decygified (see above) value of the environment variable NAME. If NAME is not defined, then a blank string is returned.
| Array<std::string> VRG3D::splitStringIntoArray | ( | const std::string & | in | ) |
| int VRG3D::stringToInt | ( | const std::string & | in | ) |
| double VRG3D::stringToReal | ( | const std::string & | in | ) |
| void VRG3D::vrg3dSleepMsecs | ( | double | msecs | ) |
Sleeps for milliseconds.
| void VRG3D::vrg3dSleepSecs | ( | double | secs | ) |
Sleeps for seconds.
1.5.1