1#ifndef SAWTOOTHSTRETCHTYPE_H
2#define SAWTOOTHSTRETCHTYPE_H
38 const QString &name,
const QColor &color);
45 void offsetSliderMoved(
int);
46 void offsetEditChanged(
const QString &);
47 void widthSliderMoved(
int);
48 void widthEditChanged(
const QString &);
52 Stretch calculateNewStretch(
double,
double);
55 QSlider *p_offsetSlider;
56 QLineEdit *p_offsetEdit;
57 QSlider *p_widthSlider;
58 QLineEdit *p_widthEdit;
61 bool p_sliderOverride;
Stores stretch information for a cube.
Definition CubeStretch.h:27
Container of a cube histogram.
Definition Histogram.h:74
This handles the advanced sawtooth stretch.
Definition SawtoothStretchType.h:33
virtual void setStretch(Stretch)
Given an arbitrary stretch, this will re-interpret it, as best as possible, into a sawtooth stretch.
Definition SawtoothStretchType.cpp:104
virtual CubeStretch getStretch()
Gets the CubeStretch for this Sawtooth Stretch.
Definition SawtoothStretchType.cpp:319
SawtoothStretchType(const Histogram &, const Stretch &, const QString &name, const QColor &color)
This initializes a sawtooth stretch type.
Definition SawtoothStretchType.cpp:24
~SawtoothStretchType()
Destructor.
Definition SawtoothStretchType.cpp:87
Pixel value mapper.
Definition Stretch.h:58
This is the base class for advanced stretches.
Definition StretchType.h:39
This is free and unencumbered software released into the public domain.
Definition Apollo.h:16