ImplicitTriangleMesh3.h
Go to the documentation of this file.
74 class ImplicitTriangleMesh3::Builder final : public SurfaceBuilderBase3<ImplicitTriangleMesh3::Builder>
std::shared_ptr< VertexCenteredScalarGrid3 > VertexCenteredScalarGrid3Ptr
Shared pointer for the VertexCenteredScalarGrid3 type.
Definition: VertexCenteredScalarGrid3.h:83
std::shared_ptr< CustomImplicitSurface3 > CustomImplicitSurface3Ptr
Shared pointer type for the CustomImplicitSurface3.
Definition: CustomImplicitSurface3.h:73
Builder & WithResolutionX(size_t resolutionX)
Returns builder with resolution in x axis.
virtual ~ImplicitTriangleMesh3()
Structure that represents ray-surface intersection point.
Definition: Surface3.h:23
const VertexCenteredScalarGrid3Ptr & GetGrid() const
Returns grid data.
Definition: pybind11Utils.h:24
std::shared_ptr< TriangleMesh3 > TriangleMesh3Ptr
Shared pointer for the TriangleMesh3 type.
Definition: TriangleMesh3.h:228
Builder & WithTriangleMesh(const TriangleMesh3Ptr &mesh)
Returns builder with triangle mesh.
Transform3 transform
Local-to-world transform.
Definition: Surface3.h:36
ImplicitTriangleMesh3(const TriangleMesh3Ptr &mesh, size_t resolutionX, double margin, const Transform3 &transform=Transform3(), bool isNormalFlipped=false)
bool isNormalFlipped
Flips normal when calling Surface3::closestNormal(...).
Definition: Surface3.h:39
Abstract base class for 3-D implicit surface.
Definition: ImplicitSurface3.h:17
static Builder GetBuilder()
Returns builder fox ImplicitTriangleMesh3.
TriangleMesh3 to ImplicitSurface3 converter.
Definition: ImplicitTriangleMesh3.h:28
ImplicitTriangleMesh3Ptr MakeShared() const
Builds shared pointer of ImplicitTriangleMesh3 instance.
Builder & WithMargin(double margin)
Returns builder with margin around the mesh.
ImplicitTriangleMesh3 Build() const
Builds ImplicitTriangleMesh3.
std::shared_ptr< ImplicitTriangleMesh3 > ImplicitTriangleMesh3Ptr
Shared pointer for the ImplicitTriangleMesh3 type.
Definition: ImplicitTriangleMesh3.h:69
Front-end to create ImplicitTriangleMesh3 objects step by step.
Definition: ImplicitTriangleMesh3.h:74