Changeset 1333 for trunk/packages/vizservers/nanovis/NvParticleRenderer.h
- Timestamp:
- Mar 16, 2009, 2:05:56 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/vizservers/nanovis/NvParticleRenderer.h
r1331 r1333 29 29 #include "Vector3.h" 30 30 31 #include <vector> 32 31 33 #include "NvParticleAdvectionShader.h" 32 34 … … 42 44 }; 43 45 46 struct ParticleInitSlice { 47 int slice_id; 48 int slice_axis; 49 float slice_pos; 50 bool enabled; 51 }; 44 52 45 53 class NvParticleRenderer : public Renderable { … … 89 97 NvParticleAdvectionShader* _advectionShader; 90 98 99 std::vector<ParticleInitSlice> _initSliceArray; 100 91 101 /** 92 102 * @brief scale of flow data … … 97 107 98 108 bool _activate; 109 99 110 public: 100 111 int psys_width; //the storage of particles is implemented as a 2D array. … … 114 125 void deactivate(); 115 126 bool isActivated() const; 127 128 void draw_bounding_box(float x0, float y0, float z0, float x1, float y1, float z1, float r, float g, float b, float line_width); 116 129 }; 117 130
Note: See TracChangeset
for help on using the changeset viewer.