creaContours_lib
|
#include <OutlineModelBuilder.h>
Public Member Functions | |
OutlineModelBuilder (std::string conceptsFile, std::string datadir="data") | |
~OutlineModelBuilder () | |
SomeEnvironment < ImageSourceThing * > * | getImSourceEnv () |
SomeEnvironment < ImageSectionThing * > * | getImSectionEnv () |
SomeEnvironment< AxeThing * > * | getAxesEnv () |
SomeEnvironment< ContourThing * > * | getContourEnv () |
void | buildImageSource_Envornment (std::string sourcesFile, std::map< std::string, ImageSourceThing * > *sources) |
void | buildImageSection_Envornment (std::string sectionsFile, std::map< std::string, ImageSectionThing * > *sections) |
void | buildAxe_Envornment (std::string axesFile, std::map< std::string, AxeThing * > *axes) |
void | buildCountour_Envornment (std::string outlinesFile, std::map< std::string, ContourThing * > *outlines) |
Private Attributes | |
ReaderEnvironment< AxeThing * > * | axesEnv_Reader |
ReaderEnvironment < ImageSectionThing * > * | imagesSectionEnv_Reader |
ReaderEnvironment < ImageSourceThing * > * | imageSourceEnv_Reader |
ReaderEnvironment < ContourThing * > * | outlinesEnv_Reader |
std::string | conceptsFile |
std::string | imagesSectionEnvOtherConceptsFN |
std::string | outlinesEnvOtherConceptsFN |
std::string | axesEnvOtherConceptsFN |
Definition at line 47 of file OutlineModelBuilder.h.
OutlineModelBuilder::OutlineModelBuilder | ( | std::string | theConceptsFile, |
std::string | datadir = "data" |
||
) |
Creates an OutlineModelBuilder @ param filesNames Paired set of files with the names of the files to read ConceptsFileName, ImageSourcesFile, ImageSectionsFile, AxeThingsFile, ContoursFile @ param sources Paired set of sourceKeyName-ImageSourceThing @ param sections Paired set of sectionKeyName-ImageSectionThing @ param axes Paired set of axeKeyName-AxeThing @ param outlines Paired set of contoKeyName-ContourThing
Creates an OutlineModelBuilder @ param filesNames Paired set of files with the names of the files to read ConceptsFile, ImageSourcesFile, ImageSectionsFile, AxeThingsFile, ContoursFile @ param sources Paired set of sourceKeyName-ImageSourceThing @ param sections Paired set of sectionKeyName-ImageSectionThing @ param axes Paired set of axeKeyName-AxeThing @ param outlines Paired set of contoKeyName-ContourThing
Definition at line 49 of file OutlineModelBuilder.cxx.
References axesEnv_Reader, axesEnvOtherConceptsFN, conceptsFile, imageSourceEnv_Reader, imagesSectionEnv_Reader, imagesSectionEnvOtherConceptsFN, outlinesEnv_Reader, and outlinesEnvOtherConceptsFN.
OutlineModelBuilder::~OutlineModelBuilder | ( | ) |
Destroys an AxeThing
Definition at line 64 of file OutlineModelBuilder.cxx.
References axesEnv_Reader, imageSourceEnv_Reader, imagesSectionEnv_Reader, and outlinesEnv_Reader.
void OutlineModelBuilder::buildAxe_Envornment | ( | std::string | axesFile, |
std::map< std::string, AxeThing * > * | axes | ||
) |
Builds the AxeThing * environment
axesFile | File path with the object key names and specific instants for each one |
axes | The axes to include in the enivorment |
Definition at line 138 of file OutlineModelBuilder.cxx.
References axesEnv_Reader, axesEnvOtherConceptsFN, and conceptsFile.
Referenced by KernelManagerContour::initializeEnvironment().
void OutlineModelBuilder::buildCountour_Envornment | ( | std::string | outlinesFile, |
std::map< std::string, ContourThing * > * | outlines | ||
) |
Builds the CountourThing * environment
outlinesFile | File path with the object key names and specific instants for each one |
outlines | The outlines to include in the enivorment |
Definition at line 149 of file OutlineModelBuilder.cxx.
References conceptsFile, outlinesEnv_Reader, and outlinesEnvOtherConceptsFN.
Referenced by KernelManagerContour::initializeEnvironment().
void OutlineModelBuilder::buildImageSection_Envornment | ( | std::string | sectionsFile, |
std::map< std::string, ImageSectionThing * > * | sections | ||
) |
Builds the ImageSectionThing * environment
sectionsFile | File path with the object key names and specific instants for each one |
sections | The sections to include in the enivorment |
Definition at line 126 of file OutlineModelBuilder.cxx.
References conceptsFile, imagesSectionEnv_Reader, and imagesSectionEnvOtherConceptsFN.
Referenced by KernelManagerContour::initializeEnvironment().
void OutlineModelBuilder::buildImageSource_Envornment | ( | std::string | sourcesFile, |
std::map< std::string, ImageSourceThing * > * | sources | ||
) |
Builds the ImageSourceThing * environment
sourcesFile | File path with the object key names and specific instants for each one |
sources | The sources to include in the enivorment |
Definition at line 114 of file OutlineModelBuilder.cxx.
References conceptsFile, and imageSourceEnv_Reader.
Referenced by KernelManagerContour::initializeEnvironment().
SomeEnvironment< AxeThing * > * OutlineModelBuilder::getAxesEnv | ( | ) |
Gets the AxeThing environment
AxesEnv |
Definition at line 95 of file OutlineModelBuilder.cxx.
References axesEnv_Reader.
Referenced by KernelManagerContour::initializeEnvironment().
SomeEnvironment< ContourThing * > * OutlineModelBuilder::getContourEnv | ( | ) |
Gets the ContourThing environment
ContourEnv |
Definition at line 103 of file OutlineModelBuilder.cxx.
References outlinesEnv_Reader.
Referenced by KernelManagerContour::initializeEnvironment().
SomeEnvironment< ImageSectionThing * > * OutlineModelBuilder::getImSectionEnv | ( | ) |
Gets the ImageSectionThing environment
imSectionEnv |
Definition at line 87 of file OutlineModelBuilder.cxx.
References imagesSectionEnv_Reader.
Referenced by KernelManagerContour::initializeEnvironment().
SomeEnvironment< ImageSourceThing * > * OutlineModelBuilder::getImSourceEnv | ( | ) |
Gets the ImageSourceThing environment
ImSourceEnv |
Definition at line 79 of file OutlineModelBuilder.cxx.
References imageSourceEnv_Reader.
Referenced by KernelManagerContour::initializeEnvironment().
|
private |
Represents the environment builder based of reading files of axes
Definition at line 129 of file OutlineModelBuilder.h.
Referenced by buildAxe_Envornment(), getAxesEnv(), OutlineModelBuilder(), and ~OutlineModelBuilder().
|
private |
Definition at line 155 of file OutlineModelBuilder.h.
Referenced by buildAxe_Envornment(), and OutlineModelBuilder().
|
private |
Definition at line 149 of file OutlineModelBuilder.h.
Referenced by buildAxe_Envornment(), buildCountour_Envornment(), buildImageSection_Envornment(), buildImageSource_Envornment(), and OutlineModelBuilder().
|
private |
Represents the environment builder based of reading files of source images (Generally a complete volume data per image)
Definition at line 139 of file OutlineModelBuilder.h.
Referenced by buildImageSource_Envornment(), getImSourceEnv(), OutlineModelBuilder(), and ~OutlineModelBuilder().
|
private |
Represents the environment builder based of reading files of section images
Definition at line 134 of file OutlineModelBuilder.h.
Referenced by buildImageSection_Envornment(), getImSectionEnv(), OutlineModelBuilder(), and ~OutlineModelBuilder().
|
private |
Definition at line 151 of file OutlineModelBuilder.h.
Referenced by buildImageSection_Envornment(), and OutlineModelBuilder().
|
private |
Represents the environment builder based of reading files of outlines (outlines)
Definition at line 144 of file OutlineModelBuilder.h.
Referenced by buildCountour_Envornment(), getContourEnv(), OutlineModelBuilder(), and ~OutlineModelBuilder().
|
private |
Definition at line 153 of file OutlineModelBuilder.h.
Referenced by buildCountour_Envornment(), and OutlineModelBuilder().