QWT API (English) 7.3.0
Qt Widget Library for Technical Applications - English API Documentation
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Static Public Member Functions | List of all members
Qwt3D::Qwt3DTheme Class Reference

Complete visual theme descriptor for Plot3D widgets. More...

#include <qwt3d_theme.h>

Public Types

enum  Preset {
  Default , Dark , Scientific , Warm ,
  Cool , Matplotlib , EarthTones , Ocean ,
  HighContrast , Presentation
}
 
enum  LightingPreset {
  NoLighting , FlatLight , Studio , Outdoor ,
  Soft
}
 

Public Member Functions

 Qwt3DTheme (Preset preset)
 
 Qwt3DTheme (const Qwt3DTheme &)
 
Qwt3DThemeoperator= (const Qwt3DTheme &)
 
RGBA backgroundColor () const
 
void setBackgroundColor (RGBA)
 
RGBA meshColor () const
 
void setMeshColor (RGBA)
 
double meshLineWidth () const
 
void setMeshLineWidth (double)
 
bool smoothMesh () const
 
void setSmoothMesh (bool)
 
QString dataColorPreset () const
 
void setDataColorPreset (const QString &)
 
QwtColorMapcreateColorMap () const
 
RGBA axesColor () const
 
void setAxesColor (RGBA)
 
RGBA numberColor () const
 
void setNumberColor (RGBA)
 
RGBA labelColor () const
 
void setLabelColor (RGBA)
 
RGBA gridLinesColor () const
 
void setGridLinesColor (RGBA)
 
RGBA titleColor () const
 
void setTitleColor (RGBA)
 
QString titleFontFamily () const
 
void setTitleFontFamily (const QString &)
 
int titleFontSize () const
 
void setTitleFontSize (int)
 
bool titleFontBold () const
 
void setTitleFontBold (bool)
 
LightingPreset lightingPreset () const
 
void setLightingPreset (LightingPreset)
 
SHADINGSTYLE shading () const
 
void setShading (SHADINGSTYLE)
 
PLOTSTYLE plotStyle () const
 
void setPlotStyle (PLOTSTYLE)
 
double shininess () const
 
void setShininess (double)
 
double specularIntensity () const
 
void setSpecularIntensity (double)
 
void apply (Plot3D *plot) const
 

Static Public Member Functions

static Qwt3DTheme create (Preset preset)
 
static Qwt3DTheme create (const QString &name)
 
static QStringList availablePresets ()
 

Detailed Description

Complete visual theme descriptor for Plot3D widgets.

Qwt3DTheme encapsulates all visual properties of a 3D plot: background color, mesh styling, data colormap, coordinate system colors, title styling, lighting preset, shading mode, plot style, and material properties.


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