00001 #ifndef COIN_SORESETTRANSFORM_H
00002 #define COIN_SORESETTRANSFORM_H
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027 #include <Inventor/nodes/SoSubNode.h>
00028 #include <Inventor/nodes/SoTransformation.h>
00029 #include <Inventor/fields/SoSFBitMask.h>
00030
00031 class COIN_DLL_API SoResetTransform : public SoTransformation {
00032 typedef SoTransformation inherited;
00033
00034 SO_NODE_HEADER(SoResetTransform);
00035
00036 public:
00037 static void initClass(void);
00038 SoResetTransform(void);
00039
00040
00041 enum ResetType {
00042 TRANSFORM = 0x01,
00043 BBOX = 0x02
00044 };
00045
00046 SoSFBitMask whatToReset;
00047
00048 virtual void doAction(SoAction * action);
00049 virtual void callback(SoCallbackAction * action);
00050 virtual void GLRender(SoGLRenderAction * action);
00051 virtual void getBoundingBox(SoGetBoundingBoxAction * action);
00052 virtual void getMatrix(SoGetMatrixAction * action);
00053 virtual void pick(SoPickAction * action);
00054 virtual void getPrimitiveCount(SoGetPrimitiveCountAction * action);
00055
00056 protected:
00057 virtual ~SoResetTransform();
00058 };
00059
00060 #endif // !COIN_SORESETTRANSFORM_H