SoSeparatorKit.h

00001 /**************************************************************************\
00002  *
00003  *  This file is part of the Coin 3D visualization library.
00004  *  Copyright (C) 1998-2003 by Systems in Motion. All rights reserved.
00005  *
00006  *  This library is free software; you can redistribute it and/or
00007  *  modify it under the terms of the GNU Lesser General Public License
00008  *  version 2.1 as published by the Free Software Foundation. See the
00009  *  file LICENSE.LGPL at the root directory of the distribution for
00010  *  more details.
00011  *
00012  *  If you want to use Coin for applications not compatible with the
00013  *  LGPL, please contact SIM to acquire a Professional Edition license.
00014  *
00015  *  Systems in Motion, Teknobyen, Abels Gate 5, 7030 Trondheim, NORWAY
00016  *  http://www.sim.no support@sim.no Voice: +47 22114160 Fax: +47 22207097
00017  *
00018 \**************************************************************************/
00019 
00020 #ifndef COIN_SOSEPARATORKIT_H
00021 #define COIN_SOSEPARATORKIT_H
00022 
00023 #include <Inventor/nodekits/SoSubKit.h>
00024 #include <Inventor/nodekits/SoBaseKit.h>
00025 #include <Inventor/fields/SoSFEnum.h>
00026 
00027 class COIN_DLL_API SoSeparatorKit : public SoBaseKit {
00028   typedef SoBaseKit inherited;
00029 
00030   SO_KIT_HEADER(SoSeparatorKit);
00031 
00032   SO_KIT_CATALOG_ENTRY_HEADER(appearance);
00033   SO_KIT_CATALOG_ENTRY_HEADER(childList);
00034   SO_KIT_CATALOG_ENTRY_HEADER(pickStyle);
00035   SO_KIT_CATALOG_ENTRY_HEADER(texture2Transform);
00036   SO_KIT_CATALOG_ENTRY_HEADER(topSeparator);
00037   SO_KIT_CATALOG_ENTRY_HEADER(transform);
00038   SO_KIT_CATALOG_ENTRY_HEADER(units);
00039 
00040 public:
00041   SoSeparatorKit(void);
00042 
00043   enum CacheEnabled {
00044     OFF,
00045     ON,
00046     AUTO
00047   };
00048 
00049   SoSFEnum renderCaching;
00050   SoSFEnum boundingBoxCaching;
00051   SoSFEnum renderCulling;
00052   SoSFEnum pickCulling;
00053 
00054   static void initClass(void);
00055 
00056 protected:
00057   virtual ~SoSeparatorKit();
00058   virtual void setDefaultOnNonWritingFields(void);
00059   virtual SbBool setUpConnections(SbBool onoff, SbBool doitalways = FALSE);
00060 
00061 private:
00062   class SoSeparatorKitP * pimpl;
00063   friend class SoSeparatorKitP;
00064 };
00065 
00066 #endif // !COIN_SOSEPARATORKIT_H

Generated on Sat Nov 10 03:30:05 2007 for Coin by  doxygen 1.5.3-20071008