vrcore  0.45
visuReal Messkern
 All Classes Files Functions Variables
JsonTranslator.h File Reference
#include <memory>
#include <math.h>
#include <limits>
#include "chain/ApiTypes.h"
#include "StatusUtils.h"
#include "visuReal.core/visuReal.core.h"
Include dependency graph for JsonTranslator.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  vr::IntArray< n >
 
class  vr::IntArrayWithStatus< n >
 
class  vr::DoubleArray< n >
 
class  vr::CoordinateSet< n >
 
class  vr::JsonPoint
 
class  vr::JsonValue< T >
 
class  vr::ValueWithStatus< T >
 
class  vr::JsonTranslator
 "Übersetzt" zwischen JSON und vrcore More...
 
class  vr::JsonTranslator::ImageData
 
class  vr::JsonTranslator::ImageData::ResultImage
 
class  vr::JsonTranslator::ImageData::Transformation
 
class  vr::JsonTranslator::FrontImageData
 
class  vr::JsonTranslator::VarioInsetImageData
 vario Inset-Aufnahme More...
 
class  vr::JsonTranslator::VarioInsetImages
 
class  vr::JsonTranslator::SideImageData
 

Typedefs

typedef ValueWithStatus< bool > vr::BoolValue
 
typedef ValueWithStatus< int > vr::IntValue
 
typedef ValueWithStatus< double > vr::DoubleValue
 

Functions

JSONNode & vr::getJsonNode (JSONNode &parent, char nodeType, const json_string &name, bool clear)
 
JSONNode & vr::getEmptyJsonNode (JSONNode &parent, const json_string &name)
 
JSONNode & vr::getEmptyJsonArray (JSONNode &parent, const json_string &name)
 

Variables

const double indeterminate = std::numeric_limits<double>::quiet_NaN()
 
const size_t vr::FRONTAL_MARK_COUNT = 5
 
const size_t vr::NEAR_PD_MARK_COUNT = 3
 
const size_t vr::LATERAL_MARK_COUNT = 3
 
const size_t vr::EYE_COUNT = 2
 
const size_t vr::LENSBOX_CORNER_COUNT = 4
 
const size_t vr::WINDROSE_DIRECTION_COUNT = 4
 
const size_t vr::LATERALBOX_CORNER_COUNT = 3
 
const size_t vr::STRUT_LENSCONTOUR_INTERSECTION_COUNT = 4
 
const json_string vr::jsCameraAttitude = "camera_attitude"
 
const json_string vr::jsDetails = "details"
 
const json_string vr::jsExposureArrangement = "exposure_arrangement"
 
const json_string vr::jsImages = "images"
 
const json_string vr::jsFile = "file"
 
const json_string vr::jsImage = "image"
 
const json_string vr::jsOpticalAxis = "optical_axis"
 
const json_string vr::jsStatus = "status"
 
const json_string vr::jsResultImage = "result_image"
 
const json_string vr::jsSize = "size"
 
const json_string vr::jsFront = "front"
 
const json_string vr::jsNearFront = "near_front"
 
const json_string vr::jsRight = "right"
 
const json_string vr::jsLeft = "left"
 
const json_string vr::jsMethod = "method"
 
const json_string vr::jsNoMethod = ""
 
const json_string vr::jsFrontOnly = "front"
 
const json_string vr::jsRightSideFront = "front+right"
 
const json_string vr::jsFrontLeftSide = "front+left"
 
const json_string vr::jsRightSideFrontLeftSide = "front+right+left"
 
const json_string vr::jsRealizedSize = "realised_size"
 
const json_string vr::jsMinimumSize = "minimum_size"
 
const json_string vr::jsMaximumSize = "maximum_size"
 
const json_string vr::jsMinimumMarkMargin = "minimum_mark_margin"
 
const json_string vr::jsTransformation = "transformation"
 
const json_string vr::jsImageSize = "image_size"
 
const json_string vr::jsClippingOffset = "clipping_offset"
 
const json_string vr::jsPivot = "pivot"
 
const json_string vr::jsAngle = "angle"
 
const json_string vr::jsScaleFactor = "scale_factor"
 
const json_string vr::jsProgressiveCorridorLength = "progressive_corridor_length"
 
const json_string vr::jsComputationModel = "computation_model"
 
const json_string vr::jsMarks = "marks"
 
const json_string vr::jsIris = "iris"
 
const json_string vr::jsLens = "lens"
 
const json_string vr::jsLensL = "lens_L"
 
const json_string vr::jsLensR = "lens_R"
 
const json_string vr::jsLensMarginL = "lens_margin_L"
 
const json_string vr::jsLensMarginR = "lens_margin_R"
 
const json_string vr::jsCenter = "center"
 
const json_string vr::jsDiameter = "diameter"
 
const json_string vr::jsSpherical = "spherical"
 
const json_string vr::jsAspheric = "aspheric"
 
const json_string vr::jsProgressive = "progressive"
 
const json_string vr::jsMETS = "hoya_mets"
 
const json_string vr::jsBox = "box"
 
const json_string vr::jsPlanePixelsPerMm = "plane_pixels_per_mm"
 
const json_string vr::jsFaceFormAngleRef = "face_form_angle_ref"
 
const json_string vr::jsInfantGlassesConfig = "infant_glasses_config"
 
const json_string vr::jsMarkMarginInPercent = "percentage_mark_margin"
 
const json_string vr::jsProgressiveCorridorTop = "progressive_corridor_top"
 
const json_string vr::jsProgressiveCorridorBottom = "progressive_corridor_bottom"
 
const json_string vr::jsStrutLensContourIntersections = "strut_lens_contour_intersections"
 
const json_string vr::jsLensBevels = "lens_bevels"
 Nutengrundtiefe.
 
const json_string vr::jsLensThickness = "lens_thickness"
 
const json_string vr::jsResults = "results"
 
const json_string vr::jsPreciseResults = "precise_results"
 
const json_string vr::jsGrooveDepth [GROOVE_DEPTH_CLASS]
 
const json_string vr::jsHeadRotationCompensationOff = "head rotation compensation: off"
 
const json_string vr::jsHeadRotationCompensationOn = "head rotation compensation: on"
 
const json_string vr::jsReadingDistance = "reading_distance"
 
const json_string vr::jsVarioInsetTop = "up"
 
const json_string vr::jsVarioInsetMiddle = "middle"
 
const json_string vr::jsVarioInsetBottom = "down"