Skip to main content

DefaultDisplayValues

DefaultDisplayValues

Functions

Name
std::string getColorForIndex(size_t index)
Get color from index, returns random color if index exceeds DEFAULT_COLORS size.

Attributes

Name
std::string const COLOR
float const ALPHA
bool const VISIBLE
int const POINT_SIZE
int const LINE_THICKNESS
int const TENSOR_DISPLAY_CHANNEL
bool const SHOW_POINTS
CorePlotting::GlyphType const POINT_MARKER_SHAPE
std::vector< std::string > const DEFAULT_COLORS

Functions Documentation

function getColorForIndex

inline std::string getColorForIndex(
    size_t index
)

Get color from index, returns random color if index exceeds DEFAULT_COLORS size.

Attributes Documentation

variable COLOR

std::string const COLOR = "#007bff";

variable ALPHA

float const ALPHA = 1.0f;

variable VISIBLE

bool const VISIBLE = false;

variable POINT_SIZE

int const POINT_SIZE = 5;

variable LINE_THICKNESS

int const LINE_THICKNESS = 2;

variable TENSOR_DISPLAY_CHANNEL

int const TENSOR_DISPLAY_CHANNEL = 0;

variable SHOW_POINTS

bool const SHOW_POINTS = false;

variable POINT_MARKER_SHAPE

CorePlotting::GlyphType const POINT_MARKER_SHAPE = CorePlotting::GlyphType::Circle;

variable DEFAULT_COLORS

std::vector< std::string > const DEFAULT_COLORS = {
        "#ff0000",
        "#008000",
        "#00ffff",
        "#ff00ff",
        "#ffff00" 
};

Updated on 2026-11-13 at 20:25:42 +0000