ManiVault 1.0.0
A Flexible and Extensible Visual Analytics Framework for High-Dimensional Data
Loading...
Searching...
No Matches
hdps::util::ColorMap Class Reference

#include <ColorMap.h>

Public Types

enum class  Type { OneDimensional = 1 , TwoDimensional }
 

Public Member Functions

 ColorMap (const QString &name="", const QString &resourcePath="", const Type &type=Type::OneDimensional, const QImage &image=QImage())
 
QString getName () const
 
QString getResourcePath () const
 
Type getType () const
 
QImage getImage () const
 
std::uint32_t getNoDimensions () const
 

Detailed Description

Color map class

Author
Thomas Kroes

Member Enumeration Documentation

◆ Type

enum class hdps::util::ColorMap::Type
strong

Color map types

Enumerator
OneDimensional 
TwoDimensional 

One-dimensional color map Two-dimensional color map

Constructor & Destructor Documentation

◆ ColorMap()

hdps::util::ColorMap::ColorMap ( const QString &  name = "",
const QString &  resourcePath = "",
const Type type = Type::OneDimensional,
const QImage &  image = QImage() 
)

(Default) constructor

Parameters
nameName of the color map
resourcePathResource path of the color map image
nameColor map type
imageColor map image

Member Function Documentation

◆ getImage()

QImage hdps::util::ColorMap::getImage ( ) const

Returns the color map image

◆ getName()

QString hdps::util::ColorMap::getName ( ) const

Returns the color map name

◆ getNoDimensions()

std::uint32_t hdps::util::ColorMap::getNoDimensions ( ) const

Returns the number of dimensions

◆ getResourcePath()

QString hdps::util::ColorMap::getResourcePath ( ) const

Returns the resource path

◆ getType()

ColorMap::Type hdps::util::ColorMap::getType ( ) const

Returns the color map type


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