Added class shells for osgTerrain::Locator and osgTerrain::Layer classes

This commit is contained in:
Robert Osfield
2007-03-14 12:00:54 +00:00
parent c489b0af2c
commit 2fae221f2d
7 changed files with 173 additions and 0 deletions

View File

@@ -8,6 +8,8 @@ SET(LIB_NAME osgTerrain)
SET(HEADER_PATH ${OpenSceneGraph_SOURCE_DIR}/include/${LIB_NAME})
SET(LIB_PUBLIC_HEADERS
${HEADER_PATH}/Export
${HEADER_PATH}/Locator
${HEADER_PATH}/Layer
${HEADER_PATH}/TerrainNode
${HEADER_PATH}/TerrainTechnique
${HEADER_PATH}/Version
@@ -17,6 +19,8 @@ SET(LIB_PUBLIC_HEADERS
ADD_LIBRARY(${LIB_NAME}
${OPENSCENEGRAPH_USER_DEFINED_DYNAMIC_OR_STATIC}
${LIB_PUBLIC_HEADERS}
Layer.cpp
Locator.cpp
TerrainNode.cpp
TerrainTechnique.cpp
Version.cpp

View File

@@ -3,6 +3,8 @@ include $(TOPDIR)/Make/makedefs
CXXFILES = \
Locator.cpp\
Layer.cpp\
TerrainNode.cpp\
TerrainTechnique.cpp\
Version.cpp\

29
src/osgTerrain/Layer.cpp Normal file
View File

@@ -0,0 +1,29 @@
/* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2006 Robert Osfield
*
* This library is open source and may be redistributed and/or modified under
* the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or
* (at your option) any later version. The full license is in LICENSE file
* included with this distribution, and on the openscenegraph.org website.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* OpenSceneGraph Public License for more details.
*/
#include <osgTerrain/Layer>
using namespace osgTerrain;
Layer::Layer()
{
}
Layer::Layer(const Layer& Layer,const osg::CopyOp& copyop):
osg::Object(Layer,copyop)
{
}
Layer::~Layer()
{
}

View File

@@ -0,0 +1,29 @@
/* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2006 Robert Osfield
*
* This library is open source and may be redistributed and/or modified under
* the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or
* (at your option) any later version. The full license is in LICENSE file
* included with this distribution, and on the openscenegraph.org website.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* OpenSceneGraph Public License for more details.
*/
#include <osgTerrain/Locator>
using namespace osgTerrain;
Locator::Locator()
{
}
Locator::Locator(const Locator& Locator,const osg::CopyOp& copyop):
osg::Object(Locator,copyop)
{
}
Locator::~Locator()
{
}