57 fPrimitives.emplace_back(std::make_unique<TWebSnapshot>());
Mother of all ROOT objects.
TPadWebSnapshot & NewSubPad()
Create new entry for subpad.
TWebSnapshot & NewPrimitive(TObject *obj=nullptr, const std::string &opt="", const std::string &suffix="")
Create new entry in list of primitives.
std::vector< std::unique_ptr< TWebSnapshot > > fPrimitives
list of all primitives, drawn in the pad
TWebSnapshot & NewSpecials()
Create new entry in list of primitives in the front.
bool IsSetObjectIds() const
UInt_t Hash(ECaseCompare cmp=kExact) const
Return hash value.
Paint state of object to transfer to JavaScript side.
Bool_t fOwner
! if objected owned
Int_t fKind
kind of snapshots
~TWebSnapshot() override
destructor
TObject * fSnapshot
snapshot data
void SetObjectID(const std::string &id)
void SetSnapshot(Int_t kind, TObject *snapshot, Bool_t owner=kFALSE)
SetUse pointer to assign object id - TString::Hash.
void SetObjectIDAsPtr(void *ptr, const std::string &suffix="")
Use pointer to assign object id - TString::Hash.