]> git.treefish.org Git - phys/latlib.git/blobdiff - culooks.h
implemented linewidth.
[phys/latlib.git] / culooks.h
index fe6ca11df6520cf0d5552eddd83d16c2baf92ca6..34466c1ba0373f0f5ba2dde75307e878e85b1c4d 100644 (file)
--- a/culooks.h
+++ b/culooks.h
@@ -27,6 +27,8 @@ 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 setLineWidth(float width);
 
  private:
 
 
  private:
 
@@ -34,6 +36,8 @@ class culooks
     int *argc;
     char **argv;
   };
     int *argc;
     char **argv;
   };
+
+  static comarg comArg;
   
   class cube {
   public:
   
   class cube {
   public:
@@ -41,6 +45,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 +55,9 @@ 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);
   private:
   private:
+    float wireColor[4];
     void drawAll();
     void drawBox();
     static void drawFrame();
     void drawAll();
     void drawBox();
     static void drawFrame();
@@ -62,6 +69,8 @@ class culooks
     int plaqbuf_active;
     int linkbuf_active;
     static int allid;
     int plaqbuf_active;
     int linkbuf_active;
     static int allid;
+    bool hideplaquettes;
+    bool hidelinks;
   };
   
   struct window {
   };
   
   struct window {
@@ -74,6 +83,7 @@ class culooks
     string name;
     float bgcolor[4];
     bool redisplay;
     string name;
     float bgcolor[4];
     bool redisplay;
+    float linewidth;
   };
 
   class drawing 
   };
 
   class drawing