Inherited by DD::Image::RenderParticles.
Public Member Functions | |
| const char * | Class () const |
| Particles (Point::RenderMode render_mode, unsigned points=0, unsigned start=0) | |
| Particles (int render_mode, unsigned points=0, unsigned start=0) | |
| Particles (const Particles &) | |
| Point::RenderMode | render_mode () const |
| void | render_mode (Point::RenderMode v) |
| void | render_mode (int v) |
| Particles & | operator= (const Particles &b) |
| Primitive * | duplicate () const |
| unsigned | faces () const |
| void | tessellate (Scene *, PrimitiveContext *) const |
| void | draw_wireframe (ViewerContext *, PrimitiveContext *, Primitive *prev_prim=0) const |
| void | draw_solid (ViewerContext *, PrimitiveContext *, Primitive *prev_prim=0) const |
| void | draw_primitive_num (ViewerContext *, PrimitiveContext *) const |
| PrimitiveType | getPrimitiveType () const |
Protected Member Functions | |
| void | copy (const Particles *) |
Protected Attributes | |
| Point::RenderMode | render_mode_ |
| void Particles::copy | ( | const Particles * | b | ) | [protected] |
Destructive copy.
References render_mode_.
| Primitive * Particles::duplicate | ( | ) | const [virtual] |
Copy this Particles into a new one, and return a pointer to it. Vertex data is duplicated, point indices are unchanged.
Implements DD::Image::Primitive.
| void Particles::tessellate | ( | Scene * | scene, | |
| PrimitiveContext * | ptx | |||
| ) | const [virtual] |
Push a single rParticles primitive into the rendering stream.
Implements DD::Image::Primitive.
References DD::Image::Scene::add_render_primitive(), DD::Image::AttribContext::attribute, DD::Image::GeoInfo::Cf_ref, DD::Image::FLOAT_ATTRIB, DD::Image::PrimitiveContext::geoinfo(), DD::Image::GeoInfo::get_typed_group_attribcontext(), DD::Image::AttribContext::group, DD::Image::rPoint::v, and DD::Image::Primitive::vertex_shader().
| void Particles::draw_wireframe | ( | ViewerContext * | ctx, | |
| PrimitiveContext * | ptx, | |||
| Primitive * | prev_prim = 0 | |||
| ) | const [virtual] |
Implements DD::Image::Primitive.
References DD::Image::Vector4::array(), DD::Image::Vector3::array(), DD::Image::AttribContext::attribute, DD::Image::GeoInfo::Cf_ref, DD::Image::AttribContext::empty(), DD::Image::PrimitiveContext::geoinfo(), DD::Image::AttribContext::group, DD::Image::GeoInfo::point_array(), DD::Image::GeoInfo::VEL_ref, DD::Image::Vector3::x, DD::Image::Vector3::y, and DD::Image::Vector3::z.
| ©2009 The Foundry Visionmongers, Ltd. All Rights Reserved. |