armarx::viz::data Namespace Reference

Namespaces

 ElementFlags
 
 ModelDrawStyle
 

Functions

void from_json (const nlohmann::json &j, ColoredPoint &coloredPoint)
 
void from_json (const nlohmann::json &j, data::Color &color)
 
void from_json (const nlohmann::json &j, data::GlobalPose &value)
 
void from_json (const nlohmann::json &j, Element &element)
 
void from_json (const nlohmann::json &j, ElementArrow &line)
 
void from_json (const nlohmann::json &j, ElementArrowCircle &arrowCircle)
 
void from_json (const nlohmann::json &j, ElementBox &box)
 
void from_json (const nlohmann::json &j, ElementCylinder &cylinder)
 
void from_json (const nlohmann::json &j, ElementCylindroid &cylindroid)
 
void from_json (const nlohmann::json &j, ElementEllipsoid &sphere)
 
void from_json (const nlohmann::json &j, ElementLine &line)
 
void from_json (const nlohmann::json &j, ElementMesh &mesh)
 
void from_json (const nlohmann::json &j, ElementObject &object)
 
void from_json (const nlohmann::json &j, ElementPath &path)
 
void from_json (const nlohmann::json &j, ElementPointCloud &pointCloud)
 
void from_json (const nlohmann::json &j, ElementPolygon &polygon)
 
void from_json (const nlohmann::json &j, ElementPose &pose)
 
void from_json (const nlohmann::json &j, ElementPtr &elementPtr)
 
void from_json (const nlohmann::json &j, ElementRobot &robot)
 
void from_json (const nlohmann::json &j, ElementSphere &sphere)
 
void from_json (const nlohmann::json &j, ElementText &text)
 
void from_json (const nlohmann::json &j, LayerUpdate &update)
 
void from_json (const nlohmann::json &j, LayerUpdates &update)
 
void from_json (nlohmann::json const &j, Recording &recording)
 
void from_json (nlohmann::json const &j, RecordingBatchHeader &batch)
 
std::ostream & operator<< (std::ostream &os, const viz::data::Color &c)
 
bool operator== (const simox::color::Color &lhs, const armarx::viz::data::Color &rhs)
 
bool operator== (const viz::data::Color &lhs, const simox::color::Color &rhs)
 
void to_json (nlohmann::json &j, const ColoredPoint &coloredPoint)
 
void to_json (nlohmann::json &j, const data::Color &color)
 
void to_json (nlohmann::json &j, const data::GlobalPose &value)
 
void to_json (nlohmann::json &j, const Element &element)
 
void to_json (nlohmann::json &j, const Element *elementPtr)
 
void to_json (nlohmann::json &j, const ElementArrow &line)
 
void to_json (nlohmann::json &j, const ElementArrowCircle &arrowCircle)
 
void to_json (nlohmann::json &j, const ElementBox &box)
 
void to_json (nlohmann::json &j, const ElementCylinder &cylinder)
 
void to_json (nlohmann::json &j, const ElementCylindroid &cylindroid)
 
void to_json (nlohmann::json &j, const ElementEllipsoid &sphere)
 
void to_json (nlohmann::json &j, const ElementLine &line)
 
void to_json (nlohmann::json &j, const ElementMesh &mesh)
 
void to_json (nlohmann::json &j, const ElementObject &object)
 
void to_json (nlohmann::json &j, const ElementPath &path)
 
void to_json (nlohmann::json &j, const ElementPointCloud &pointCloud)
 
void to_json (nlohmann::json &j, const ElementPolygon &polygon)
 
void to_json (nlohmann::json &j, const ElementPose &pose)
 
void to_json (nlohmann::json &j, const ElementPtr &elementPtr)
 
void to_json (nlohmann::json &j, const ElementRobot &robot)
 
void to_json (nlohmann::json &j, const ElementSphere &sphere)
 
void to_json (nlohmann::json &j, const ElementText &text)
 
void to_json (nlohmann::json &j, const LayerUpdate &update)
 
void to_json (nlohmann::json &j, const LayerUpdates &update)
 
void to_json (nlohmann::json &j, Recording const &recording)
 
void to_json (nlohmann::json &j, RecordingBatchHeader const &batch)
 

Function Documentation

◆ from_json() [1/25]

void from_json ( const nlohmann::json &  j,
ColoredPoint &  coloredPoint 
)

Definition at line 37 of file json_elements.cpp.

◆ from_json() [2/25]

void from_json ( const nlohmann::json &  j,
data::Color color 
)

Definition at line 68 of file json_base.cpp.

◆ from_json() [3/25]

void from_json ( const nlohmann::json &  j,
data::GlobalPose &  value 
)

Definition at line 48 of file json_base.cpp.

◆ from_json() [4/25]

void from_json ( const nlohmann::json &  j,
Element &  element 
)
See also
ElementSerializers::from_json()

Definition at line 36 of file ElementJsonSerializers.cpp.

+ Here is the call graph for this function:

◆ from_json() [5/25]

void from_json ( const nlohmann::json &  j,
ElementArrow &  line 
)

