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