source: osgVisual/trunk/include/sky_Silverlining/skySilverLining_cloudLayerSlot.h @ 251

Last change on this file since 251 was 221, checked in by Torben Dannhauer, 14 years ago

Updated copyright NOTICE
(No code changes)

File size: 2.2 KB
RevLine 
[32]1#pragma once
[221]2/* -*-c++-*- osgVisual - Copyright (C) 2009-2011 Torben Dannhauer
[32]3 *
4 * This library is based on OpenSceneGraph, open source and may be redistributed and/or modified under
5 * the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or
6 * (at your option) any later version.  The full license is in LICENSE file
7 * included with this distribution, and on the openscenegraph.org website.
8 *
9 * osgVisual requires for some proprietary modules a license from the correspondig manufacturer.
10 * You have to aquire licenses for all used proprietary modules.
11 *
12 * This library is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15 * OpenSceneGraph Public License for more details.
16 *
17 * This file is based on the OSG example of the Silverlining SDK:
18 * Copyright (c) 2008 Sundog Software, LLC. All rights reserved worldwide.
19*/
20
21#include <SilverLining.h>
22#include <string>
23
24
25namespace osgVisual
26{
27
28/**
29 * \brief This class represents a single cloudlayer slot which contains a cloud layer and corresponding additional information.
30 *
31 * @author Torben Dannhauer
32 * @date  Sep 2009
33 */ 
34class cloudLayerSlot
35{
[88]36        #include <leakDetection.h>
[32]37public:
38        /**
39         * \brief Construtor, which initializes the cloudlayer information with valid default values.
40         *
41         */ 
42        cloudLayerSlot() 
43        {
44                slot_id = -1;
45                used = false;
46                enabled = false;
47                cloudLayerHandle = -1;
48                cloudLayerPointer = NULL;
49                typeName = "";
50        };
51
52        /**
53         * ID of the cloudlayer slot.
54         */ 
55        int slot_id;
56
57        /**
58         * This flag indicates if the cloudlayer slot is in use.
59         *
60         * @todo : Explain diff to 'enabled'.
61         */ 
62        bool used;
63
64        /**
65         * This flag indicates if the cloudlayer slot is enabled.
66         *
67         * @todo : Explain diff to 'used'.
68         */ 
69        bool enabled;
70
71        /**
72         * This variable contains silverlining's cloudlayer handle-ID.
73         */ 
74        int cloudLayerHandle;
75
76        /**
77         * Pointer to the cloudlayer object.
78         */ 
79        SilverLining::CloudLayer *cloudLayerPointer;
80
81        /**
82         * Literal name of the cloudlayer type. e.g. CUMULUS_MEDIOCRIS.
83         */ 
84        std::string typeName;
85};
86
87}       // END NAMESPACE
Note: See TracBrowser for help on using the repository browser.