Definition at line 52 of file json_elements.cpp.

+ Here is the call graph for this function:

◆ from_json() [6/25]

void from_json ( const nlohmann::json &  j,
ElementArrowCircle &  arrowCircle 
)

Definition at line 67 of file json_elements.cpp.

+ Here is the call graph for this function:

◆ from_json() [7/25]

void from_json ( const nlohmann::json &  j,
ElementBox &  box 
)

Definition at line 81 of file json_elements.cpp.

+ Here is the call graph for this function:

◆ from_json() [8/25]

void from_json ( const nlohmann::json &  j,
ElementCylinder &  cylinder 
)

Definition at line 94 of file json_elements.cpp.

+ Here is the call graph for this function:

◆ from_json() [9/25]

void from_json ( const nlohmann::json &  j,
ElementCylindroid &  cylindroid 
)

Definition at line 109 of file json_elements.cpp.

+ Here is the call graph for this function:

◆ from_json() [10/25]

void from_json ( const nlohmann::json &  j,
ElementEllipsoid &  sphere 
)

Definition at line 231 of file json_elements.cpp.

+ Here is the call graph for this function:

◆ from_json() [11/25]

void from_json ( const nlohmann::json &  j,
ElementLine &  line 
)

Definition at line 125 of file json_elements.cpp.

+ Here is the call graph for this function:

◆ from_json() [12/25]

void from_json ( const nlohmann::json &  j,
ElementMesh &  mesh 
)

Definition at line 145 of file json_elements.cpp.

+ Here is the call graph for this function:

◆ from_json() [13/25]

void from_json ( const nlohmann::json &  j,
ElementObject &  object 
)

Definition at line 290 of file json_elements.cpp.

+ Here is the call graph for this function:

◆ from_json() [14/25]

void from_json ( const nlohmann::json &  j,
ElementPath &  path 
)

Definition at line 206 of file json_elements.cpp.

+ Here is the call graph for this function:

◆ from_json() [15/25]

void from_json ( const nlohmann::json &  j,
ElementPointCloud &  pointCloud 
)

Definition at line 165 of file json_elements.cpp.

+ Here is the call graph for this function:

◆ from_json() [16/25]

void from_json ( const nlohmann::json &  j,
ElementPolygon &  polygon 
)

Definition at line 181 of file json_elements.cpp.

+ Here is the call graph for this function:

◆ from_json() [17/25]

void from_json ( const nlohmann::json &  j,
ElementPose &  pose 
)

Definition at line 195 of file json_elements.cpp.

+ Here is the call graph for this function:

◆ from_json() [18/25]

void from_json ( const nlohmann::json &  j,
ElementPtr &  elementPtr 
)
See also
ElementSerializers::from_json()

Definition at line 46 of file ElementJsonSerializers.cpp.

+ Here is the call graph for this function:

◆ from_json() [19/25]

void from_json ( const nlohmann::json &  j,
ElementRobot &  robot 
)

Definition at line 309 of file json_elements.cpp.

+ Here is the call graph for this function:

◆ from_json() [20/25]

void from_json ( const nlohmann::json &  j,
ElementSphere &  sphere 
)

Definition at line 218 of file json_elements.cpp.

+ Here is the call graph for this function:

◆ from_json() [21/25]

void from_json ( const nlohmann::json &  j,
ElementText &  text 
)

Definition at line 244 of file json_elements.cpp.

+ Here is the call graph for this function:

◆ from_json() [22/25]

void from_json ( const nlohmann::json &  j,
LayerUpdate &  update 
)

Definition at line 18 of file json_layer.cpp.

+ Here is the call graph for this function:

◆ from_json() [23/25]

void from_json ( const nlohmann::json &  j,
LayerUpdates &  update 
)

Definition at line 31 of file json_layer.cpp.

◆ from_json() [24/25]

void armarx::viz::data::from_json ( nlohmann::json const &  j,
Recording &  recording 
)

Definition at line 451 of file ArVizStorage.cpp.

◆ from_json() [25/25]

void armarx::viz::data::from_json ( nlohmann::json const &  j,
RecordingBatchHeader &  batch 
)

Definition at line 430 of file ArVizStorage.cpp.

◆ operator<<()

std::ostream& armarx::viz::data::operator<< ( std::ostream &  os,
const viz::data::Color c 
)
inline

Definition at line 187 of file Color.h.

◆ operator==() [1/2]

bool armarx::viz::data::operator== ( const simox::color::Color lhs,
const armarx::viz::data::Color rhs 
)
inline

Definition at line 182 of file Color.h.

◆ operator==() [2/2]

bool armarx::viz::data::operator== ( const viz::data::Color lhs,
const simox::color::Color rhs 
)
inline

Definition at line 176 of file Color.h.

◆ to_json() [1/26]

void to_json ( nlohmann::json &  j,
const ColoredPoint &  coloredPoint 
)

Definition at line 29 of file json_elements.cpp.

◆ to_json() [2/26]

