CARLA
Public Member Functions | Private Member Functions | Private Attributes | List of all members
MeshReconstruction::Cube Class Reference

#include <Cube.h>

+ Collaboration diagram for MeshReconstruction::Cube:

Public Member Functions

 Cube (Rect3 const &space, Fun3s const &sdf)
 
IntersectInfo Intersect (double isoLevel=0) const
 

Private Member Functions

Vec3 LerpVertex (double isoLevel, int i1, int i2) const
 
int SignConfig (double isoLevel) const
 

Private Attributes

Vec3 pos [8]
 
double sdf [8]
 

Detailed Description

Definition at line 16 of file Cube.h.

Constructor & Destructor Documentation

◆ Cube()

MeshReconstruction::Cube::Cube ( Rect3 const &  space,
Fun3s const &  sdf 
)

Member Function Documentation

◆ Intersect()

IntersectInfo MeshReconstruction::Cube::Intersect ( double  isoLevel = 0) const

Definition at line 156 of file Cube.h.

References MeshReconstruction::IntersectInfo::edgeVertIndices, and MeshReconstruction::IntersectInfo::signConfig.

Referenced by MeshReconstruction::MarchCube().

+ Here is the caller graph for this function:

◆ LerpVertex()

Vec3 MeshReconstruction::Cube::LerpVertex ( double  isoLevel,
int  i1,
int  i2 
) const
private

Definition at line 94 of file Cube.h.

◆ SignConfig()

int MeshReconstruction::Cube::SignConfig ( double  isoLevel) const
private

Definition at line 141 of file Cube.h.

Member Data Documentation

◆ pos

Vec3 MeshReconstruction::Cube::pos[8]
private

Definition at line 18 of file Cube.h.

◆ sdf

double MeshReconstruction::Cube::sdf[8]
private

Definition at line 19 of file Cube.h.


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