]> git.treefish.org Git - phys/latlib.git/blobdiff - culooks.h
...
[phys/latlib.git] / culooks.h
index fe6ca11df6520cf0d5552eddd83d16c2baf92ca6..66b33206b7a5bc96b7016b8059a024701ee9af44 100644 (file)
--- a/culooks.h
+++ b/culooks.h
@@ -27,6 +27,9 @@ class culooks
   void hideLinks(const int& cubeid);
   void hideLinks();
   void setBgColor(const float& red, const float& green, const float& blue, const float& alpha);
   void hideLinks(const int& cubeid);
   void hideLinks();
   void setBgColor(const float& red, const float& green, const float& blue, const float& alpha);
+  void setWireColor(const float& r, const float& g, const float& b, const float& a);
+  void setFrameWidth(float width);
+  void setLinkWidth(float width);
 
  private:
 
 
  private:
 
@@ -34,6 +37,8 @@ class culooks
     int *argc;
     char **argv;
   };
     int *argc;
     char **argv;
   };
+
+  static comarg comArg;
   
   class cube {
   public:
   
   class cube {
   public:
@@ -41,6 +46,7 @@ class culooks
     void draw();
     int id;
     float az, alt;
     void draw();
     int id;
     float az, alt;
+    float azRotSpeed;
     float zoom;
     void setLink (const int& posdir, 
                  const float& red, const float& green, const float& blue, const float& alpha);
     float zoom;
     void setLink (const int& posdir, 
                  const float& red, const float& green, const float& blue, const float& alpha);
@@ -50,7 +56,11 @@ class culooks
     void swapPlaqBuffer();
     void hidePlaqs();
     void hideLinks();
     void swapPlaqBuffer();
     void hidePlaqs();
     void hideLinks();
+    void setWireColor(const float& r, const float& g, const float& b, const float& a);
+    void setFrameWidth(float width);
+    void setLinkWidth(float width);
   private:
   private:
+    float wireColor[4];
     void drawAll();
     void drawBox();
     static void drawFrame();
     void drawAll();
     void drawBox();
     static void drawFrame();
@@ -62,6 +72,10 @@ class culooks
     int plaqbuf_active;
     int linkbuf_active;
     static int allid;
     int plaqbuf_active;
     int linkbuf_active;
     static int allid;
+    bool hideplaquettes;
+    bool hidelinks;
+    float framewidth;
+    float linkwidth;
   };
   
   struct window {
   };
   
   struct window {