void to_json ( nlohmann::json &  j,
const data::Color color 
)

Definition at line 61 of file json_base.cpp.

◆ to_json() [3/26]

void to_json ( nlohmann::json &  j,
const data::GlobalPose &  value 
)

Definition at line 36 of file json_base.cpp.

◆ to_json() [4/26]

void to_json ( nlohmann::json &  j,
const Element &  element 
)
See also
ElementSerializers::to_json()

Definition at line 31 of file ElementJsonSerializers.cpp.

+ Here is the call graph for this function:

◆ to_json() [5/26]

void to_json ( nlohmann::json &  j,
const Element *  elementPtr 
)
See also
ElementSerializers::to_json()

Definition at line 51 of file ElementJsonSerializers.cpp.

+ Here is the call graph for this function:

◆ to_json() [6/26]

void to_json ( nlohmann::json &  j,
const ElementArrow &  line 
)

Definition at line 46 of file json_elements.cpp.

+ Here is the call graph for this function:

◆ to_json() [7/26]

void to_json ( nlohmann::json &  j,
const ElementArrowCircle &  arrowCircle 
)

Definition at line 60 of file json_elements.cpp.

+ Here is the call graph for this function:

◆ to_json() [8/26]

void to_json ( nlohmann::json &  j,
const ElementBox &  box 
)

Definition at line 76 of file json_elements.cpp.

+ Here is the call graph for this function:

◆ to_json() [9/26]

void to_json ( nlohmann::json &  j,
const ElementCylinder &  cylinder 
)

Definition at line 88 of file json_elements.cpp.

+ Here is the call graph for this function:

◆ to_json() [10/26]

void to_json ( nlohmann::json &  j,
const ElementCylindroid &  cylindroid 
)

Definition at line 102 of file json_elements.cpp.

+ Here is the call graph for this function:

◆ to_json() [11/26]

void to_json ( nlohmann::json &  j,
const ElementEllipsoid &  sphere 
)

Definition at line 225 of file json_elements.cpp.

+ Here is the call graph for this function:

◆ to_json() [12/26]

void to_json ( nlohmann::json &  j,
const ElementLine &  line 
)

Definition at line 118 of file json_elements.cpp.

+ Here is the call graph for this function:

◆ to_json() [13/26]

void to_json ( nlohmann::json &  j,
const ElementMesh &  mesh 
)

Definition at line 134 of file json_elements.cpp.

+ Here is the call graph for this function:

◆ to_json() [14/26]

void to_json ( nlohmann::json &  j,
const ElementObject &  object 
)

Definition at line 281 of file json_elements.cpp.

+ Here is the call graph for this function:

◆ to_json() [15/26]

void to_json ( nlohmann::json &  j,
const ElementPath &  path 
)

Definition at line 200 of file json_elements.cpp.

+ Here is the call graph for this function:

◆ to_json() [16/26]

void to_json ( nlohmann::json &  j,
const ElementPointCloud &  pointCloud 
)

Definition at line 151 of file json_elements.cpp.

+ Here is the call graph for this function:

◆ to_json() [17/26]

void to_json ( nlohmann::json &  j,
const ElementPolygon &  polygon 
)

Definition at line 173 of file json_elements.cpp.

+ Here is the call graph for this function:

◆ to_json() [18/26]

void to_json ( nlohmann::json &  j,
const ElementPose &  pose 
)

Definition at line 190 of file json_elements.cpp.

+ Here is the call graph for this function:

◆ to_json() [19/26]

void to_json ( nlohmann::json &  j,
const ElementPtr &  elementPtr 
)
See also
ElementSerializers::to_json()

Definition at line 41 of file ElementJsonSerializers.cpp.

+ Here is the call graph for this function:

◆ to_json() [20/26]

void to_json ( nlohmann::json &  j,
const ElementRobot &  robot 
)

Definition at line 299 of file json_elements.cpp.

+ Here is the call graph for this function:

◆ to_json() [21/26]

void to_json ( nlohmann::json &  j,
const ElementSphere &  sphere 
)

Definition at line 213 of file json_elements.cpp.

+ Here is the call graph for this function:

◆ to_json() [22/26]

void to_json ( nlohmann::json &  j,
const ElementText &  text 
)

Definition at line 239 of file json_elements.cpp.

+ Here is the call graph for this function:

◆ to_json() [23/26]

void to_json ( nlohmann::json &  j,
const LayerUpdate &  update 
)

Definition at line 11 of file json_layer.cpp.

+ Here is the call graph for this function:

◆ to_json() [24/26]

void to_json ( nlohmann::json &  j,
const LayerUpdates &  update 
)

Definition at line 26 of file json_layer.cpp.

◆ to_json() [25/26]

void armarx::viz::data::to_json ( nlohmann::json &  j,
Recording const &  recording 
)

Definition at line 440 of file ArVizStorage.cpp.

◆ to_json() [26/26]

void armarx::viz::data::to_json ( nlohmann::json &  j,
RecordingBatchHeader const &  batch 
)

Definition at line 420 of file ArVizStorage.cpp.