26 Reserve(size_vert, size_norm, size_idx);
51 auto append = [&](
void *buf,
int len) {
52 if (off +
len > maxlen)
53 throw eh +
"output buffer does not have enough memory";
54 memcpy(msg + off, buf,
len);
79 for (
int i = 0; i < 16; ++i) {
93 if (nel <= 0) { sx = sy = 0;
return; }
95 sx = (
int) std::ceil(std::sqrt(nel));
97 if (rx > 0) sx += align - rx;
99 if (nel % sx > 0) sy += 1;
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 UChar_t len
REveException Exception-type thrown by Eve classes.
std::vector< float > fNormalBuffer
void Reserve(int size_vert=0, int size_norm=0, int size_idx=0)
Reserve place for render data.
int Write(char *msg, int maxlen)
Write render data to binary buffer.
static void CalcTextureSize(int nel, int align, int &sx, int &sy)
Calculate texture dimensions to hold nel elements with given alignment on x axis.
std::vector< int > fIndexBuffer
std::vector< float > fVertexBuffer
void SetMatrix(const double *arr)
Set transformation matrix.
std::vector< float > fMatrix