armarx::viz::data Namespace Reference

Namespaces

namespace  ElementFlags
 
namespace  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, ElementGrid &grid)
 
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 ElementGrid &grid)
 
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/26]

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

Definition at line 38 of file json_elements.cpp.

◆ from_json() [2/26]

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

Definition at line 77 of file json_base.cpp.

◆ from_json() [3/26]

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

Definition at line 54 of file json_base.cpp.

◆ from_json() [4/26]

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

Definition at line 39 of file ElementJsonSerializers.cpp.

+ Here is the call graph for this function:

◆ from_json() [5/26]

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

Definition at line 55 of file json_elements.cpp.

+ Here is the call graph for this function:

◆ from_json() [6/26]

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

Definition at line 72 of file json_elements.cpp.

+ Here is the call graph for this function:

◆ from_json() [7/26]

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

Definition at line 88 of file json_elements.cpp.

+ Here is the call graph for this function:

◆ from_json() [8/26]

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

Definition at line 103 of file json_elements.cpp.

+ Here is the call graph for this function:

◆ from_json() [9/26]

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

Definition at line 120 of file json_elements.cpp.

+ Here is the call graph for this function:

◆ from_json() [10/26]

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

Definition at line 257 of file json_elements.cpp.

+ Here is the call graph for this function:

◆ from_json() [11/26]

void from_json ( const nlohmann::json & j,
ElementGrid & grid )

Definition at line 375 of file json_elements.cpp.

+ Here is the call graph for this function:

◆ from_json() [12/26]

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

Definition at line 138 of file json_elements.cpp.

+ Here is the call graph for this function:

◆ from_json() [13/26]

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

Definition at line 160 of file json_elements.cpp.

+ Here is the call graph for this function:

◆ from_json() [14/26]

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

Definition at line 322 of file json_elements.cpp.

+ Here is the call graph for this function:

◆ from_json() [15/26]

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

Definition at line 228 of file json_elements.cpp.

+ Here is the call graph for this function:

◆ from_json() [16/26]

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

Definition at line 182 of file json_elements.cpp.

+ Here is the call graph for this function:

◆ from_json() [17/26]

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

Definition at line 200 of file json_elements.cpp.

+ Here is the call graph for this function:

◆ from_json() [18/26]

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

Definition at line 215 of file json_elements.cpp.

+ Here is the call graph for this function:

◆ from_json() [19/26]

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

Definition at line 51 of file ElementJsonSerializers.cpp.

+ Here is the call graph for this function:

◆ from_json() [20/26]

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

Definition at line 343 of file json_elements.cpp.

+ Here is the call graph for this function:

◆ from_json() [21/26]

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

Definition at line 242 of file json_elements.cpp.

+ Here is the call graph for this function:

◆ from_json() [22/26]

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

Definition at line 272 of file json_elements.cpp.

+ Here is the call graph for this function:

◆ from_json() [23/26]

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

Definition at line 19 of file json_layer.cpp.

◆ from_json() [24/26]

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

Definition at line 35 of file json_layer.cpp.

◆ from_json() [25/26]

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

Definition at line 457 of file ArVizStorage.cpp.

◆ from_json() [26/26]

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

Definition at line 436 of file ArVizStorage.cpp.

◆ operator<<()

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

Definition at line 208 of file Color.h.

◆ operator==() [1/2]

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

Definition at line 203 of file Color.h.

◆ operator==() [2/2]

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

Definition at line 196 of file Color.h.

◆ to_json() [1/27]

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

Definition at line 28 of file json_elements.cpp.

◆ to_json() [2/27]

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

Definition at line 68 of file json_base.cpp.

◆ to_json() [3/27]

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

Definition at line 40 of file json_base.cpp.

◆ to_json() [4/27]

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

Definition at line 33 of file ElementJsonSerializers.cpp.

+ Here is the call graph for this function:

◆ to_json() [5/27]

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

Definition at line 57 of file ElementJsonSerializers.cpp.

+ Here is the call graph for this function:

◆ to_json() [6/27]

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

Definition at line 47 of file json_elements.cpp.

+ Here is the call graph for this function:

◆ to_json() [7/27]

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

Definition at line 63 of file json_elements.cpp.

+ Here is the call graph for this function:

◆ to_json() [8/27]

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

Definition at line 81 of file json_elements.cpp.

+ Here is the call graph for this function:

◆ to_json() [9/27]

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

Definition at line 95 of file json_elements.cpp.

+ Here is the call graph for this function:

◆ to_json() [10/27]

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

Definition at line 111 of file json_elements.cpp.

+ Here is the call graph for this function:

◆ to_json() [11/27]

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

Definition at line 249 of file json_elements.cpp.

+ Here is the call graph for this function:

◆ to_json() [12/27]

void to_json ( nlohmann::json & j,
const ElementGrid & grid )

Definition at line 353 of file json_elements.cpp.

+ Here is the call graph for this function:

◆ to_json() [13/27]

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

Definition at line 129 of file json_elements.cpp.

+ Here is the call graph for this function:

◆ to_json() [14/27]

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

Definition at line 147 of file json_elements.cpp.

+ Here is the call graph for this function:

◆ to_json() [15/27]

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

Definition at line 310 of file json_elements.cpp.

+ Here is the call graph for this function:

◆ to_json() [16/27]

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

Definition at line 221 of file json_elements.cpp.

+ Here is the call graph for this function:

◆ to_json() [17/27]

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

Definition at line 166 of file json_elements.cpp.

+ Here is the call graph for this function:

◆ to_json() [18/27]

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

Definition at line 190 of file json_elements.cpp.

+ Here is the call graph for this function:

◆ to_json() [19/27]

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

Definition at line 209 of file json_elements.cpp.

+ Here is the call graph for this function:

◆ to_json() [20/27]

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

Definition at line 45 of file ElementJsonSerializers.cpp.

+ Here is the call graph for this function:

◆ to_json() [21/27]

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

Definition at line 331 of file json_elements.cpp.

+ Here is the call graph for this function:

◆ to_json() [22/27]

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

Definition at line 235 of file json_elements.cpp.

+ Here is the call graph for this function:

◆ to_json() [23/27]

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

Definition at line 265 of file json_elements.cpp.

+ Here is the call graph for this function:

◆ to_json() [24/27]

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

Definition at line 10 of file json_layer.cpp.

◆ to_json() [25/27]

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

Definition at line 28 of file json_layer.cpp.

◆ to_json() [26/27]

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

Definition at line 446 of file ArVizStorage.cpp.

◆ to_json() [27/27]

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

Definition at line 426 of file ArVizStorage.cpp.