Parameters for density functions over an Alternaria Spore.
More...
#include <spore.h>
List of all members.
Detailed Description
Parameters for density functions over an Alternaria Spore.
Definition at line 293 of file spore.h.
Constructor & Destructor Documentation
Creates a Spore_density initialized with default values.
Initializes with default values.
- Parameters:
-
dd_spores | DD_spore_set to use. Can be 0, in which case there are none. |
- Exceptions:
-
Definition at line 138 of file spore.cpp.
Member Function Documentation
Spore * Spore_density::sample |
( |
float |
base_theta = 0 , |
|
|
float |
base_psi = 0 , |
|
|
size_t |
level = 0 |
|
) |
| const [virtual] |
Creates a random Spore with no parent.
- Parameters:
-
base_theta | Euler angle: base rotation about the x-axis. |
base_psi | Euler angle: base rotation about the z-axis. |
level | Level of the Spore. |
- Returns:
- A randomly sampled Spore with no parent.
Implements Apical_structure_density.
Definition at line 246 of file spore.cpp.
Spore * Spore_density::sample |
( |
float |
centroid_x, |
|
|
float |
centroid_y, |
|
|
float |
centroid_z, |
|
|
float |
base_theta = 0 , |
|
|
float |
base_psi = 0 , |
|
|
size_t |
level = 0 |
|
) |
| const throw (jwscxx::base::Arg_error) [virtual] |
Creates a random Spore with a parent.
- Parameters:
-
parent | Parent of the Spore to create. |
base_theta | Euler angle: base rotation about the x-axis. |
base_psi | Euler angle: base rotation about the z-axis. |
- Exceptions:
-
- Returns:
- A randomly sampled Spore with a parent.
Implements Apical_structure_density.
Definition at line 297 of file spore.cpp.
const DD_spore_set* Spore_density::get_dd_spores |
( |
| ) |
const [inline] |
Retruns the DD_spore_set.
Definition at line 335 of file spore.h.
Member Data Documentation
Data-driven set of spores.
Definition at line 341 of file spore.h.
The documentation for this class was generated from the following files: