Jet  v1.3.3
Public Member Functions | Protected Member Functions | List of all members
jet::ImplicitSurface3 Class Referenceabstract

Abstract base class for 3-D implicit surface. More...

#include <jet/implicit_surface3.h>

Inheritance diagram for jet::ImplicitSurface3:
jet::Surface3 jet::CustomImplicitSurface3 jet::ImplicitSurfaceSet3 jet::ImplicitTriangleMesh3 jet::SurfaceToImplicit3

Public Member Functions

 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 jet::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
 
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
 
virtual void updateQueryEngine ()
 Updates internal spatial query engine. More...
 
virtual bool isBounded () const
 Returns true if bounding box can be defined. More...
 
virtual bool isValidGeometry () const
 Returns true if the surface is a valid geometry. More...
 
bool isInside (const Vector3D &otherPoint) const
 

Protected Member Functions

virtual double signedDistanceLocal (const Vector3D &otherPoint) const =0
 
- Protected Member Functions inherited from jet::Surface3
virtual Vector3D closestPointLocal (const Vector3D &otherPoint) const =0
 
virtual BoundingBox3D boundingBoxLocal () const =0
 Returns the bounding box of this surface object in local frame. More...
 
virtual SurfaceRayIntersection3 closestIntersectionLocal (const Ray3D &ray) const =0
 Returns the closest intersection point for given ray in local frame. More...
 
virtual Vector3D closestNormalLocal (const Vector3D &otherPoint) const =0
 
virtual bool intersectsLocal (const Ray3D &ray) const
 

Additional Inherited Members

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

Detailed Description

Abstract base class for 3-D implicit surface.

Constructor & Destructor Documentation

◆ ImplicitSurface3() [1/2]

jet::ImplicitSurface3::ImplicitSurface3 ( const Transform3 transform = Transform3(),
bool  isNormalFlipped = false 
)

Default constructor.

◆ ImplicitSurface3() [2/2]

jet::ImplicitSurface3::ImplicitSurface3 ( const ImplicitSurface3 other)

Copy constructor.

◆ ~ImplicitSurface3()

virtual jet::ImplicitSurface3::~ImplicitSurface3 ( )
virtual

Default destructor.

Member Function Documentation

◆ signedDistance()

double jet::ImplicitSurface3::signedDistance ( const Vector3D otherPoint) const

Returns signed distance from the given point otherPoint.

◆ signedDistanceLocal()

virtual double jet::ImplicitSurface3::signedDistanceLocal ( const Vector3D otherPoint) const
protectedpure virtual

Returns signed distance from the given point otherPoint in local space.

Implemented in jet::SurfaceToImplicit3.


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