00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019 #ifndef RIBSTUFFTRAVERSER_H
00020 #define RIBSTUFFTRAVERSER_H
00021
00022 #include <pandabase.h>
00023
00024 #include <traverserVisitor.h>
00025 #include <renderRelation.h>
00026 #include <allAttributesWrapper.h>
00027 #include <allTransitionsWrapper.h>
00028 #include <nullLevelState.h>
00029
00030 class RIBGraphicsStateGuardian;
00031
00032
00033
00034
00035
00036 class RibStuffTraverser :
00037 public TraverserVisitor<AllTransitionsWrapper, NullLevelState> {
00038 public:
00039 RibStuffTraverser(RIBGraphicsStateGuardian *gsg) : _gsg(gsg) { }
00040 bool reached_node(Node *node, AllAttributesWrapper &state,
00041 NullLevelState &);
00042
00043 public:
00044 RIBGraphicsStateGuardian *_gsg;
00045 };
00046
00047 #endif
00048