Modules | |
IChannelContainer.h | |
Functions | |
bool | IsShared () const |
check out if some particles have shared mapping data. More... | |
virtual bool | IsUVVertShared () const =0 |
check out if some particles have shared UVVert data. More... | |
virtual bool | IsTVFaceShared () const =0 |
check out if some particles have shared TVFace data. More... | |
virtual int | GetUVVertCount () const =0 |
get total number of actual TabUVVert values in the channel More... | |
virtual int | GetUVVertIndex (int particleIndex) const =0 |
get the TabUVVert value index of a particle More... | |
virtual const TabUVVert * | GetUVVertByIndex (int valueIndex) const =0 |
get TabUVVert of the valueIndex-th value More... | |
virtual const TabUVVert * | GetUVVert (int particleIndex) const =0 |
get TabUVVert of a particle with the specified index More... | |
virtual const TabUVVert * | GetUVVert () const =0 |
get global TabUVVert value for all particles. More... | |
virtual int | GetTVFaceCount () const =0 |
get total number of actual TabTVFace values in the channel More... | |
virtual int | GetTVFaceIndex (int particleIndex) const =0 |
may return NULL. More... | |
virtual const TabTVFace * | GetTVFaceByIndex (int valueIndex) const =0 |
get TabTVFace of the valueIndex-th value. More... | |
virtual const TabTVFace * | GetTVFace (int particleIndex) const =0 |
get TabTVFace of a particle with the specified index. More... | |
virtual const TabTVFace * | GetTVFace () const =0 |
get global TabTVFace value for all particles. More... | |
virtual void | Apply (Mesh *mesh, int particleIndex, int mp) const =0 |
apply content of the channel to the mesh [mesh] at mapping channel [mp] More... | |
FPInterfaceDesc * | GetDesc () |
|
inline |
check out if some particles have shared mapping data.
if it's true then there is no need to get a mapping for each particle
|
pure virtual |
check out if some particles have shared UVVert data.
if it's true then there is no need to get a UVVert data for each particle
|
pure virtual |
|
pure virtual |
get total number of actual TabUVVert values in the channel
get the TabUVVert value index of a particle
get TabUVVert of the valueIndex-th value
get TabUVVert of a particle with the specified index
|
pure virtual |
get global TabUVVert value for all particles.
the method returns the TabUVVert value of the first particle if it is local or shared
|
pure virtual |
get total number of actual TabTVFace values in the channel
may return NULL.
for different TabUVVert values it has different meanings. if TabUVVert has a single UVVert value then the particle has a planar TVFace data and all vertices of the particles have the same UVVert value. if TabUVVert has the same number of UVVert values as the particle mesh vertices number then the particle has a planar TVFace data and there is one-to-one correspondence between UVVerts and vertices of the particle. get the TabTVFace value index of a particle.
get TabTVFace of the valueIndex-th value.
See GetTVFaceIndex(int particleIndex).
get TabTVFace of a particle with the specified index.
See GetTVFaceIndex(int particleIndex).
|
pure virtual |
get global TabTVFace value for all particles.
the method returns the TabTVFace value of the first particle if it is local or shared. See GetTVFaceIndex(int particleIndex).
apply content of the channel to the mesh [mesh] at mapping channel [mp]
|
inlinevirtual |
Implements FPInterface.