Changeset 3492 for trunk/packages/vizservers/nanovis/NvParticleRenderer.h
- Timestamp:
- Mar 13, 2013, 9:57:03 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/vizservers/nanovis/NvParticleRenderer.h
r3177 r3492 19 19 #include <GL/glew.h> 20 20 21 #include <vrmath/Vector3f.h> 22 #include <vrmath/Vector4f.h> 23 21 24 #include "NvParticleAdvectionShader.h" 22 25 #include "RenderVertexArray.h" 23 #include "Vector3.h"24 #include "Vector4.h"25 26 26 27 struct Particle { … … 45 46 ~NvParticleRenderer(); 46 47 47 void setVectorField(unsigned int texID, const Vector3& origin,48 void setVectorField(unsigned int texID, const vrmath::Vector3f& origin, 48 49 float scaleX, float scaleY, float scaleZ, float max); 49 50 … … 68 69 } 69 70 70 void setColor(const Vector4& color)71 void setColor(const vrmath::Vector4f& color) 71 72 { 72 73 _color = color; … … 118 119 119 120 /// scale of flow data 120 Vector3_scale;121 vrmath::Vector3f _scale; 121 122 122 Vector3_origin;123 vrmath::Vector3f _origin; 123 124 124 125 bool _activate; … … 127 128 int _sliceAxis; 128 129 129 Vector4_color;130 vrmath::Vector4f _color; 130 131 131 132 //the storage of particles is implemented as a 2D array.
Note: See TracChangeset
for help on using the changeset viewer.