From Tree, mods to help support the creation of Java bindings.

This commit is contained in:
Robert Osfield
2002-12-06 09:44:11 +00:00
parent 00871ba948
commit 1be82ec697
5 changed files with 16 additions and 12 deletions

View File

@@ -43,12 +43,6 @@ class SG_EXPORT ConvexPlanarOccluder : public Object
const HoleList& getHoleList() const { return _holeList; }
void computeAttributes();
void computeBound(BoundingBox& bb) const;
void computeBound(BoundingSphere& bs) const;
protected:
~ConvexPlanarOccluder() {}

View File

@@ -78,12 +78,12 @@ class SG_EXPORT GeoSet : public Drawable
};
struct IndexPointer
struct SG_EXPORT IndexPointer
{
mutable uint _size;
bool _is_ushort;
union
union _TPtr
{
GLushort* _ushort;
GLuint* _uint;
@@ -315,7 +315,7 @@ class SG_EXPORT GeoSet : public Drawable
* momory attached to the GeoSet is owned by this GeoSet and can be deleted
* using delete []. If this is not the cause derive your own AttributeDeleteFunctor
* a specify your own memory deletion operation.*/
struct AttributeDeleteFunctor : public osg::Referenced
struct SG_EXPORT AttributeDeleteFunctor : public osg::Referenced
{
// see GeoSet.cpp for implemention.
virtual void operator() (GeoSet* gset);

View File

@@ -341,7 +341,17 @@ class Cylinder : public Shape
class InfinitePlane : public Shape, public Plane
{
public:
InfinitePlane() {}
InfinitePlane(const InfinitePlane& plane,const CopyOp& copyop=CopyOp::SHALLOW_COPY):
Shape(plane,copyop),
Plane(plane) {}
META_Shape(osg, InfinitePlane)
protected:
virtual ~InfinitePlane() {}
};
class TriangleMesh : public Shape

View File

@@ -2,7 +2,7 @@
//Distributed under the terms of the GNU Library General Public License (LGPL)
//as published by the Free Software Foundation.
#ifndef OSGUTIL_DISPLAYEQUIREMENTSVISITOR
#ifndef OSGUTIL_DISPLAYREQUIREMENTSVISITOR
#define OSGUTIL_DISPLAYREQUIREMENTSVISITOR 1
#include <osg/NodeVisitor>

View File

@@ -95,7 +95,7 @@ class OSGUTIL_EXPORT IntersectVisitor : public osg::NodeVisitor
protected:
/** \internal JAVA: SUPPRESS UNBRIDGABLE :JAVA */
class IntersectState : public osg::Referenced
{
public: