Loading...
Searching...
No Matches
CubbyFlow::ImplicitTriangleMesh3 Class Referencefinal
TriangleMesh3 to ImplicitSurface3 converter. More...
#include <Core/Geometry/ImplicitTriangleMesh3.hpp>
Inheritance diagram for CubbyFlow::ImplicitTriangleMesh3:
Classes | |
| class | Builder |
| Front-end to create ImplicitTriangleMesh3 objects step by step. More... | |
Static Public Member Functions | |
| static Builder | GetBuilder () |
| Returns builder fox ImplicitTriangleMesh3. | |
Additional Inherited Members | |
Public Attributes inherited from CubbyFlow::Surface< N > | |
| Transform< N > | transform |
| Local-to-world transform. | |
| bool | isNormalFlipped = false |
| Flips normal. | |
Protected Member Functions inherited from CubbyFlow::ImplicitSurface< N > | |
| virtual double | SignedDistanceLocal (const Vector< double, N > &otherPoint) const =0 |
Protected Member Functions inherited from CubbyFlow::Surface< N > | |
| virtual Vector< double, N > | ClosestPointLocal (const Vector< double, N > &otherPoint) const =0 |
| virtual SurfaceRayIntersection< N > | ClosestIntersectionLocal (const Ray< double, N > &ray) const =0 |
Returns the closest intersection point for given ray in local frame. | |
| virtual Vector< double, N > | ClosestNormalLocal (const Vector< double, N > &otherPoint) const =0 |
| virtual bool | IntersectsLocal (const Ray< double, N > &ray) const |
| virtual bool | IsInsideLocal (const Vector< double, N > &otherPoint) const |
Detailed Description
TriangleMesh3 to ImplicitSurface3 converter.
This class builds signed-distance field for given TriangleMesh3 instance so that it can be used as an ImplicitSurface3 instance. The mesh is discretized into a regular grid and the signed-distance is measured at each grid point. Thus, there is a sampling error and its magnitude depends on the grid resolution.
Constructor & Destructor Documentation
◆ ImplicitTriangleMesh3() [1/3]
|
explicit |
Constructs an ImplicitSurface3 with mesh and other grid parameters.
◆ ImplicitTriangleMesh3() [2/3]
|
default |
Default copy constructor.
◆ ImplicitTriangleMesh3() [3/3]
|
defaultnoexcept |
Default move constructor.
◆ ~ImplicitTriangleMesh3()
|
overridedefault |
Default virtual destructor.
Member Function Documentation
◆ GetBuilder()
Returns builder fox ImplicitTriangleMesh3.
◆ GetGrid()
| const VertexCenteredScalarGrid3Ptr & CubbyFlow::ImplicitTriangleMesh3::GetGrid | ( | ) | const |
Returns grid data.
◆ operator=() [1/2]
|
default |
Default copy assignment operator.
◆ operator=() [2/2]
|
defaultnoexcept |
Default move assignment operator.
The documentation for this class was generated from the following file:
- Core/Geometry/ImplicitTriangleMesh3.hpp
Public Member Functions inherited from
1.9.8