SpherePackingScenarioGenerator
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Public Attributes
algorithms::AbstractSpherePacking Class Reference

#include <AbstractSpherePacking.h>

Inheritance diagram for algorithms::AbstractSpherePacking:
Inheritance graph
[legend]
Collaboration diagram for algorithms::AbstractSpherePacking:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 AbstractSpherePacking ()
 AbstractSpherePacking (unsigned int numberOfSpheres, double radius)
void appendSpheres (std::vector< algorithms::geometries::SphereGeometry > &additionalSpheres)
virtual void generate ()=0
unsigned int getMaxSphereScaling () const
unsigned int getNumberOfSpheres () const
double getRadius () const
void getSpherePositionsAsDoubleArray (double *array, unsigned int size) const
void getSpherePositionsAsSTDVector (std::vector< double > &sphereAttributeVector) const
const std::vector
< algorithms::geometries::SphereGeometry > & 
getSpheres ()
virtual bool isValid () const
void plotListOfSpheres () const
void setMaxSphereScaling (double number)
void setNumberOfSpheres (unsigned int number)
virtual ~AbstractSpherePacking ()

Public Attributes

unsigned int _numberOfSpheres
double _radius
std::vector
< algorithms::geometries::SphereGeometry
_spheres

Constructor & Destructor Documentation

algorithms::AbstractSpherePacking::AbstractSpherePacking ( unsigned int  numberOfSpheres,
double  radius 
)

Member Function Documentation

virtual void algorithms::AbstractSpherePacking::generate ( ) [pure virtual]

Gets the number of spheres

Returns:
the number of spheres
void algorithms::AbstractSpherePacking::getSpherePositionsAsDoubleArray ( double *  array,
unsigned int  size 
) const
void algorithms::AbstractSpherePacking::getSpherePositionsAsSTDVector ( std::vector< double > &  sphereAttributeVector) const

Member Data Documentation


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines