Added first cut at new AutoTransform node which will be used for generating

Transform's during the cull traversal such as for earth/sky etc.
This commit is contained in:
Robert Osfield 2002-02-03 11:38:20 +00:00
parent cc39c462de
commit af968b00bd
4 changed files with 12 additions and 3 deletions

View File

@ -97,6 +97,10 @@ SOURCE=..\..\src\osg\AlphaFunc.cpp
# End Source File
# Begin Source File
SOURCE=..\..\src\osg\AutoTransform.cpp
# End Source File
# Begin Source File
SOURCE=..\..\src\osg\Billboard.cpp
# End Source File
# Begin Source File
@ -325,6 +329,10 @@ SOURCE=..\..\Include\Osg\AlphaFunc
# End Source File
# Begin Source File
SOURCE=..\..\Include\Osg\AutoTransform
# End Source File
# Begin Source File
SOURCE=..\..\Include\Osg\Billboard
# End Source File
# Begin Source File

View File

@ -15,8 +15,8 @@ class Billboard;
class LightSource;
class Group;
class Transform;
class AutoTransform;
class LOD;
class Sequence;
class Switch;
class Impostor;
class EarthSky;
@ -141,8 +141,8 @@ class SG_EXPORT NodeVisitor : public Referenced
virtual void apply(Group& node) { apply((Node&)node); }
virtual void apply(Transform& node) { apply((Group&)node); }
virtual void apply(AutoTransform& node) { apply((Group&)node); }
virtual void apply(Switch& node) { apply((Group&)node); }
virtual void apply(Sequence& node) { apply((Group&)node); }
virtual void apply(LOD& node) { apply((Group&)node); }
virtual void apply(Impostor& node) { apply((LOD&)node); }
virtual void apply(EarthSky& node) { apply((Group&)node); }

View File

@ -3,6 +3,7 @@ include $(OSGHOME)/Make/makedefs
C++FILES = \
AlphaFunc.cpp\
AutoTransform.cpp\
Billboard.cpp\
BoundingBox.cpp\
BoundingSphere.cpp\
@ -67,6 +68,7 @@ TARGET_LIB_FILES = lib$(TARGET_BASENAME).$(SO_EXT)
TARGET_INCLUDE_FILES = \
osg/Notify\
osg/AlphaFunc\
osg/AutoTransform\
osg/Billboard\
osg/BoundingBox\
osg/BoundingSphere\

View File

@ -61,7 +61,6 @@ class PrintVisitor : public NodeVisitor
virtual void apply(Group& node) { apply((Node&)node); }
virtual void apply(Transform& node) { apply((Group&)node); }
virtual void apply(Switch& node) { apply((Group&)node); }
virtual void apply(Sequence& node) { apply((Group&)node); }
virtual void apply(LOD& node) { apply((Group&)node); }
virtual void apply(Impostor& node) { apply((LOD&)node); }