ImplicitSurfaceSet2.h
Go to the documentation of this file.
99 class ImplicitSurfaceSet2::Builder final : public SurfaceBuilderBase2<ImplicitSurfaceSet2::Builder>
std::shared_ptr< ImplicitSurfaceSet2 > ImplicitSurfaceSet2Ptr
Shared pointer type for the ImplicitSurfaceSet2.
Definition: ImplicitSurfaceSet2.h:94
void AddExplicitSurface(const Surface2Ptr &surface)
Adds an explicit surface instance.
void AddSurface(const ImplicitSurface2Ptr &surface)
Adds an implicit surface instance.
Transform2 transform
Local-to-world transform.
Definition: Surface2.h:36
Structure that represents ray-surface intersection point.
Definition: Surface2.h:23
Builder & WithSurfaces(const std::vector< ImplicitSurface2Ptr > &surfaces)
Returns builder with surfaces.
ImplicitSurfaceSet2 Build() const
Builds ImplicitSurfaceSet2.
Definition: pybind11Utils.h:24
Front-end to create ImplicitSurfaceSet2 objects step by step.
Definition: ImplicitSurfaceSet2.h:99
const ImplicitSurface2Ptr & SurfaceAt(size_t i) const
Returns the i-th implicit surface.
ImplicitSurfaceSet2Ptr MakeShared() const
Builds shared pointer of ImplicitSurfaceSet2 instance.
void UpdateQueryEngine() override
Updates internal spatial query engine.
size_t NumberOfSurfaces() const
Returns the number of implicit surfaces.
std::shared_ptr< ImplicitSurface2 > ImplicitSurface2Ptr
Shared pointer type for the ImplicitSurface2.
Definition: ImplicitSurface2.h:43
Builder & WithExplicitSurfaces(const std::vector< Surface2Ptr > &surfaces)
Returns builder with explicit surfaces.
static Builder GetBuilder()
Returns builder fox ImplicitSurfaceSet2.
Abstract base class for 2-D implicit surface.
Definition: ImplicitSurface2.h:17
ImplicitSurfaceSet2()
Constructs an empty implicit surface set.
std::shared_ptr< Surface2 > Surface2Ptr
Shared pointer for the Surface2 type.
Definition: Surface2.h:100