Alternaria
fit cylinders and ellipsoids to fungus
|
An apical Alternaria structure element that was printed to a file. More...
#include <structure.h>
Public Member Functions | |
virtual | ~Printed_apical_structure () |
Deletes this Printed_apical_structure. | |
virtual Apical_structure * | convert (Structure *parent) const =0 throw (jwscxx::base::Arg_error) |
Converts this Printed_apical_structure to an Apical_structure. | |
Apical_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_apical_structure and all its descendants to Structure. |
An apical Alternaria structure element that was printed to a file.
Contains ancestor and descendant IDs instead of pointers.
Definition at line 1207 of file structure.h.
virtual Printed_apical_structure::~Printed_apical_structure | ( | ) | [inline, virtual] |
Deletes this Printed_apical_structure.
Definition at line 1212 of file structure.h.
virtual Apical_structure* Printed_apical_structure::convert | ( | Structure * | parent | ) | const throw (jwscxx::base::Arg_error) [pure virtual] |
Converts this Printed_apical_structure to an Apical_structure.
Implements Printed_structure.
Implemented in Printed_apical_hypha, and Printed_spore.
Apical_structure * Printed_apical_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_apical_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_apical_structure to convert. Printed_apical_structure values are not in the density parameter ranges. |
Implements Printed_structure.
Definition at line 3168 of file structure.cpp.