BasicSceneElement.h
Go to the documentation of this file.
1 // This file is a part of the OpenSurgSim project.
2 // Copyright 2013, SimQuest Solutions Inc.
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 #ifndef SURGSIM_FRAMEWORK_BASICSCENEELEMENT_H
17 #define SURGSIM_FRAMEWORK_BASICSCENEELEMENT_H
18 
21 
22 namespace SurgSim
23 {
24 
25 namespace Framework
26 {
27 
30 {
31 public:
34  explicit BasicSceneElement(const std::string& name);
36  virtual ~BasicSceneElement();
37 
39 
40 protected:
43  bool doInitialize() override;
44 
45 };
46 
47 }; // namespace Framework
48 }; // namespace SurgSim
49 
50 #endif // SURGSIM_FRAMEWORK_BASICSCENEELEMENT_H
Macros.h
SurgSim::Framework::BasicSceneElement::~BasicSceneElement
virtual ~BasicSceneElement()
Destructor.
Definition: BasicSceneElement.cpp:28
SurgSim::Framework::BasicSceneElement
Simple concrete implementation of a scene element that does not have any higher logic.
Definition: BasicSceneElement.h:30
SceneElement.h
SurgSim
Definition: CompoundShapeToGraphics.cpp:30
SurgSim::Framework::BasicSceneElement::SURGSIM_CLASSNAME
SURGSIM_CLASSNAME(SurgSim::Framework::BasicSceneElement)
Destructor.
SurgSim::Framework::BasicSceneElement::doInitialize
bool doInitialize() override
Initializes the scene element.
Definition: BasicSceneElement.cpp:32
SurgSim::Framework::SceneElement
SceneElement is the basic part of a scene, it is a container of components.
Definition: SceneElement.h:52
string
string(TOUPPER ${DEVICE} DEVICE_UPPER_CASE) option(BUILD_DEVICE_$
Definition: CMakeLists.txt:38
SurgSim::Framework::BasicSceneElement::BasicSceneElement
BasicSceneElement(const std::string &name)
Destructor.
Definition: BasicSceneElement.cpp:23