3 * Copyright (C) 2006-2007 Mathias Froehlich
5 * This program is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU General Public License as
7 * published by the Free Software Foundation; either version 2 of the
8 * License, or (at your option) any later version.
10 * This program is distributed in the hope that it will be useful, but
11 * WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * General Public License for more details.
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
22 #ifndef SG_SCENE_NODEMASKS_HXX
23 #define SG_SCENE_NODEMASKS_HXX
25 #include "RenderConstants.hxx"
27 /// If set, do terrain elevation computations with that nodes
28 #define SG_NODEMASK_TERRAIN_BIT simgear::TERRAIN_BIT
29 /// If set, this is the main model of this simulation
30 #define SG_NODEMASK_MAINMODEL_BIT simgear::MAINMODEL_BIT
31 /// If set, cast shadows
32 #define SG_NODEMASK_CASTSHADOW_BIT simgear::CASTSHADOW_BIT
33 /// If set, cast recieves shadows
34 #define SG_NODEMASK_RECIEVESHADOW_BIT simgear::RECEIVESHADOW_BIT
35 #define SG_NODEMASK_GUI_BIT simgear::GUI_BIT
36 #define SG_NODEMASK_2DPANEL_BIT simgear::PANEL2D_BIT
37 /// If set, the node is pickable
38 #define SG_NODEMASK_PICK_BIT simgear::PICK_BIT