25 #ifndef INCLUDED_ParseArticulation_h_GUID_A3F32F4D_D900_46BB_027D_C45E437E1F8C 26 #define INCLUDED_ParseArticulation_h_GUID_A3F32F4D_D900_46BB_027D_C45E437E1F8C 29 #include <osvr/Common/Export.h> 32 #include <json/value.h> 49 OSVR_COMMON_EXPORT
bool isValid()
const;
67 OSVR_COMMON_EXPORT
void 71 void m_parse(std::string
const &src);
72 void m_parse(Json::Value &val);
73 std::string m_boneName;
74 std::string m_articulationType;
75 std::string m_trackerPath;
81 #endif // INCLUDED_ParseArticulation_h_GUID_A3F32F4D_D900_46BB_027D_C45E437E1F8C Handles spatial transformations.
Definition: SerializationTraitExample_Complicated.h:40
The main namespace for all C++ elements of the framework, internal and external.
Definition: namespace_osvr.dox:3
OSVR_COMMON_EXPORT void setTrackerPath(std::string const &fullTrackerPath)
Sets the tracker path.
Definition: ParseArticulation.cpp:63
OSVR_COMMON_EXPORT std::string getArticulationType() const
Get the type of articulation.
Definition: ParseArticulation.cpp:53
OSVR_COMMON_EXPORT ParsedArticulation(std::string const &src)
Constructor - performs parse and normalization of format.
Definition: ParseArticulation.cpp:37
OSVR_COMMON_EXPORT bool isValid() const
Will return false if trackerPath is not specified.
Definition: ParseArticulation.cpp:43
OSVR_COMMON_EXPORT std::string getTrackerPath() const
Get the tracker path to sensor that corresponds to current articulation.
Definition: ParseArticulation.cpp:58
OSVR_COMMON_EXPORT std::string getBoneName() const
Get the ultimate source/leaf of the articulation.
Definition: ParseArticulation.cpp:48
Definition: ParseArticulation.h:39