Added initial classes for present3D refactor
This commit is contained in:
@@ -10,6 +10,13 @@ SET(HEADER_PATH ${OpenSceneGraph_SOURCE_DIR}/include/${LIB_NAME})
|
||||
SET(TARGET_H
|
||||
${HEADER_PATH}/Export
|
||||
${HEADER_PATH}/Cursor
|
||||
${HEADER_PATH}/Presentation
|
||||
${HEADER_PATH}/Section
|
||||
${HEADER_PATH}/Slide
|
||||
${HEADER_PATH}/Layer
|
||||
${HEADER_PATH}/Element
|
||||
${HEADER_PATH}/Group
|
||||
|
||||
${HEADER_PATH}/deprecated/AnimationMaterial
|
||||
${HEADER_PATH}/deprecated/CompileSlideCallback
|
||||
${HEADER_PATH}/deprecated/PickEventHandler
|
||||
@@ -23,6 +30,7 @@ SET(TARGET_H
|
||||
# FIXME: For OS X, need flag for Framework or dylib
|
||||
SET(TARGET_SRC
|
||||
Cursor.cpp
|
||||
|
||||
deprecated/AnimationMaterial.cpp
|
||||
deprecated/CompileSlideCallback.cpp
|
||||
deprecated/PickEventHandler.cpp
|
||||
|
||||
@@ -48,4 +48,5 @@ ADD_SUBDIRECTORY(osgGA)
|
||||
ADD_SUBDIRECTORY(osgTerrain)
|
||||
ADD_SUBDIRECTORY(osgText)
|
||||
ADD_SUBDIRECTORY(osgVolume)
|
||||
ADD_SUBDIRECTORY(osgPresentation)
|
||||
ADD_SUBDIRECTORY(osgViewer)
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
FILE(GLOB TARGET_SRC *.cpp)
|
||||
FILE(GLOB TARGET_H *.h)
|
||||
|
||||
SET(TARGET_ADDED_LIBRARIES osgPresentation )
|
||||
|
||||
#### end var setup ###
|
||||
SETUP_PLUGIN(osgpresentation)
|
||||
11
src/osgWrappers/serializers/osgPresentation/Element.cpp
Normal file
11
src/osgWrappers/serializers/osgPresentation/Element.cpp
Normal file
@@ -0,0 +1,11 @@
|
||||
#include <osgPresentation/Element>
|
||||
#include <osgDB/ObjectWrapper>
|
||||
#include <osgDB/InputStream>
|
||||
#include <osgDB/OutputStream>
|
||||
|
||||
REGISTER_OBJECT_WRAPPER( Element,
|
||||
new osgPresentation::Element,
|
||||
osgPresentation::Element,
|
||||
"osg::Object osg::Node osg::Group osg::Transform osg::MatrixTransform osgPresentation::Group osgPresentation::Element" )
|
||||
{
|
||||
}
|
||||
11
src/osgWrappers/serializers/osgPresentation/Group.cpp
Normal file
11
src/osgWrappers/serializers/osgPresentation/Group.cpp
Normal file
@@ -0,0 +1,11 @@
|
||||
#include <osgPresentation/Group>
|
||||
#include <osgDB/ObjectWrapper>
|
||||
#include <osgDB/InputStream>
|
||||
#include <osgDB/OutputStream>
|
||||
|
||||
REGISTER_OBJECT_WRAPPER( Group,
|
||||
new osgPresentation::Group,
|
||||
osgPresentation::Group,
|
||||
"osg::Object osg::Node osg::Group osg::Transform osg::MatrixTransform osgPresentation::Group" )
|
||||
{
|
||||
}
|
||||
11
src/osgWrappers/serializers/osgPresentation/Layer.cpp
Normal file
11
src/osgWrappers/serializers/osgPresentation/Layer.cpp
Normal file
@@ -0,0 +1,11 @@
|
||||
#include <osgPresentation/Layer>
|
||||
#include <osgDB/ObjectWrapper>
|
||||
#include <osgDB/InputStream>
|
||||
#include <osgDB/OutputStream>
|
||||
|
||||
REGISTER_OBJECT_WRAPPER( Layer,
|
||||
new osgPresentation::Layer,
|
||||
osgPresentation::Layer,
|
||||
"osg::Object osg::Node osg::Group osg::Transform osg::MatrixTransform osgPresentation::Group osgPresentation::Layer" )
|
||||
{
|
||||
}
|
||||
11
src/osgWrappers/serializers/osgPresentation/Presentation.cpp
Normal file
11
src/osgWrappers/serializers/osgPresentation/Presentation.cpp
Normal file
@@ -0,0 +1,11 @@
|
||||
#include <osgPresentation/Presentation>
|
||||
#include <osgDB/ObjectWrapper>
|
||||
#include <osgDB/InputStream>
|
||||
#include <osgDB/OutputStream>
|
||||
|
||||
REGISTER_OBJECT_WRAPPER( Presentation,
|
||||
new osgPresentation::Presentation,
|
||||
osgPresentation::Presentation,
|
||||
"osg::Object osg::Node osg::Group osg::Transform osg::MatrixTransform osgPresentation::Group osgPresentation::Presentation" )
|
||||
{
|
||||
}
|
||||
11
src/osgWrappers/serializers/osgPresentation/Section.cpp
Normal file
11
src/osgWrappers/serializers/osgPresentation/Section.cpp
Normal file
@@ -0,0 +1,11 @@
|
||||
#include <osgPresentation/Section>
|
||||
#include <osgDB/ObjectWrapper>
|
||||
#include <osgDB/InputStream>
|
||||
#include <osgDB/OutputStream>
|
||||
|
||||
REGISTER_OBJECT_WRAPPER( Section,
|
||||
new osgPresentation::Section,
|
||||
osgPresentation::Section,
|
||||
"osg::Object osg::Node osg::Group osg::Transform osg::MatrixTransform osgPresentation::Group osgPresentation::Section" )
|
||||
{
|
||||
}
|
||||
11
src/osgWrappers/serializers/osgPresentation/Slide.cpp
Normal file
11
src/osgWrappers/serializers/osgPresentation/Slide.cpp
Normal file
@@ -0,0 +1,11 @@
|
||||
#include <osgPresentation/Slide>
|
||||
#include <osgDB/ObjectWrapper>
|
||||
#include <osgDB/InputStream>
|
||||
#include <osgDB/OutputStream>
|
||||
|
||||
REGISTER_OBJECT_WRAPPER( Slide,
|
||||
new osgPresentation::Slide,
|
||||
osgPresentation::Slide,
|
||||
"osg::Object osg::Node osg::Group osg::Transform osg::MatrixTransform osgPresentation::Group osgPresentation::Slide" )
|
||||
{
|
||||
}
|
||||
Reference in New Issue
Block a user