KJB
|
#include <psi_weighted_box.h>
Public Types | |
typedef Cuboid | Base |
Public Member Functions | |
Weighted_box () | |
Weighted_box (const kjb::Vector &position, double rotation, const kjb::Vector &size, double mass) | |
double | get_mass () const |
void | set_mass (double mass) |
double | get (size_t i) const |
void | set (size_t i, double value) |
Public Member Functions inherited from kjb::psi::Cuboid | |
Cuboid () | |
Cuboid (const Vector ¢er, const Vector &size, const Quaternion &orientation) | |
const Vector & | get_center () const |
const Vector & | get_size () const |
const Quaternion & | get_orientation () const |
void | set_center (const Vector ¢er) |
void | set_size (const Vector &size) |
void | set_orientation (const Quaternion &orientation) |
Static Public Member Functions | |
static size_t | size () |
static Unit_type | get_units (size_t i) |
Friends | |
std::ostream & | operator<< (std::ostream &ost, const Weighted_box &box) |
std::istream & | operator>> (std::istream &ist, Weighted_box &box) |
Additional Inherited Members | |
Protected Attributes inherited from kjb::psi::Cuboid | |
Vector | center_ |
Vector | size_ |
Quaternion | orientation_ |
Representation of a physical box, for simulation
typedef Cuboid kjb::psi::Weighted_box::Base |
|
inline |
|
inline |
|
inline |
getter method for sampler
|
inline |
|
inlinestatic |
|
inline |
setter interface for sampler
|
inline |
|
inlinestatic |
|
friend |
|
friend |