
Static Public Member Functions | |
| static void | init (Particles *, DrawActionBase *, dataType &data, GeoPositionsPtr &pos) |
| static bool | particle (dataType &data, UInt32 particle) |
| static Pnt3f & | position (dataType &data) |
| static void | vertex (dataType &data, UInt32, Vec4f &dir, Real32 s) |
| static void | vertex (dataType &data) |
Classes | |
| struct | dataType |
Definition at line 705 of file OSGParticles.cpp.
| static void PosTraitGeneric::init | ( | Particles * | , | |
| DrawActionBase * | , | |||
| dataType & | data, | |||
| GeoPositionsPtr & | pos | |||
| ) | [inline, static] |
| static bool PosTraitGeneric::particle | ( | dataType & | data, | |
| UInt32 | particle | |||
| ) | [inline, static] |
Definition at line 720 of file OSGParticles.cpp.
References PosTraitGeneric::dataType::p, and PosTraitGeneric::dataType::pos.
00721 { 00722 data.pos->getValue(data.p, particle); 00723 00724 return false; 00725 }
| static void PosTraitGeneric::vertex | ( | dataType & | data, | |
| UInt32 | , | |||
| Vec4f & | dir, | |||
| Real32 | s | |||
| ) | [inline, static] |
Definition at line 732 of file OSGParticles.cpp.
References PosTraitGeneric::dataType::p.
00734 { 00735 glVertex3f( data.p[0] + dir[0] * s, 00736 data.p[1] + dir[1] * s, 00737 data.p[2] + dir[2] * s); 00738 }
| static void PosTraitGeneric::vertex | ( | dataType & | data | ) | [inline, static] |
Definition at line 740 of file OSGParticles.cpp.
References osg::PointInterface< ValueTypeT, StorageInterfaceT >::getValues(), and PosTraitGeneric::dataType::p.
1.5.5