14 #ifndef GEOMPARTICLERENDERER_H 15 #define GEOMPARTICLERENDERER_H 33 INLINE
void set_geom_node(
PandaNode *node);
37 INLINE
void set_x_scale_flag(
bool animate_x_ratio);
38 INLINE
void set_y_scale_flag(
bool animate_y_ratio);
39 INLINE
void set_z_scale_flag(
bool animate_z_ratio);
40 INLINE
void set_initial_x_scale(PN_stdfloat initial_x_scale);
41 INLINE
void set_final_x_scale(PN_stdfloat final_x_scale);
42 INLINE
void set_initial_y_scale(PN_stdfloat initial_y_scale);
43 INLINE
void set_final_y_scale(PN_stdfloat final_y_scale);
44 INLINE
void set_initial_z_scale(PN_stdfloat initial_z_scale);
45 INLINE
void set_final_z_scale(PN_stdfloat final_z_scale);
47 INLINE
bool get_x_scale_flag()
const;
48 INLINE
bool get_y_scale_flag()
const;
49 INLINE
bool get_z_scale_flag()
const;
50 INLINE PN_stdfloat get_initial_x_scale()
const;
51 INLINE PN_stdfloat get_final_x_scale()
const;
52 INLINE PN_stdfloat get_initial_y_scale()
const;
53 INLINE PN_stdfloat get_final_y_scale()
const;
54 INLINE PN_stdfloat get_initial_z_scale()
const;
55 INLINE PN_stdfloat get_final_z_scale()
const;
60 virtual void output(std::ostream &out)
const;
61 virtual void write_linear_forces(std::ostream &out,
int indent=0)
const;
62 virtual void write(std::ostream &out,
int indent=0)
const;
71 PN_stdfloat _initial_x_scale;
72 PN_stdfloat _final_x_scale;
73 PN_stdfloat _initial_y_scale;
74 PN_stdfloat _final_y_scale;
75 PN_stdfloat _initial_z_scale;
76 PN_stdfloat _final_z_scale;
78 bool _animate_x_ratio;
79 bool _animate_y_ratio;
80 bool _animate_z_ratio;
84 virtual void birth_particle(
int index);
85 virtual void kill_particle(
int index);
87 virtual void init_geoms();
91 virtual void resize_pool(
int new_size);
99 #endif // GEOMPARTICLERENDERER_H PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
A basic node of the scene graph or data graph.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
virtual void write(std::ostream &out, int indent=0) const
Write a string representation of this instance to <out>.
A body on which physics will be applied.
virtual void output(std::ostream &out) const
Write a string representation of this instance to <out>.
This is our own Panda specialization on the default STL vector.
A lightweight class that represents a single element that may be timed and/or counted via stats.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
Pure virtual particle renderer base class.
std::ostream & indent(std::ostream &out, int indent_level)
A handy function for doing text formatting.
High level class for color interpolation.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.