Skip to content

File test_contour_gen.cpp

FileList > contour > tests > test_contour_gen.cpp

Go to the source code of this file

  • #include <gtest/gtest.h>
  • #include <algorithm>
  • #include <set>
  • #include <vector>
  • #include "config_input/config_input.hpp"
  • #include "contour/contour.hpp"
  • #include "contour/contour_gen.hpp"
  • #include "geometry/polygon.hpp"
  • #include "isom/colors.hpp"
  • #include "lib/grid/grid.hpp"
  • #include "utilities/progress_tracker.hpp"

Public Functions

Type Name
TEST (ContourGen, ContourGen)
TEST (ContourGen, ContourGen2)
TEST (IdentifyContoursAtHeights, SingleHeightCrossing)
TEST (IdentifyContoursAtHeights, NoCrossing)
TEST (IdentifyContoursAtHeights, MultipleHeights)
TEST (IdentifyContoursAtHeights, ExactThresholdValue)
TEST (IdentifyContoursAtHeights, MinExactlyAtThreshold)
TEST (GenerateContoursAtHeights, SinglePeakClosedLoop)
TEST (GenerateContoursAtHeights, EdgeContoursAreClosed)
TEST (GenerateContoursAtHeights, MultipleDisjointPatches)
TEST (GenerateContoursAtHeights, AllZerosNoContours)
TEST (GenerateContoursAtHeights, MultipleHeights)
TEST (GenerateContoursAtHeights, FilteredByMinPoints)
TEST (GenerateContoursAtHeights, OrientsDonutRings)
TEST (GenerateContoursAtHeights, SaddleConfigA_AlwaysOutside)
TEST (GenerateContoursAtHeights, SaddleConfigA_AlwaysInside)
TEST (GenerateContoursAtHeights, SaddleConfigA_ByHeight)
TEST (GenerateContoursAtHeights, SaddleConfigA_ByHeightAboveMerges)
TEST (GenerateContoursAtHeights, SaddleConfigB_AlwaysOutside)
TEST (GenerateContoursAtHeights, SaddleConfigB_AlwaysInside)
TEST (GenerateContoursAtHeights, SaddleConfigB_ByHeight)

Public Static Functions

Type Name
void check_saddle_2x2 (const std::vector< std::vector< float > > & data, float threshold, SaddlePolicy policy, size_t expected_contours, const std::vector< size_t > & expected_point_counts)

Public Functions Documentation

function TEST

TEST (
    ContourGen,
    ContourGen
) 

function TEST

TEST (
    ContourGen,
    ContourGen2
) 

function TEST

TEST (
    IdentifyContoursAtHeights,
    SingleHeightCrossing
) 

function TEST

TEST (
    IdentifyContoursAtHeights,
    NoCrossing
) 

function TEST

TEST (
    IdentifyContoursAtHeights,
    MultipleHeights
) 

function TEST

TEST (
    IdentifyContoursAtHeights,
    ExactThresholdValue
) 

function TEST

TEST (
    IdentifyContoursAtHeights,
    MinExactlyAtThreshold
) 

function TEST

TEST (
    GenerateContoursAtHeights,
    SinglePeakClosedLoop
) 

function TEST

TEST (
    GenerateContoursAtHeights,
    EdgeContoursAreClosed
) 

function TEST

TEST (
    GenerateContoursAtHeights,
    MultipleDisjointPatches
) 

function TEST

TEST (
    GenerateContoursAtHeights,
    AllZerosNoContours
) 

function TEST

TEST (
    GenerateContoursAtHeights,
    MultipleHeights
) 

function TEST

TEST (
    GenerateContoursAtHeights,
    FilteredByMinPoints
) 

function TEST

TEST (
    GenerateContoursAtHeights,
    OrientsDonutRings
) 

function TEST

TEST (
    GenerateContoursAtHeights,
    SaddleConfigA_AlwaysOutside
) 

function TEST

TEST (
    GenerateContoursAtHeights,
    SaddleConfigA_AlwaysInside
) 

function TEST

TEST (
    GenerateContoursAtHeights,
    SaddleConfigA_ByHeight
) 

function TEST

TEST (
    GenerateContoursAtHeights,
    SaddleConfigA_ByHeightAboveMerges
) 

function TEST

TEST (
    GenerateContoursAtHeights,
    SaddleConfigB_AlwaysOutside
) 

function TEST

TEST (
    GenerateContoursAtHeights,
    SaddleConfigB_AlwaysInside
) 

function TEST

TEST (
    GenerateContoursAtHeights,
    SaddleConfigB_ByHeight
) 

Public Static Functions Documentation

function check_saddle_2x2

static void check_saddle_2x2 (
    const std::vector< std::vector< float > > & data,
    float threshold,
    SaddlePolicy policy,
    size_t expected_contours,
    const std::vector< size_t > & expected_point_counts
) 


The documentation for this class was generated from the following file /home/runner/work/Blaze/Blaze/src/lib/contour/tests/test_contour_gen.cpp