Demonstrates usage of class TEveTriangleSet.
{
{
ts1->SetName(
"RandomColors");
ts1->GenerateTriangleNormals();
ts1->GenerateRandomColors();
}
{
ts2->SetName(
"SmallBlue");
ts2->GenerateTriangleNormals();
}
{
ts3->SetName(
"Spectrum");
ts3->GenerateTriangleNormals();
}
}
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
R__EXTERN TEveManager * gEve
void AddElement(TEveElement *element, TEveElement *parent=nullptr)
Add an element.
static TEveManager * Create(Bool_t map_window=kTRUE, Option_t *opt="FIV")
If global TEveManager* gEve is not set initialize it.
void Redraw3D(Bool_t resetCameras=kFALSE, Bool_t dropLogicals=kFALSE)
Made from a list of vertices and a list of triangles (triplets of vertex indices).
static TEveTriangleSet * ReadTrivialFile(const char *file)
Read a simple ascii input file describing vertices and triangles.
Matrix class used for computing global transformations Should NOT be used for node definition.
- Author
- Matevz Tadel
Definition in file triangleset.C.