Alternaria
fit cylinders and ellipsoids to fungus
hypha.cpp File Reference

Alternaria Apical_hypha, Lateral_hypha, Apical_hypha_density, and Lateral_hypha_density classes. More...

#include <config.h>
#include <cassert>
#include <cmath>
#include <cstring>
#include <iostream>
#include <sstream>
#include <list>
#include <vector>
#include <inttypes.h>
#include <jwsc/base/limits.h>
#include <jwsc/math/constants.h>
#include <jwsc/prob/pdf.h>
#include <jwsc/vector/vector.h>
#include <jwsc/vector/vector_math.h>
#include <jwsc/matrix/matrix.h>
#include <jwsc/matrix/matrix_math.h>
#include <jwsc/matblock/matblock.h>
#include <jwsc++/base/exception.h>
#include "density.h"
#include "printable.h"
#include "structure.h"
#include "spore.h"
#include "hypha.h"

Go to the source code of this file.

Defines

#define CENTROID_X_MIN   0
#define CENTROID_X_MAX   0
#define CENTROID_Y_MIN   0
#define CENTROID_Y_MAX   0
#define CENTROID_Z_MIN   0
#define CENTROID_Z_MAX   0
#define APICAL_LENGTH_MU   15.0f
#define APICAL_LENGTH_SIGMA   1.0f
#define APICAL_LENGTH_MIN   10.f
#define APICAL_LENGTH_MAX   100.0f
#define LATERAL_LENGTH_MU   15.0f
#define LATERAL_LENGTH_SIGMA   1.0f
#define LATERAL_LENGTH_MIN   10.f
#define LATERAL_LENGTH_MAX   100.0f
#define APICAL_WIDTH_MU   6.0f
#define APICAL_WIDTH_SIGMA   0.3f
#define APICAL_WIDTH_MIN   1.0f
#define APICAL_WIDTH_MAX   20.0f
#define APICAL_DWIDTH_SIGMA   0.05f
#define APICAL_DWIDTH_MIN   -2.0f
#define APICAL_DWIDTH_MAX   2.0f
#define LATERAL_WIDTH_MU   6.0f
#define LATERAL_WIDTH_SIGMA   0.3f
#define LATERAL_WIDTH_MIN   1.0f
#define LATERAL_WIDTH_MAX   20.0f
#define APICAL_THETA_MU   0
#define APICAL_THETA_SIGMA   0.2f
#define APICAL_THETA_MIN   0
#define APICAL_THETA_MAX   JWSC_PI
#define LATERAL_THETA_MU   JWSC_PI_4
#define LATERAL_THETA_SIGMA   0.2f
#define LATERAL_THETA_MIN   0
#define LATERAL_THETA_MAX   JWSC_PI
#define PSI_MIN   -JWSC_PI
#define PSI_MAX   JWSC_PI
#define OPACITY_MU   0.9f
#define OPACITY_SIGMA   0.2f
#define OPACITY_MIN   0.1f
#define OPACITY_MAX   1.0f
#define LAT_DIST_MU   0.5f
#define LAT_DIST_SIGMA   0.1f
#define LAT_DIST_MIN   0
#define LAT_DIST_MAX   1.0f

Detailed Description


Define Documentation

#define CENTROID_X_MIN   0

Definition at line 85 of file hypha.cpp.

#define CENTROID_X_MAX   0

Definition at line 86 of file hypha.cpp.

#define CENTROID_Y_MIN   0

Definition at line 88 of file hypha.cpp.

#define CENTROID_Y_MAX   0

Definition at line 89 of file hypha.cpp.

#define CENTROID_Z_MIN   0

Definition at line 91 of file hypha.cpp.

#define CENTROID_Z_MAX   0

Definition at line 92 of file hypha.cpp.

#define APICAL_LENGTH_MU   15.0f

Definition at line 94 of file hypha.cpp.

#define APICAL_LENGTH_SIGMA   1.0f

Definition at line 95 of file hypha.cpp.

#define APICAL_LENGTH_MIN   10.f

Definition at line 96 of file hypha.cpp.

#define APICAL_LENGTH_MAX   100.0f

Definition at line 97 of file hypha.cpp.

#define LATERAL_LENGTH_MU   15.0f

Definition at line 99 of file hypha.cpp.

#define LATERAL_LENGTH_SIGMA   1.0f

Definition at line 100 of file hypha.cpp.

#define LATERAL_LENGTH_MIN   10.f

Definition at line 101 of file hypha.cpp.

#define LATERAL_LENGTH_MAX   100.0f

Definition at line 102 of file hypha.cpp.

#define APICAL_WIDTH_MU   6.0f

Definition at line 104 of file hypha.cpp.

#define APICAL_WIDTH_SIGMA   0.3f

Definition at line 105 of file hypha.cpp.

#define APICAL_WIDTH_MIN   1.0f

Definition at line 106 of file hypha.cpp.

#define APICAL_WIDTH_MAX   20.0f

Definition at line 107 of file hypha.cpp.

#define APICAL_DWIDTH_SIGMA   0.05f

Definition at line 109 of file hypha.cpp.

#define APICAL_DWIDTH_MIN   -2.0f

Definition at line 110 of file hypha.cpp.

#define APICAL_DWIDTH_MAX   2.0f

Definition at line 111 of file hypha.cpp.

#define LATERAL_WIDTH_MU   6.0f

Definition at line 113 of file hypha.cpp.

#define LATERAL_WIDTH_SIGMA   0.3f

Definition at line 114 of file hypha.cpp.

#define LATERAL_WIDTH_MIN   1.0f

Definition at line 115 of file hypha.cpp.

#define LATERAL_WIDTH_MAX   20.0f

Definition at line 116 of file hypha.cpp.

#define APICAL_THETA_MU   0

Definition at line 118 of file hypha.cpp.

#define APICAL_THETA_SIGMA   0.2f

Definition at line 119 of file hypha.cpp.

#define APICAL_THETA_MIN   0

Definition at line 120 of file hypha.cpp.

#define APICAL_THETA_MAX   JWSC_PI

Definition at line 121 of file hypha.cpp.

#define LATERAL_THETA_MU   JWSC_PI_4

Definition at line 123 of file hypha.cpp.

#define LATERAL_THETA_SIGMA   0.2f

Definition at line 124 of file hypha.cpp.

#define LATERAL_THETA_MIN   0

Definition at line 125 of file hypha.cpp.

#define LATERAL_THETA_MAX   JWSC_PI

Definition at line 126 of file hypha.cpp.

#define PSI_MIN   -JWSC_PI

Definition at line 128 of file hypha.cpp.

#define PSI_MAX   JWSC_PI

Definition at line 129 of file hypha.cpp.

#define OPACITY_MU   0.9f

Definition at line 131 of file hypha.cpp.

#define OPACITY_SIGMA   0.2f

Definition at line 132 of file hypha.cpp.

#define OPACITY_MIN   0.1f

Definition at line 133 of file hypha.cpp.

#define OPACITY_MAX   1.0f

Definition at line 134 of file hypha.cpp.

#define LAT_DIST_MU   0.5f

Definition at line 136 of file hypha.cpp.

#define LAT_DIST_SIGMA   0.1f

Definition at line 137 of file hypha.cpp.

#define LAT_DIST_MIN   0

Definition at line 138 of file hypha.cpp.

#define LAT_DIST_MAX   1.0f

Definition at line 139 of file hypha.cpp.