This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cmake_minimum_required(VERSION 2.8.11) | |
project(osg-raycast) | |
set(CMAKE_INCLUDE_CURRENT_DIR ON) | |
find_package(OpenSceneGraph REQUIRED COMPONENTS osgDB osgGA osgUtil osgViewer) | |
include_directories(${OPENSCENEGRAPH_INCLUDE_DIRS}) | |
set(SOURCES |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE language SYSTEM "language.dtd"> | |
<!-- the version of this file shows the largest supported OpenGL version, second digit is the minor patch level (Y.XP = supports GLSL X.Y0 with patchlevel P --> | |
<language name="GLSL" section="Sources" extensions="*.glsl;*.vsh;*.vert;*.tcsh;*.tcs;*.tesh;*.tes;*.gsh;*.geo;*.geom;*.fsh;*.frag;*.csh;*.cs" mimetype="text/x-glslsrc" version="4.31" kateversion="2.4" author="Robert Menzel ([email protected])" license="LGPL"> | |
<highlighting> | |
<!-- ####################################################################################################### keywords --> | |
<list name="keywordsCompatibility"> | |
<!-- compatibility mode, older GLSL versions --> | |
<item>attribute</item> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "Tube.h" | |
#include <osg/Geometry> | |
#include <osg/Geode> | |
#include <osg/StateSet> | |
#include <osg/LineWidth> | |
#include <osg/BlendFunc> | |
#include <osg/Material> | |
#include <osg/LightSource> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <pcl/PCLGrabber.h> | |
#include <thread> | |
#include <mutex> | |
#include <boost/shared_ptr.hpp> | |
#include <QApplication> | |
#include <QMainWindow> | |
#include <QThread> | |
#include <QVTKWidget.h> | |
#include <vtkSmartPointer.h> |
OlderNewer