Alternaria
fit cylinders and ellipsoids to fungus
|
A lateral Alternaria structure element that was printed to a file. More...
#include <structure.h>
Public Member Functions | |
virtual | ~Printed_lateral_structure () |
Deletes this Printed_lateral_structure. | |
virtual Lateral_structure * | convert (Structure *parent) const =0 throw (jwscxx::base::Arg_error) |
Converts this Printed_lateral_structure to a Lateral_structure. | |
Lateral_structure * | recursively_convert (Structure *parent, std::list< class Printed_apical_structure * >::const_iterator apical_begin, std::list< class Printed_apical_structure * >::const_iterator apical_end, std::list< class Printed_lateral_structure * >::const_iterator lateral_begin, std::list< class Printed_lateral_structure * >::const_iterator lateral_end) const throw (jwscxx::base::Arg_error) |
Recursively converts this Printed_lateral_structure and all its descendants to Structure. | |
Protected Member Functions | |
void | read_lat_dist (std::istream &in) throw (jwscxx::base::IO_error, jwscxx::base::Arg_error) |
Reads the lateral distance. | |
Protected Attributes | |
float | lat_dist |
See Lateral_structure::lat_dist. |
A lateral Alternaria structure element that was printed to a file.
Contains ancestor and descendant IDs instead of pointers.
Definition at line 1491 of file structure.h.
virtual Printed_lateral_structure::~Printed_lateral_structure | ( | ) | [inline, virtual] |
Deletes this Printed_lateral_structure.
Definition at line 1496 of file structure.h.
virtual Lateral_structure* Printed_lateral_structure::convert | ( | Structure * | parent | ) | const throw (jwscxx::base::Arg_error) [pure virtual] |
Converts this Printed_lateral_structure to a Lateral_structure.
Implements Printed_structure.
Implemented in Printed_lateral_hypha.
Lateral_structure * Printed_lateral_structure::recursively_convert | ( | Structure * | parent, |
std::list< class Printed_apical_structure * >::const_iterator | apical_begin, | ||
std::list< class Printed_apical_structure * >::const_iterator | apical_end, | ||
std::list< class Printed_lateral_structure * >::const_iterator | lateral_begin, | ||
std::list< class Printed_lateral_structure * >::const_iterator | lateral_end | ||
) | const throw (jwscxx::base::Arg_error) [virtual] |
Recursively converts this Printed_lateral_structure and all its descendants to Structure.
The descendants are created from the list specifed by the begin and end iterators.
parent | Parent Structure. Use 0 for root. |
apical_begin | Iterator pointing to the first Printed_apical_structure used in converting. |
apical_end | Iterator pointing to the last Printed_apical_structure used in converting. |
lateral_begin | Iterator pointing to the first Printed_lateral_structure used in converting. |
lateral_end | Iterator pointing to the last Printed_lateral_structure used in converting. |
jwscxx::base::Arg_error | The list of Printed_structure are missing one or more of the descendants of this Printed_lateral_structure to convert. Printed_lateral_structure values are not in the density parameter ranges. |
Implements Printed_structure.
Definition at line 3765 of file structure.cpp.
void Printed_lateral_structure::read_lat_dist | ( | std::istream & | in | ) | throw (jwscxx::base::IO_error, jwscxx::base::Arg_error) [protected] |
Reads the lateral distance.
in | Input stream to read from. |
jwscxx::base::Arg_error | A member is not properly formatted or missing a value. |
jwscxx::base::IO_error | Could not read a line from the input stream. |
Definition at line 3722 of file structure.cpp.
float Printed_lateral_structure::lat_dist [protected] |
See Lateral_structure::lat_dist.
Definition at line 1535 of file structure.h.