CARTA Backend
The backend component of CARTA
Loading...
Searching...
No Matches
Contouring.h File Reference
#include <cstdint>
#include <functional>
#include <vector>
Include dependency graph for Contouring.h:
This graph shows which files directly or indirectly include this file:

Namespaces

namespace  carta
 

Typedefs

typedef const std::function< void(double, double, const std::vector< float > &, const std::vector< int32_t > &)> carta::ContourCallback
 

Enumerations

enum  carta::Edge {
  carta::TopEdge , carta::RightEdge , carta::BottomEdge , carta::LeftEdge ,
  carta::None
}
 

Functions

void carta::TraceContourLevel (float *image, int64_t width, int64_t height, double scale, double offset, double level, std::vector< double > &vertex_data, std::vector< int32_t > &indices)
 
void carta::TraceContours (float *image, int64_t width, int64_t height, double scale, double offset, const std::vector< double > &levels, std::vector< std::vector< float > > &vertex_data, std::vector< std::vector< int32_t > > &index_data, int chunk_size, ContourCallback &partial_callback)