Home
Getting started
Components overview
Topics
Components
Classes
Tutorials and Examples
Code snippets
Support
Background.h
1
//##################################################################################################
2
//
3
// Ceetron Desktop Components
4
// Component: Visualization
5
//
6
// --------------------------------------------------------------------------------------------
7
// Copyright (C) 2011, Ceetron AS
8
// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Ceetron AS. The contents of this file may
9
// not be disclosed to third parties, copied or duplicated in any form, in whole or in part,
10
// without the prior written permission of Ceetron AS.
11
//##################################################################################################
12
13
#pragma once
14
15
#include "CeeVisualization/Base.h"
16
#include "CeeCore/Color3f.h"
17
18
namespace
cee
{
19
namespace
vis {
20
21
22
//==================================================================================================
23
//
24
// Background config
25
//
26
//==================================================================================================
27
class
CEE_VIS_EXPORT
Background
28
{
29
public
:
30
Background
();
31
Background
(
const
Background
& other);
32
~
Background
();
33
34
Background
& operator=(
const
Background
& rhs);
35
36
Color3f
topColor()
const
;
37
Color3f
bottomColor()
const
;
38
void
setSingleColor(
const
Color3f
& color);
39
void
setTopAndBottomColor(
const
Color3f
& topColor,
const
Color3f
& bottomColor);
40
41
static
Background
createSingleColor(
const
Color3f
& color);
42
static
Background
createTopAndBottomColor(
const
Color3f
& topColor,
const
Color3f
& bottomColor);
43
44
private
:
45
CEE_PRIVATE_IMPL(
Background
);
46
};
47
48
}
// namespace vis
49
}
// namespace cee
cee
Namespace cee contains all functionality and structures under the Core component. ...
Definition:
AppComponent.cpp:26
cee::Color3f
Class for storing an RGB color triplet.
Definition:
Color3f.h:25
cee::vis::Background
Small class for the view background settings.
Definition:
Background.h:27
CeeVisualization
Background.h
Updated: Fri Jun 17 2022 - Copyright © 2022 Ceetron AS