![]() |
MoCSI API Reference
|
Class that manages the creation of the ShapeBase object, which is used by GridFactory. Supports loading of shape models from files through VTK, if it is installed. More...
#include <ShapeFactory.h>

Public Member Functions | |
| ShapeFactory (SimulationClassBase< T > *sim, bool shape_file, const std::string &dimension) | |
| Creator of a ShapeFactory. Invokes creation routine. | |
| std::shared_ptr< ShapeBase< T > > | getShapePtr () |
Class that manages the creation of the ShapeBase object, which is used by GridFactory. Supports loading of shape models from files through VTK, if it is installed.
| ShapeFactory< T >::ShapeFactory | ( | SimulationClassBase< T > * | sim, |
| bool | shape_file, | ||
| const std::string & | dimension | ||
| ) |
Creator of a ShapeFactory. Invokes creation routine.
| sim | The simulation class pointer. |
| shape_file | If a shape_file should be loaded or not. |
| dimension | Dimension of the simulation environment, either 1D/2D/3D. |