16 #ifndef SURGSIM_GRAPHICS_OSGSCENERYREPRESENTATION_H 17 #define SURGSIM_GRAPHICS_OSGSCENERYREPRESENTATION_H 26 #pragma warning(disable:4250) 73 #endif // SURGSIM_GRAPHICS_OSGSCENERYREPRESENTATION_H Definition: DriveElementFromInputBehavior.cpp:27
OsgSceneryRepresentation(const std::string &name)
Constructor.
Definition: OsgSceneryRepresentation.cpp:30
SURGSIM_STATIC_REGISTRATION(OsgBoxRepresentation)
std::string m_fileName
Name of the object file to be loaded.
Definition: OsgSceneryRepresentation.h:62
SURGSIM_CLASSNAME(SurgSim::Graphics::OsgSceneryRepresentation)
string(TOUPPER ${DEVICE}DEVICE_UPPER_CASE) option(BUILD_DEVICE_ $
Definition: CMakeLists.txt:35
Base class defining the interface for a Graphics Scenery Object.
Definition: SceneryRepresentation.h:30
osg::ref_ptr< osg::Node > m_sceneryRepresentation
A osg::Node to hold the objet loaded from file.
Definition: OsgSceneryRepresentation.h:59
void setFileName(const std::string &fileName) override
Set file name of the object to be loaded.
Definition: OsgSceneryRepresentation.cpp:60
friend class OsgSceneryRepresentationTest
Definition: OsgSceneryRepresentation.h:39
A OsgSceneryRepresentation is used to load osg object/node from file.
Definition: OsgSceneryRepresentation.h:36
Base OSG implementation of a graphics representation.
Definition: OsgRepresentation.h:42
std::string getFileName() const override
Return file name of the object.
Definition: OsgSceneryRepresentation.cpp:55
virtual bool doInitialize() override
Interface to be implemented by derived classes.
Definition: OsgSceneryRepresentation.cpp:39