Logo ROOT  
Reference Guide
ROOT::Experimental::REveRenderData Class Reference

Definition at line 23 of file REveRenderData.hxx.

Public Types

enum  Primitive_e {
  GL_POINTS = 0 , GL_LINES , GL_LINE_LOOP , GL_LINE_STRIP ,
  GL_TRIANGLES
}
 

Public Member Functions

 REveRenderData ()=default
 
 REveRenderData (const std::string &func, int size_vert=0, int size_norm=0, int size_idx=0)
 Constructor. More...
 
int GetBinarySize ()
 
const std::string GetRnrFunc () const
 
void PushI (int *v, int len)
 
void PushI (int i)
 
void PushI (int i, int j, int k)
 
void PushI (std::vector< int > &v)
 
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. More...
 
void SetMatrix (const double *arr)
 Set transformation matrix. More...
 
int SizeI () const
 
int SizeN () const
 
int SizeT () const
 
int SizeV () const
 
int Write (char *msg, int maxlen)
 Write render data to binary buffer. More...
 

Private Attributes

std::vector< int > fIndexBuffer
 
std::vector< float > fMatrix
 
std::vector< float > fNormalBuffer
 
std::string fRnrFunc
 
std::vector< float > fVertexBuffer
 

#include <ROOT/REveRenderData.hxx>

Member Enumeration Documentation

◆ Primitive_e

Enumerator
GL_POINTS 
GL_LINES 
GL_LINE_LOOP 
GL_LINE_STRIP 
GL_TRIANGLES 

Definition at line 35 of file REveRenderData.hxx.

Constructor & Destructor Documentation

◆ 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 
)

Constructor.

Definition at line 23 of file REveRenderData.cxx.

Member Function Documentation

◆ GetBinarySize()

int ROOT::Experimental::REveRenderData::GetBinarySize ( )
inline

Definition at line 98 of file REveRenderData.hxx.

◆ GetRnrFunc()

const std::string ROOT::Experimental::REveRenderData::GetRnrFunc ( ) const
inline

Definition at line 91 of file REveRenderData.hxx.

◆ PushI() [1/4]

void ROOT::Experimental::REveRenderData::PushI ( int *  v,
int  len 
)
inline

Definition at line 85 of file REveRenderData.hxx.

◆ PushI() [2/4]

void ROOT::Experimental::REveRenderData::PushI ( int  i)
inline

Definition at line 76 of file REveRenderData.hxx.

◆ PushI() [3/4]

void ROOT::Experimental::REveRenderData::PushI ( int  i,
int  j,
int  k 
)
inline

Definition at line 78 of file REveRenderData.hxx.

◆ PushI() [4/4]

void ROOT::Experimental::REveRenderData::PushI ( std::vector< int > &  v)
inline

Definition at line 87 of file REveRenderData.hxx.

◆ PushN() [1/3]

void ROOT::Experimental::REveRenderData::PushN ( const REveVectorF v)
inline

Definition at line 69 of file REveRenderData.hxx.

◆ PushN() [2/3]

void ROOT::Experimental::REveRenderData::PushN ( float  x)
inline

Definition at line 60 of file REveRenderData.hxx.

◆ PushN() [3/3]

void ROOT::Experimental::REveRenderData::PushN ( float  x,
float  y,
float  z 
)
inline

Definition at line 62 of file REveRenderData.hxx.

◆ PushV() [1/4]

void ROOT::Experimental::REveRenderData::PushV ( const REveVectorF v)
inline

Definition at line 51 of file REveRenderData.hxx.

◆ PushV() [2/4]

void ROOT::Experimental::REveRenderData::PushV ( float *  v,
int  len 
)
inline

Definition at line 58 of file REveRenderData.hxx.

◆ PushV() [3/4]

void ROOT::Experimental::REveRenderData::PushV ( float  x)
inline

Definition at line 42 of file REveRenderData.hxx.

◆ PushV() [4/4]

void ROOT::Experimental::REveRenderData::PushV ( float  x,
float  y,
float  z 
)
inline

Definition at line 44 of file REveRenderData.hxx.

◆ Reserve()

void REveRenderData::Reserve ( int  size_vert = 0,
int  size_norm = 0,
int  size_idx = 0 
)

Reserve place for render data.

Definition at line 32 of file REveRenderData.cxx.

◆ SetMatrix()

void REveRenderData::SetMatrix ( const double *  arr)

Set transformation matrix.

Definition at line 76 of file REveRenderData.cxx.

◆ SizeI()

int ROOT::Experimental::REveRenderData::SizeI ( ) const
inline

Definition at line 95 of file REveRenderData.hxx.

◆ SizeN()

int ROOT::Experimental::REveRenderData::SizeN ( ) const
inline

Definition at line 94 of file REveRenderData.hxx.

◆ SizeT()

int ROOT::Experimental::REveRenderData::SizeT ( ) const
inline

Definition at line 96 of file REveRenderData.hxx.

◆ SizeV()

int ROOT::Experimental::REveRenderData::SizeV ( ) const
inline

Definition at line 93 of file REveRenderData.hxx.

◆ Write()

int REveRenderData::Write ( char *  msg,
int  maxlen 
)

Write render data to binary buffer.

Definition at line 45 of file REveRenderData.cxx.

Member Data Documentation

◆ fIndexBuffer

std::vector<int> ROOT::Experimental::REveRenderData::fIndexBuffer
private

Definition at line 29 of file REveRenderData.hxx.

◆ fMatrix

std::vector<float> ROOT::Experimental::REveRenderData::fMatrix
private

Definition at line 30 of file REveRenderData.hxx.

◆ fNormalBuffer

std::vector<float> ROOT::Experimental::REveRenderData::fNormalBuffer
private

Definition at line 28 of file REveRenderData.hxx.

◆ fRnrFunc

std::string ROOT::Experimental::REveRenderData::fRnrFunc
private

Definition at line 26 of file REveRenderData.hxx.

◆ fVertexBuffer

std::vector<float> ROOT::Experimental::REveRenderData::fVertexBuffer
private

Definition at line 27 of file REveRenderData.hxx.

Libraries for ROOT::Experimental::REveRenderData:
[legend]

The documentation for this class was generated from the following files: