Panda3D
|
Creates particles that are affected by angular forces. More...
#include "orientedParticleFactory.h"
Public Member Functions | |
OrientedParticleFactory () | |
Constructor. | |
OrientedParticleFactory (const OrientedParticleFactory ©) | |
copy Constructor | |
virtual | ~OrientedParticleFactory () |
destructor | |
LOrientation | get_final_orientation () const |
LOrientation | get_initial_orientation () const |
virtual void | output (std::ostream &out) const |
Write a string representation of this instance to <out>. | |
void | set_final_orientation (const LOrientation &o) |
void | set_initial_orientation (const LOrientation &o) |
virtual void | write (std::ostream &out, int indent=0) const |
Write a string representation of this instance to <out>. | |
![]() | |
virtual | ~BaseParticleFactory () |
destructor | |
PN_stdfloat | get_lifespan_base () const |
public | |
PN_stdfloat | get_lifespan_spread () const |
public | |
PN_stdfloat | get_mass_base () const |
public | |
PN_stdfloat | get_mass_spread () const |
public | |
PN_stdfloat | get_terminal_velocity_base () const |
public | |
PN_stdfloat | get_terminal_velocity_spread () const |
public | |
void | populate_particle (BaseParticle *bp) |
public | |
void | set_lifespan_base (PN_stdfloat lb) |
public | |
void | set_lifespan_spread (PN_stdfloat ls) |
public | |
void | set_mass_base (PN_stdfloat mb) |
public | |
void | set_mass_spread (PN_stdfloat ms) |
public | |
void | set_terminal_velocity_base (PN_stdfloat tvb) |
public | |
void | set_terminal_velocity_spread (PN_stdfloat tvs) |
public | |
![]() | |
int | get_ref_count () const |
WeakReferenceList * | get_weak_list () const |
Returns the WeakReferenceList associated with this ReferenceCount object. | |
bool | has_weak_list () const |
Returns true if this particular ReferenceCount object has a WeakReferenceList created, false otherwise. | |
void | local_object () |
This function should be called, once, immediately after creating a new instance of some ReferenceCount-derived object on the stack. | |
void | ref () const |
Explicitly increments the reference count. | |
bool | ref_if_nonzero () const |
Atomically increases the reference count of this object if it is not zero. | |
bool | test_ref_count_integrity () const |
Does some easy checks to make sure that the reference count isn't completely bogus. | |
bool | test_ref_count_nonzero () const |
Does some easy checks to make sure that the reference count isn't zero, or completely bogus. | |
virtual bool | unref () const |
Explicitly decrements the reference count. | |
bool | unref_if_one () const |
Atomically decreases the reference count of this object if it is one. | |
WeakReferenceList * | weak_ref () |
Adds the indicated PointerToVoid as a weak reference to this object. | |
void | weak_unref () |
Removes the indicated PointerToVoid as a weak reference to this object. | |
![]() | |
void | operator delete (void *, void *) |
void | operator delete (void *ptr) |
void | operator delete[] (void *, void *) |
void | operator delete[] (void *ptr) |
void * | operator new (size_t size) |
void * | operator new (size_t size, void *ptr) |
void * | operator new[] (size_t size) |
void * | operator new[] (size_t size, void *ptr) |
Additional Inherited Members | |
![]() | |
static TypeHandle | get_class_type () |
static void | init_type () |
![]() | |
get_ref_count | |
Returns the current reference count. | |
Creates particles that are affected by angular forces.
Definition at line 24 of file orientedParticleFactory.h.
OrientedParticleFactory::OrientedParticleFactory | ( | ) |
Constructor.
Definition at line 20 of file orientedParticleFactory.cxx.
OrientedParticleFactory::OrientedParticleFactory | ( | const OrientedParticleFactory & | copy | ) |
copy Constructor
Definition at line 28 of file orientedParticleFactory.cxx.
|
virtual |
destructor
Definition at line 38 of file orientedParticleFactory.cxx.
|
inline |
Definition at line 41 of file orientedParticleFactory.I.
|
inline |
Definition at line 33 of file orientedParticleFactory.I.
|
virtual |
Write a string representation of this instance to <out>.
Reimplemented from BaseParticleFactory.
Definition at line 61 of file orientedParticleFactory.cxx.
|
inline |
Definition at line 25 of file orientedParticleFactory.I.
|
inline |
Definition at line 17 of file orientedParticleFactory.I.
|
virtual |
Write a string representation of this instance to <out>.
Reimplemented from BaseParticleFactory.
Definition at line 71 of file orientedParticleFactory.cxx.
References indent(), and BaseParticleFactory::write().