]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - EVE/Reve/TriangleSet.h
First big commit of the mchview program and its accompanying library,
[u/mrichter/AliRoot.git] / EVE / Reve / TriangleSet.h
index 2231455b119dd9f6b4b4f0c28f6413852d7a4de8..d63c45e5d1477e08e1bac7e98a919be451b46627 100644 (file)
@@ -40,6 +40,7 @@ protected:
   // --------------------------------------------------------------
 
   Color_t  fColor;
+  UShort_t fTransp;
   ZTrans   fHMTrans;
 
 public:
@@ -72,13 +73,16 @@ public:
   Color_t GetColor() const { return fColor; }
   void SetColor(Color_t c) { fColor = c; }
 
+  UShort_t GetTransparency() const { return fTransp; }
+  void SetTransparency(UShort_t tr) { fTransp = tr; } // *MENU*
+
   ZTrans& RefHMTrans() { return fHMTrans; }
   void SetTransMatrix(Double_t* carr)        { fHMTrans.SetFrom(carr); }
   void SetTransMatrix(const TGeoMatrix& mat) { fHMTrans.SetFrom(mat);  }
 
   static TriangleSet* ReadTrivialFile(const char* file);
 
-  ClassDef(TriangleSet, 0)
+  ClassDef(TriangleSet, 0); // Generic triangle mesh or soup.
 }; // endclass TriangleSet
 
 }