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> |
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
<?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
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
cmake_minimum_required(VERSION 2.8.11) | |
project(osg-photo) | |
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
#ifdef _WIN32 | |
#include <Windows.h> | |
#endif // _WIN32 | |
#include <osg/Camera> | |
#include <osg/Drawable> | |
#include <osg/Geode> | |
#include <osg/Geometry> | |
#include <osg/Group> | |
#include <osg/Node> |
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
#version 330 | |
in VertexData{ | |
vec4 mColor; | |
} VertexIn; | |
void main(void) | |
{ | |
gl_FragColor = VertexIn.mColor; | |
} |
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 "OsgPathFitter.h" | |
template <typename Container, typename Point2, typename Real> | |
OsgPathFitter<Container, Point2, Real>::OsgPathFitter(const osg::Vec2Array &path) | |
: PathFitter<osg::Vec2Array, osg::Vec2f, float>(path) | |
{ | |
} | |
template <typename Container, typename Point2, typename Real> | |
Container *OsgPathFitter<Container, Point2, Real>::fit(Real error) |
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 <iostream> | |
#include <stdio.h> | |
#ifdef _WIN32 | |
#include <Windows.h> | |
#endif | |
#include <osgViewer/Viewer> | |
#include <osg/GLExtensions> |
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 <Windows.h> | |
#include <osg/Camera> | |
#include <osg/Drawable> | |
#include <osg/Geode> | |
#include <osg/Geometry> | |
#include <osg/Group> | |
#include <osg/Node> | |
#include <osg/NodeVisitor> | |
#include <osg/Object> |
NewerOlder