Panda3D
angularEulerIntegrator.h
Go to the documentation of this file.
1 /**
2  * PANDA 3D SOFTWARE
3  * Copyright (c) Carnegie Mellon University. All rights reserved.
4  *
5  * All use of this software is subject to the terms of the revised BSD
6  * license. You should have received a copy of this license along
7  * with this source code in a file named "LICENSE."
8  *
9  * @file angularEulerIntegrator.h
10  * @author charles
11  * @date 2000-08-09
12  */
13 
14 #ifndef ANGULAREULERINTEGRATOR_H
15 #define ANGULAREULERINTEGRATOR_H
16 
17 #include "angularIntegrator.h"
18 
19 /**
20  * Performs Euler integration on a vector of physically modelable objects
21  * given a quantum dt.
22  */
23 class EXPCL_PANDA_PHYSICS AngularEulerIntegrator : public AngularIntegrator {
24 PUBLISHED:
26  virtual ~AngularEulerIntegrator();
27 
28  virtual void output(std::ostream &out) const;
29  virtual void write(std::ostream &out, int indent=0) const;
30 
31 private:
32  virtual void child_integrate(Physical *physical,
33  AngularForceVector& forces,
34  PN_stdfloat dt);
35 };
36 
37 #endif // EULERINTEGRATOR_H
virtual void write(std::ostream &out, int indent=0) const
Write a string representation of this instance to <out>.
Performs Euler integration on a vector of physically modelable objects given a quantum dt.
virtual void output(std::ostream &out) const
Write a string representation of this instance to <out>.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
std::ostream & indent(std::ostream &out, int indent_level)
A handy function for doing text formatting.
Definition: indent.cxx:20
Defines a set of physically modeled attributes.
Definition: physical.h:37
Pure virtual base class for physical modeling.