BasicSceneElement.h
Go to the documentation of this file.
// This file is a part of the OpenSurgSim project.
// Copyright 2013, SimQuest Solutions Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
#ifndef SURGSIM_FRAMEWORK_BASICSCENEELEMENT_H
#define SURGSIM_FRAMEWORK_BASICSCENEELEMENT_H
#include "SurgSim/Framework/SceneElement.h"
#include "SurgSim/Framework/Macros.h"
namespace SurgSim
{
namespace Framework
{
class BasicSceneElement : public SurgSim::Framework::SceneElement
{
public:
explicit BasicSceneElement(const std::string& name);
virtual ~BasicSceneElement();
SURGSIM_CLASSNAME(SurgSim::Framework::BasicSceneElement);
protected:
bool doInitialize() override;
};
}; // namespace Framework
}; // namespace SurgSim
#endif // SURGSIM_FRAMEWORK_BASICSCENEELEMENT_H
SurgSim
Definition: CompoundShapeToGraphics.cpp:29
SurgSim::Framework::BasicSceneElement
Simple concrete implementation of a scene element that does not have any higher logic.
Definition: BasicSceneElement.h:29
SurgSim::Framework::BasicSceneElement::~BasicSceneElement
virtual ~BasicSceneElement()
Destructor.
Definition: BasicSceneElement.cpp:28
SurgSim::Framework::BasicSceneElement::SURGSIM_CLASSNAME
SURGSIM_CLASSNAME(SurgSim::Framework::BasicSceneElement)
Destructor.
Macros.h
SurgSim::Framework::BasicSceneElement::BasicSceneElement
BasicSceneElement(const std::string &name)
Destructor.
Definition: BasicSceneElement.cpp:23
SurgSim::Framework::BasicSceneElement::doInitialize
bool doInitialize() override
Initializes the scene element.
Definition: BasicSceneElement.cpp:32
SceneElement.h
SurgSim::Framework::SceneElement
SceneElement is the basic part of a scene, it is a container of components.
Definition: SceneElement.h:51