Public Member Functions | |
| ScalarField (const BoundingBox bb, const coordf_t z=0.0, const float period=10.0) | |
| float | get_scalar (coordf_t x, coordf_t y, coordf_t z) const |
| float | get_scalar (Coord p) const |
| coord_t | to_coord (const coordr_t &x) const |
| coordr_t | to_coordr (const coord_t &x) const |
| Point | to_Point (const Coord &p) const |
| Coord | to_Coord (const Point &p) const |
| Pointf | to_Pointf (const Point &p) const |
| Pointf | to_Pointf (const Coord &p) const |
Public Attributes | |
| const coord_t | rsize = scaled(rsizef) |
| const coordr_t | gsize = std::round(gsizef / rsizef) |
| Point | size |
| Point | offs |
| coordf_t | z |
| float | freq |
| float | isoval = 0.0 |
Static Public Attributes | |
| static constexpr float | gsizef = 0.40 |
| static constexpr float | rsizef = 0.004 |
|
inlineexplicit |
|
inline |
References get_scalar(), to_Pointf(), and z.
References Slic3r::fischer_koch(), freq, and z.
Referenced by marchsq::_RasterTraits< ScalarField >::get(), and get_scalar().
References offs, and to_coordr().
References rsize.
Referenced by marchsq::_RasterTraits< ScalarField >::cols(), marchsq::_RasterTraits< ScalarField >::rows(), and to_Coord().
References marchsq::Coord::c, offs, marchsq::Coord::r, and to_coord().
Referenced by marchsq::get_polylines(), and to_Pointf().
References to_Point(), and to_Pointf().
Referenced by to_Pointf().
References Slic3r::unscaled().
Referenced by get_scalar().
| float marchsq::ScalarField::freq |
Referenced by ScalarField(), and get_scalar().
|
staticconstexpr |
| float marchsq::ScalarField::isoval = 0.0 |
Referenced by marchsq::get_polylines().
| Point marchsq::ScalarField::offs |
Referenced by ScalarField(), to_Coord(), and to_Point().
Referenced by to_coord(), and to_coordr().
|
staticconstexpr |
| Point marchsq::ScalarField::size |
| coordf_t marchsq::ScalarField::z |
Referenced by ScalarField(), get_scalar(), and get_scalar().