Ignore:
Timestamp:
May 30, 2009, 8:07:17 PM (15 years ago)
Author:
gah
Message:

Fix volume management routines to handle deletion

File:
1 edited

Legend:

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

    r1475 r1478  
    109109    static NVISid final_fbo, final_color_tex, final_depth_rb;
    110110public:
    111     typedef std::map<int, Volume*> VolumeMap;
    112111public:
    113112    static VolumeRenderer* vol_renderer;
     
    130129    static vector<HeightMap*> heightMap;
    131130    static unsigned char* screen_buffer;
    132     static VolumeMap volumeMap;
     131    static vector<Volume *> volumes;
    133132    static vector<NvVectorField*> flow;
    134133    static Grid* grid;
     
    232231    };
    233232    static void EventuallyRedraw(unsigned int flag = 0);
    234     static void remove_volume(int volUserID);
     233    static void remove_volume(size_t index);
    235234    static int generate_data_identifier();
    236235};
Note: See TracChangeset for help on using the changeset viewer.