opensurgsim
Classes | Namespaces | Functions
OsgTextureTests.cpp File Reference

Tests for the OsgTexture class. More...

#include "SurgSim/Framework/ApplicationData.h"
#include "SurgSim/Graphics/OsgTexture.h"
#include <boost/filesystem.hpp>
#include <boost/filesystem/fstream.hpp>
#include <osg/Texture2D>
#include <gtest/gtest.h>
#include <sstream>

Classes

class  SurgSim::Graphics::MockOsgTexture
 Concrete OSG Texture for testing. More...
 

Namespaces

 SurgSim
 Wraps glewInit() to separate the glew opengl definitions from the osg opengl definitions only imgui needs glew but we need to call glewInit() from a osg callback, using this call we avoid getting warnings about redefinitions.
 

Functions

 SurgSim::Graphics::TEST (OsgTextureTests, InitTest)
 
 SurgSim::Graphics::TEST (OsgTextureTests, LoadAndClearImageTest)
 

Detailed Description

Tests for the OsgTexture class.