Ignore:
Timestamp:
Apr 9, 2012, 8:25:40 AM (13 years ago)
Author:
ldelgass
Message:

Remove unused FlowVisRenderer? from build. Remove some unused globals from
nanovis.h, make Tcl command buffer a local. LIC renderer only needs a single
plane offset, not a vector, so change ctor.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/vizservers/nanovis/nanovis.h

    r2930 r2951  
    7979    static void displayOffscreenBuffer();
    8080    static void display();
     81    static void draw3dAxis();
    8182    static void idle();
    8283    static void update();
     84    static void removeAllData();
    8385
    8486    static void pan(float dx, float dy);
     
    8991    static void setVolumeRanges();
    9092    static void setHeightmapRanges();
    91 
     93#ifdef notdef
    9294    static void initParticle();
    93 
     95#endif
    9496    static void ppmWrite(const char *prefix);
    9597    static void sendDataToClient(const char *command, const char *data,
     
    155157    static int renderWindow;
    156158    static unsigned char *screenBuffer;
     159    static Texture2D *legendTexture;
    157160    static Grid *grid;
    158161    static R2Fonts *fonts;
     
    161164    static graphics::RenderContext *renderContext;
    162165
     166    static Tcl_HashTable tfTable;
    163167    static Tcl_HashTable volumeTable;
    164 
    165     static std::vector<NvVectorField *> flow;
    166168    static Tcl_HashTable flowTable;
     169    static Tcl_HashTable heightmapTable;
     170
    167171    static double magMin, magMax;
    168172    static float xMin, xMax, yMin, yMax, zMin, zMax, wMin, wMax;
    169173    static float xOrigin, yOrigin, zOrigin;
    170174
     175    static NvColorTableRenderer *colorTableRenderer;
    171176    static VolumeRenderer *volRenderer;
     177#ifdef notdef
    172178    static NvFlowVisRenderer *flowVisRenderer;
     179#endif
    173180    static VelocityArrowsSlice *velocityArrowsSlice;
    174181    static NvLIC *licRenderer;
     
    183190#endif
    184191
    185     static Tcl_HashTable tfTable;
    186     static Texture2D *legendTexture;
    187     static NvColorTableRenderer *colorTableRenderer;
    188 
    189     static std::vector<HeightMap *> heightMap;
    190     static Tcl_HashTable heightmapTable;
    191 
    192192    static Tcl_Interp *interp;
    193     static Tcl_DString cmdbuffer;
    194193
    195194private:
    196     static float _licSliceX;
    197     static float _licSliceY;
    198     static float _licSliceZ;
    199     static int _licAxis;     /* 0:x, 1:y, 2:z */
     195    static float _licSlice;  ///< Slice position [0,1]
     196    static int _licAxis;     ///< Slice axis: 0:x, 1:y, 2:z
    200197
    201198    //frame buffer for final rendering
Note: See TracChangeset for help on using the changeset viewer.