1
/* -*- Mode: C++; coding: utf-8; tab-width: 3; indent-tabs-mode: tab; c-basic-offset: 3 -*-
2
*******************************************************************************
4
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
6
* Copyright create3000, Scheffelstra�e 31a, Leipzig, Germany 2011.
8
* All rights reserved. Holger Seelig <holger.seelig@yahoo.de>.
10
* THIS IS UNPUBLISHED SOURCE CODE OF create3000.
12
* The copyright notice above does not evidence any actual of intended
13
* publication of such source code, and is an unpublished work by create3000.
14
* This material contains CONFIDENTIAL INFORMATION that is the property of
17
* No permission is granted to copy, distribute, or create derivative works from
18
* the contents of this software, in whole or in part, without the prior written
19
* permission of create3000.
21
* NON-MILITARY USE ONLY
23
* All create3000 software are effectively free software with a non-military use
24
* restriction. It is free. Well commented source is provided. You may reuse the
25
* source in any way you please with the exception anything that uses it must be
26
* marked to indicate is contains 'non-military use only' components.
28
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
30
* Copyright 1999, 2012 Holger Seelig <holger.seelig@yahoo.de>.
32
* This file is part of the Titania Project.
34
* Titania is free software: you can redistribute it and/or modify it under the
35
* terms of the GNU General Public License version 3 only, as published by the
36
* Free Software Foundation.
38
* Titania is distributed in the hope that it will be useful, but WITHOUT ANY
39
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
40
* A PARTICULAR PURPOSE. See the GNU General Public License version 3 for more
41
* details (a copy is included in the LICENSE file that accompanied this code).
43
* You should have received a copy of the GNU General Public License version 3
44
* along with Titania. If not, see <http://www.gnu.org/licenses/gpl.html> for a
45
* copy of the GPLv3 License.
47
* For Silvio, Joy and Adi.
49
******************************************************************************/
51
#include "ScreenGroupTool.h"
53
#include "../ToolColors.h"
58
static constexpr Color3f LIME (0.35, 1, 0.35);
60
ScreenGroupTool::ScreenGroupTool (ScreenGroup* const node) :
61
X3DBaseNode (node -> getExecutionContext () -> getBrowser (), node -> getExecutionContext ()),
62
X3DBaseTool <ScreenGroup> (node),
63
X3DGroupingNodeTool <ScreenGroup> (LIME)
65
addType (X3DConstants::ScreenGroupTool);