Vis 2
Kinetic Visualization for 3D shape and structure
Main Page
Namespaces
Classes
Files
File List
All
Classes
Namespaces
Functions
Pages
SurfaceAlignedParticle.h
1
#pragma once
2
#include "IParticle.h"
3
#include "HalfedgeMesh.h"
4
#include "InputHandler.h"
5
#include "SurfaceAlignedParticleGroupProperties.h"
6
#include "Texture.h"
7
#include <map>
8
9
using
std::map;
13
class
SurfaceAlignedParticle
:
public
virtual
IParticle
14
{
15
public
:
16
SurfaceAlignedParticle
();
17
~
SurfaceAlignedParticle
();
18
19
//IParticle
20
void
update();
21
void
spawn();
22
float
SurfaceAlignedParticle::calculateInfluence(
SurfaceAlignedParticle
*);
23
float
_barycentricAlpha, _barycentricBeta, _barycentricGamma;
24
glm::vec2 _size;
25
glm::vec3 _color;
26
unsigned
int
_faceNumber;
27
28
glm::vec3 * _faceNormal;
29
30
static
SurfaceAlignedParticleGroupProperties
* RenderProperties;
31
static
HalfedgeMesh
* MeshRef;
32
static
Texture
* TextureRef;
33
HE_Face
* _currentFace;
34
private
:
35
36
map<unsigned, HE_Face*> _surroundingfaces;
37
};
SurfaceAlignedParticleGroupProperties
Definition:
SurfaceAlignedParticleGroupProperties.h:20
HalfedgeMesh
Definition:
HalfedgeMesh.h:54
Texture
Definition:
Texture.h:12
HE_Face
Definition:
HalfedgeMesh.h:29
IParticle
Definition:
IParticle.h:9
SurfaceAlignedParticle
Definition:
SurfaceAlignedParticle.h:13
Generated on Wed Jun 11 2014 04:58:03 for Vis 2 by
1.8.6