All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
TechniqueDefinitions.hh
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2012-2014 Open Source Robotics Foundation
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  *
16 */
17 #ifndef _TECHNIQUEDEFINITIONS_HH_
18 #define _TECHNIQUEDEFINITIONS_HH_
19 
20 #include <string>
21 #include "gazebo/util/system.hh"
22 
23 namespace gazebo
24 {
25  namespace rendering
26  {
28  {
29  protected: std::string GetMaterialPrefix() const
30  {return "NullTechnique";}
31  protected: int GetNumInputs() const
32  {return 0;}
33  protected: bool UseMaterialProperties() const
34  {return true;}
35  };
37  {
38  protected: std::string GetMaterialPrefix() const
39  {return "DeferredShading";}
40  protected: int GetGBufferSize() const
41  {return 2;}
42  protected: bool UseMaterialProperties() const
43  {return true;}
44  };
46  {
47  protected: std::string GetMaterialPrefix() const
48  {return "DeferredLighting";}
49  protected: int GetGBufferSize() const
50  {return 1;}
51  protected: bool UseMaterialProperties() const
52  {return false;}
53  };
55  {
56  protected: std::string GetMaterialPrefix() const
57  {return "InferredLighting";}
58  protected: int GetGBufferSize() const
59  {return 1;}
60  protected: bool UseMaterialProperties() const
61  {return false;}
62  };
63  }
64 }
65 #endif
bool UseMaterialProperties() const
Definition: TechniqueDefinitions.hh:42
std::string GetMaterialPrefix() const
Definition: TechniqueDefinitions.hh:29
int GetGBufferSize() const
Definition: TechniqueDefinitions.hh:58
int GetNumInputs() const
Definition: TechniqueDefinitions.hh:31
Definition: TechniqueDefinitions.hh:36
int GetGBufferSize() const
Definition: TechniqueDefinitions.hh:49
std::string GetMaterialPrefix() const
Definition: TechniqueDefinitions.hh:56
bool UseMaterialProperties() const
Definition: TechniqueDefinitions.hh:51
Definition: TechniqueDefinitions.hh:45
std::string GetMaterialPrefix() const
Definition: TechniqueDefinitions.hh:47
Definition: TechniqueDefinitions.hh:27
Definition: TechniqueDefinitions.hh:54
bool UseMaterialProperties() const
Definition: TechniqueDefinitions.hh:33
int GetGBufferSize() const
Definition: TechniqueDefinitions.hh:40
bool UseMaterialProperties() const
Definition: TechniqueDefinitions.hh:60
std::string GetMaterialPrefix() const
Definition: TechniqueDefinitions.hh:38
#define GAZEBO_VISIBLE
Use to represent "symbol visible" if supported.
Definition: system.hh:48