Alternaria
fit cylinders and ellipsoids to fungus
Lateral_hypha_density Class Reference

Parameters for density functions over an Alternaria Lateral_hypha. More...

#include <hypha.h>

Inheritance diagram for Lateral_hypha_density:
Collaboration diagram for Lateral_hypha_density:

List of all members.

Public Member Functions

 Lateral_hypha_density () throw (jwscxx::base::Arg_error)
 Creates a Lateral_hypha_density initialized with default values.
Lateral_hypha_densityclone () const
 Clones this Lateral_hypha_density.
Lateral_hyphasample (float base_theta=0, float base_psi=0, size_t level=0) const
 Creates a random Lateral_hypha with no parent.
Lateral_hyphasample (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)
 Creates a random Lateral_hypha with no parent.
Lateral_hyphasample (Structure *parent, float base_theta=0, float base_psi=0) const throw (jwscxx::base::Arg_error)
 Creates a random Lateral_hypha with a parent.

Detailed Description

Parameters for density functions over an Alternaria Lateral_hypha.

Definition at line 530 of file hypha.h.


Constructor & Destructor Documentation

Lateral_hypha_density::Lateral_hypha_density ( ) throw (jwscxx::base::Arg_error)

Creates a Lateral_hypha_density initialized with default values.

Initializes with default values.

Exceptions:
jwscxx::base::Arg_errorLateral_hypha values are not in the density parameter ranges.

Definition at line 397 of file hypha.cpp.


Member Function Documentation

Lateral_hypha_density * Lateral_hypha_density::clone ( ) const [virtual]

Clones this Lateral_hypha_density.

Returns:
A pointer to a cloned Lateral_hypha_density.

Implements Lateral_structure_density.

Definition at line 451 of file hypha.cpp.

Lateral_hypha * Lateral_hypha_density::sample ( float  base_theta = 0,
float  base_psi = 0,
size_t  level = 0 
) const [virtual]

Creates a random Lateral_hypha with no parent.

Parameters:
base_thetaEuler angle: base rotation about the x-axis.
base_psiEuler angle: base rotation about the z-axis.
levelLevel of the hypha.
Returns:
A randomly sampled Lateral_hypha with no parent.

Implements Lateral_structure_density.

Definition at line 516 of file hypha.cpp.

Lateral_hypha * Lateral_hypha_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 Lateral_hypha with no parent.

Parameters:
centroid_xX-coord of the Lateral_hypha::centroid.
centroid_yY-coord of the Lateral_hypha::centroid.
centroid_zZ-coord of the Lateral_hypha::centroid.
base_thetaEuler angle: base rotation about the x-axis.
base_psiEuler angle: base rotation about the z-axis.
levelLevel of the hypha.
Exceptions:
jwscxx::base::Arg_errorApical_hypha values are not in the density parameter ranges.
Returns:
A randomly sampled Lateral_hypha with no parent.

Implements Lateral_structure_density.

Definition at line 544 of file hypha.cpp.

Lateral_hypha * Lateral_hypha_density::sample ( Structure parent,
float  base_theta = 0,
float  base_psi = 0 
) const throw (jwscxx::base::Arg_error) [virtual]

Creates a random Lateral_hypha with a parent.

Parameters:
parentParent of the Lateral_hypha to create.
base_thetaEuler angle: base rotation about the x-axis.
base_psiEuler angle: base rotation about the z-axis.
Exceptions:
jwscxx::base::Arg_errorApical_hypha values are not in the density parameter ranges.
Returns:
A randomly sampled Lateral_hypha with a parent.

Implements Lateral_structure_density.

Definition at line 572 of file hypha.cpp.


The documentation for this class was generated from the following files: