CellCenteredScalarGrid3.h
Go to the documentation of this file.
std::shared_ptr< ScalarGrid3 > Clone() const override
Returns the copy of the grid instance.
std::shared_ptr< CellCenteredScalarGrid3 > CellCenteredScalarGrid3Ptr
Shared pointer for the CellCenteredScalarGrid3 type.
Definition: CellCenteredScalarGrid3.h:83
Builder & WithResolution(const Size3 &resolution)
Returns builder with resolution.
3-D Cell-centered scalar grid structure.
Definition: CellCenteredScalarGrid3.h:24
Builder & WithOrigin(const Vector3D &gridOrigin)
Returns builder with grid origin.
static Builder GetBuilder()
Returns builder fox CellCenteredScalarGrid3.
std::shared_ptr< ScalarGrid3 > ScalarGrid3Ptr
Shared pointer for the ScalarGrid3 type.
Definition: ScalarGrid3.h:179
Vector3D GetDataOrigin() const override
Abstract base class for 3-D scalar grid builder.
Definition: ScalarGrid3.h:182
CellCenteredScalarGrid3()
Constructs zero-sized grid.
Definition: pybind11Utils.h:24
void Swap(Grid3 *other) override
Swaps the contents with the given other grid.
Builder & WithGridSpacing(const Vector3D &gridSpacing)
Returns builder with grid spacing.
void Set(const CellCenteredScalarGrid3 &other)
Sets the contents with the given other grid.
Abstract base class for 3-D scalar grid structure.
Definition: ScalarGrid3.h:21
CellCenteredScalarGrid3 & operator=(const CellCenteredScalarGrid3 &other)
Sets the contents with the given other grid.
CellCenteredScalarGrid3 Build() const
Builds CellCenteredScalarGrid3 instance.
Size3 GetDataSize() const override
Returns the actual data point size.
Front-end to create CellCenteredScalarGrid3 objects step by step.
Definition: CellCenteredScalarGrid3.h:88
CellCenteredScalarGrid3Ptr MakeShared() const
Builds shared pointer of CellCenteredScalarGrid3 instance.
Builder & WithInitialValue(double initialVal)
Returns builder with initial value.