Panda3D
Public Member Functions

RectangleEmitter Class Reference

Describes a planar square region in which particles are generated. More...

#include "rectangleEmitter.h"

Inheritance diagram for RectangleEmitter:
BaseParticleEmitter ReferenceCount MemoryBase

List of all members.

Public Member Functions

 RectangleEmitter ()
 constructor
 RectangleEmitter (const RectangleEmitter &copy)
 copy constructor
virtual ~RectangleEmitter ()
 destructor
LPoint2 get_max_bound () const
 boundary get
LPoint2 get_min_bound () const
 boundary get
virtual BaseParticleEmittermake_copy ()
 copier
virtual void output (ostream &out) const
 Write a string representation of this instance to <out>.
void set_max_bound (const LPoint2 &vmax)
 boundary set
void set_min_bound (const LPoint2 &vmin)
 boundary set
virtual void write (ostream &out, int indent=0) const
 Write a string representation of this instance to <out>.

Detailed Description

Describes a planar square region in which particles are generated.

Definition at line 25 of file rectangleEmitter.h.


Constructor & Destructor Documentation

RectangleEmitter::RectangleEmitter ( )

constructor

Definition at line 23 of file rectangleEmitter.cxx.

Referenced by make_copy().

RectangleEmitter::RectangleEmitter ( const RectangleEmitter copy)

copy constructor

Definition at line 35 of file rectangleEmitter.cxx.

RectangleEmitter::~RectangleEmitter ( ) [virtual]

destructor

Definition at line 47 of file rectangleEmitter.cxx.


Member Function Documentation

LPoint2 RectangleEmitter::get_max_bound ( ) const [inline]

boundary get

Definition at line 51 of file rectangleEmitter.I.

LPoint2 RectangleEmitter::get_min_bound ( ) const [inline]

boundary get

Definition at line 41 of file rectangleEmitter.I.

BaseParticleEmitter * RectangleEmitter::make_copy ( ) [virtual]

copier

Implements BaseParticleEmitter.

Definition at line 56 of file rectangleEmitter.cxx.

References RectangleEmitter().

void RectangleEmitter::output ( ostream &  out) const [virtual]

Write a string representation of this instance to <out>.

Reimplemented from BaseParticleEmitter.

Definition at line 95 of file rectangleEmitter.cxx.

void RectangleEmitter::set_max_bound ( const LPoint2 vmax) [inline]

boundary set

Definition at line 31 of file rectangleEmitter.I.

void RectangleEmitter::set_min_bound ( const LPoint2 vmin) [inline]

boundary set

Definition at line 21 of file rectangleEmitter.I.

void RectangleEmitter::write ( ostream &  out,
int  indent = 0 
) const [virtual]

Write a string representation of this instance to <out>.

Reimplemented from BaseParticleEmitter.

Definition at line 108 of file rectangleEmitter.cxx.


The documentation for this class was generated from the following files:
 All Classes Functions Variables Enumerations