CubbyFlow::ImplicitSurfaceSet3 Class Referencefinal

3-D implicit surface set. More...

#include <Core/Surface/ImplicitSurfaceSet3.h>

Inheritance diagram for CubbyFlow::ImplicitSurfaceSet3:
CubbyFlow::ImplicitSurface3 CubbyFlow::Surface3

Classes

class  Builder
 Front-end to create ImplicitSurfaceSet3 objects step by step. More...
 

Public Member Functions

 ImplicitSurfaceSet3 ()
 Constructs an empty implicit surface set. More...
 
 ImplicitSurfaceSet3 (const std::vector< ImplicitSurface3Ptr > &surfaces, const Transform3 &transform=Transform3(), bool isNormalFlipped=false)
 Constructs an implicit surface set using list of other surfaces. More...
 
 ImplicitSurfaceSet3 (const std::vector< Surface3Ptr > &surfaces, const Transform3 &transform=Transform3(), bool isNormalFlipped=false)
 Constructs an implicit surface set using list of other surfaces. More...
 
 ImplicitSurfaceSet3 (const ImplicitSurfaceSet3 &other)
 Copy constructor. More...
 
void UpdateQueryEngine () override
 Updates internal spatial query engine. More...
 
size_t NumberOfSurfaces () const
 Returns the number of implicit surfaces. More...
 
const ImplicitSurface3PtrSurfaceAt (size_t i) const
 Returns the i-th implicit surface. More...
 
void AddExplicitSurface (const Surface3Ptr &surface)
 Adds an explicit surface instance. More...
 
void AddSurface (const ImplicitSurface3Ptr &surface)
 Adds an implicit surface instance. More...
 
- Public Member Functions inherited from CubbyFlow::ImplicitSurface3
 ImplicitSurface3 (const Transform3 &transform=Transform3(), bool isNormalFlipped=false)
 Default constructor. More...
 
 ImplicitSurface3 (const ImplicitSurface3 &other)
 Copy constructor. More...
 
virtual ~ImplicitSurface3 ()
 Default destructor. More...
 
double SignedDistance (const Vector3D &otherPoint) const
 Returns signed distance from the given point otherPoint. More...
 
- Public Member Functions inherited from CubbyFlow::Surface3
 Surface3 (const Transform3 &transform=Transform3(), bool isNormalFlipped=false)
 Constructs a surface with normal direction. More...
 
 Surface3 (const Surface3 &other)
 Copy constructor. More...
 
virtual ~Surface3 ()
 Default destructor. More...
 
Vector3D ClosestPoint (const Vector3D &otherPoint) const
 Returns the closest point from the given point otherPoint to the surface. More...
 
BoundingBox3D BoundingBox () const
 Returns the bounding box of this surface object. More...
 
bool Intersects (const Ray3D &ray) const
 Returns true if the given ray intersects with this surface object. More...
 
double ClosestDistance (const Vector3D &otherPoint) const
 
SurfaceRayIntersection3 ClosestIntersection (const Ray3D &ray) const
 Returns the closest intersection point for given ray. More...
 
Vector3D ClosestNormal (const Vector3D &otherPoint) const
 

Static Public Member Functions

static Builder GetBuilder ()
 Returns builder for ImplicitSurfaceSet3. More...
 

Additional Inherited Members

- Public Attributes inherited from CubbyFlow::Surface3
Transform3 transform
 Local-to-world transform. More...
 
bool isNormalFlipped = false
 Flips normal when calling Surface3::closestNormal(...). More...
 

Detailed Description

3-D implicit surface set.

This class represents 3-D implicit surface set which extends ImplicitSurface3 by overriding implicit surface-related queries. This is class can hold a collection of other implicit surface instances.

Constructor & Destructor Documentation

◆ ImplicitSurfaceSet3() [1/4]

CubbyFlow::ImplicitSurfaceSet3::ImplicitSurfaceSet3 ( )

Constructs an empty implicit surface set.

◆ ImplicitSurfaceSet3() [2/4]

CubbyFlow::ImplicitSurfaceSet3::ImplicitSurfaceSet3 ( const std::vector< ImplicitSurface3Ptr > &  surfaces,
const Transform3 transform = Transform3(),
bool  isNormalFlipped = false 
)

Constructs an implicit surface set using list of other surfaces.

◆ ImplicitSurfaceSet3() [3/4]

CubbyFlow::ImplicitSurfaceSet3::ImplicitSurfaceSet3 ( const std::vector< Surface3Ptr > &  surfaces,
const Transform3 transform = Transform3(),
bool  isNormalFlipped = false 
)

Constructs an implicit surface set using list of other surfaces.

◆ ImplicitSurfaceSet3() [4/4]

CubbyFlow::ImplicitSurfaceSet3::ImplicitSurfaceSet3 ( const ImplicitSurfaceSet3 other)

Copy constructor.

Member Function Documentation

◆ AddExplicitSurface()

void CubbyFlow::ImplicitSurfaceSet3::AddExplicitSurface ( const Surface3Ptr surface)

Adds an explicit surface instance.

◆ AddSurface()

void CubbyFlow::ImplicitSurfaceSet3::AddSurface ( const ImplicitSurface3Ptr surface)

Adds an implicit surface instance.

◆ GetBuilder()

static Builder CubbyFlow::ImplicitSurfaceSet3::GetBuilder ( )
static

Returns builder for ImplicitSurfaceSet3.

◆ NumberOfSurfaces()

size_t CubbyFlow::ImplicitSurfaceSet3::NumberOfSurfaces ( ) const

Returns the number of implicit surfaces.

◆ SurfaceAt()

const ImplicitSurface3Ptr& CubbyFlow::ImplicitSurfaceSet3::SurfaceAt ( size_t  i) const

Returns the i-th implicit surface.

◆ UpdateQueryEngine()

void CubbyFlow::ImplicitSurfaceSet3::UpdateQueryEngine ( )
overridevirtual

Updates internal spatial query engine.

Reimplemented from CubbyFlow::Surface3.


The documentation for this class was generated from the following file: