Definition at line 23 of file REveRenderData.hxx.
|
| REveRenderData ()=default |
|
| REveRenderData (const std::string &func, int size_vert=0, int size_norm=0, int size_idx=0) |
| Constructor.
|
|
int | GetBinarySize () |
|
const std::string | GetRnrFunc () const |
|
void | PushI (std::vector< UInt_t > &v) |
|
void | PushI (UInt_t *v, int len) |
|
void | PushI (UInt_t i) |
|
void | PushI (UInt_t i, UInt_t j, UInt_t k) |
|
void | PushN (const REveVectorF &v) |
|
void | PushN (float x) |
|
void | PushN (float x, float y, float z) |
|
void | PushV (const REveVectorF &v) |
|
void | PushV (float *v, int len) |
|
void | PushV (float x) |
|
void | PushV (float x, float y, float z) |
|
void | Reserve (int size_vert=0, int size_norm=0, int size_idx=0) |
| Reserve place for render data.
|
|
void | ResizeV (int s) |
|
void | SetMatrix (const double *arr) |
| Set transformation matrix.
|
|
int | SizeI () const |
|
int | SizeN () const |
|
int | SizeT () const |
|
int | SizeV () const |
|
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.
|
|
#include <ROOT/REveRenderData.hxx>
◆ Primitive_e
Enumerator |
---|
GL_POINTS | |
GL_LINES | |
GL_LINE_LOOP | |
GL_LINE_STRIP | |
GL_TRIANGLES | |
Definition at line 35 of file REveRenderData.hxx.
◆ REveRenderData() [1/2]
ROOT::Experimental::REveRenderData::REveRenderData |
( |
| ) |
|
|
default |
◆ REveRenderData() [2/2]
REveRenderData::REveRenderData |
( |
const std::string & |
func, |
|
|
int |
size_vert = 0 , |
|
|
int |
size_norm = 0 , |
|
|
int |
size_idx = 0 |
|
) |
| |
◆ CalcTextureSize()
void REveRenderData::CalcTextureSize |
( |
int |
nel, |
|
|
int |
align, |
|
|
int & |
sx, |
|
|
int & |
sy |
|
) |
| |
|
static |
Calculate texture dimensions to hold nel elements with given alignment on x axis.
Static function.
Implementation could be improved – now it simply goes for near-square-root(size) dimensions that satisfy the alignment requirement.
Definition at line 91 of file REveRenderData.cxx.
◆ GetBinarySize()
int ROOT::Experimental::REveRenderData::GetBinarySize |
( |
| ) |
|
|
inline |
◆ GetRnrFunc()
const std::string ROOT::Experimental::REveRenderData::GetRnrFunc |
( |
| ) |
const |
|
inline |
◆ PushI() [1/4]
void ROOT::Experimental::REveRenderData::PushI |
( |
std::vector< UInt_t > & |
v | ) |
|
|
inline |
◆ PushI() [2/4]
void ROOT::Experimental::REveRenderData::PushI |
( |
UInt_t * |
v, |
|
|
int |
len |
|
) |
| |
|
inline |
◆ PushI() [3/4]
void ROOT::Experimental::REveRenderData::PushI |
( |
UInt_t |
i | ) |
|
|
inline |
◆ PushI() [4/4]
◆ PushN() [1/3]
void ROOT::Experimental::REveRenderData::PushN |
( |
const REveVectorF & |
v | ) |
|
|
inline |
◆ PushN() [2/3]
void ROOT::Experimental::REveRenderData::PushN |
( |
float |
x | ) |
|
|
inline |
◆ PushN() [3/3]
void ROOT::Experimental::REveRenderData::PushN |
( |
float |
x, |
|
|
float |
y, |
|
|
float |
z |
|
) |
| |
|
inline |
◆ PushV() [1/4]
void ROOT::Experimental::REveRenderData::PushV |
( |
const REveVectorF & |
v | ) |
|
|
inline |
◆ PushV() [2/4]
void ROOT::Experimental::REveRenderData::PushV |
( |
float * |
v, |
|
|
int |
len |
|
) |
| |
|
inline |
◆ PushV() [3/4]
void ROOT::Experimental::REveRenderData::PushV |
( |
float |
x | ) |
|
|
inline |
◆ PushV() [4/4]
void ROOT::Experimental::REveRenderData::PushV |
( |
float |
x, |
|
|
float |
y, |
|
|
float |
z |
|
) |
| |
|
inline |
◆ Reserve()
void REveRenderData::Reserve |
( |
int |
size_vert = 0 , |
|
|
int |
size_norm = 0 , |
|
|
int |
size_idx = 0 |
|
) |
| |
◆ ResizeV()
void ROOT::Experimental::REveRenderData::ResizeV |
( |
int |
s | ) |
|
|
inline |
◆ SetMatrix()
void REveRenderData::SetMatrix |
( |
const double * |
arr | ) |
|
◆ SizeI()
int ROOT::Experimental::REveRenderData::SizeI |
( |
| ) |
const |
|
inline |
◆ SizeN()
int ROOT::Experimental::REveRenderData::SizeN |
( |
| ) |
const |
|
inline |
◆ SizeT()
int ROOT::Experimental::REveRenderData::SizeT |
( |
| ) |
const |
|
inline |
◆ SizeV()
int ROOT::Experimental::REveRenderData::SizeV |
( |
| ) |
const |
|
inline |
◆ Write()
int REveRenderData::Write |
( |
char * |
msg, |
|
|
int |
maxlen |
|
) |
| |
◆ fIndexBuffer
std::vector<int> ROOT::Experimental::REveRenderData::fIndexBuffer |
|
private |
◆ fMatrix
std::vector<float> ROOT::Experimental::REveRenderData::fMatrix |
|
private |
◆ fNormalBuffer
std::vector<float> ROOT::Experimental::REveRenderData::fNormalBuffer |
|
private |
◆ fRnrFunc
std::string ROOT::Experimental::REveRenderData::fRnrFunc |
|
private |
◆ fVertexBuffer
std::vector<float> ROOT::Experimental::REveRenderData::fVertexBuffer |
|
private |
The documentation for this class was generated from the following files: