12#ifndef ROOT_TEveTriangleSet
13#define ROOT_TEveTriangleSet
#define ClassDef(name, id)
Use this attribute class when an object should have 3D capabilities.
Helper for management of bounding-box information.
virtual void SetMainTransparency(Char_t t)
Set main-transparency.
Editor for TEveTriangleSet class.
GL-renderer for TEveTriangleSet class.
Made from a list of vertices and a list of triangles (triplets of vertex indices).
~TEveTriangleSet()
Destructor.
void SetTransparency(Char_t tr)
void GenerateZNormalColors(Float_t fac=20, Int_t min=-20, Int_t max=20, Bool_t interp=kFALSE, Bool_t wrap=kFALSE)
Generate triangle colors by the z-component of the normal.
void GenerateRandomColors()
Assign random colors to all triangles.
Float_t * Vertex(Int_t i)
virtual Bool_t CanEditMainTransparency() const
Float_t * TriangleNormal(Int_t i)
void SetTriangle(Int_t i, Int_t v0, Int_t v1, Int_t v2)
virtual void ComputeBBox()
Compute bounding box.
UChar_t * TriangleColor(Int_t i)
static TEveTriangleSet * ReadTrivialFile(const char *file)
Read a simple ascii input file describing vertices and triangles.
TEveTriangleSet(const TEveTriangleSet &)
void SetTriangleColor(Int_t i, UChar_t r, UChar_t g, UChar_t b, UChar_t a=255)
void SetVertex(Int_t i, Float_t x, Float_t y, Float_t z)
virtual void Paint(Option_t *option="")
Paint this object. Only direct rendering is supported.
TEveTriangleSet & operator=(const TEveTriangleSet &)
void GenerateTriangleNormals()
Generate triangle normals via cross product of triangle edges.
Int_t * Triangle(Int_t i)
Geometrical transformation package.
SEXP wrap(const TString &s)