Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members

TexPalette.H

Go to the documentation of this file.
00001 
00011 #ifndef TEXPALETTE_H
00012 #define TEXPALETTE_H
00013 
00014 
00015 #include "TexPlane.H"
00016 #include "DrawObj.H"
00017 #include "TimeFade.H"
00018 
00019 // Gluebase includes
00020 #define OUTSIDE_GLUE_CORE
00021 #include <std/list.H>
00022 
00023 namespace InSpace {
00024 
00025 class TexPalette : public DrawObj
00026 {
00027  public:
00028   
00029   TexPalette();
00030   virtual ~TexPalette();
00031 
00032   // override the DrawObj versions of these.. will update this
00033   // object's transformation as well as the texture plane objects that
00034   // it holds..  sort of a hack!
00035   void setTrans(cWtransf& m);
00036   void setRot(cWtransf& m);
00037   void setScale(cWtransf& m);
00038 
00039   void show();
00040   void hide();
00041 
00042   void draw();
00043 
00044   cARRAY<TexPlane*>& texPlanes() const { return _texPlanes; }
00045 
00046 private:
00047 
00048   ARRAY<TexPlane*> _texPlanes;
00049   TimeFade *_timeFade;
00050 
00051 };
00052 
00053 }
00054 #endif
00055 

Generated on Thu Jul 8 15:19:29 2004 for inspace by doxygen 1.3.4