15#include <nlohmann/json.hpp>
66 if (
arr.size() == 16) {
75 std::vector<Double_t>
arr =
j.get<std::vector<Double_t>>();
81 if (
arr.size() == 16) {
92 std::stringstream
ss(
ins);
93 std::vector<double>
arr;
95 while (std::getline(
ss,
item,
',')) {
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char Pixmap_t Pixmap_t PictureAttributes_t attr const char char ret_data h unsigned char height h Atom_t Int_t ULong_t ULong_t unsigned char prop_list Atom_t Atom_t Atom_t Time_t type
void SetCamTransMtxStr(const char *json_str)
Int_t WriteCoreJson(nlohmann::json &j, Int_t rnr_offset) override
Write core JSON for camera.
REveCamera()
Default constructor.
void Setup(ECameraType type, const std::string &name, const REveVector &v1, const REveVector &v2)
Setup camera with type, name, direction and up vectors.
void SetCamBaseMtx(const std::vector< Double_t > &arr)
Set camera base matrix from array (called from client via MIR)
void SetCamTransMtx(const std::vector< Double_t > &arr)
virtual Int_t WriteCoreJson(nlohmann::json &cj, Int_t rnr_offset)
Write core json.
void SetFromArray(const Double_t arr[16])
Set matrix from Double_t array.
void SetBaseVec(Int_t b, Double_t x, Double_t y, Double_t z)
Set base-vector with index b.
void UnitTrans()
Reset matrix to unity.
Namespace for ROOT features in testing.
REveVectorT< Float_t > REveVector