1 #ifndef COIN_SOFOREIGNFILEKIT_H 
    2 #define COIN_SOFOREIGNFILEKIT_H 
   27 #include <Inventor/SbBasic.h> 
   29 #include <Inventor/nodekits/SoSubKit.h> 
   30 #include <Inventor/nodekits/SoBaseKit.h> 
   32 #include <Inventor/fields/SoSFString.h> 
   34 typedef SbBool SoForeignFileIdentifyFunc(
const char *);
 
   36 class SoForeignFileKitP;
 
   42   SO_KIT_CATALOG_ENTRY_HEADER(topSeparator);
 
   45   static void initClass(
void);
 
   49   static SbBool isFileSupported(
SoInput * in, SbBool exhaust = FALSE);
 
   52   static SbBool isFileSupported(
const char * filename, SbBool exhaust = FALSE);
 
   53   static SoForeignFileKit * createForeignFileKit(
const char * filename, SbBool exhaust = FALSE);
 
   56   virtual SbBool canReadFile(
const char * filename = NULL) 
const;
 
   57   virtual SbBool readFile(
const char * filename);
 
   58   virtual SbBool canReadScene(
void) 
const;
 
   59   virtual SbBool readScene(
SoNode * scene);
 
   61   virtual SbBool canWriteFile(
const char * filename = NULL) 
const;
 
   62   virtual SbBool writeFile(
const char * filename);
 
   63   virtual SbBool canWriteScene(
const char * format = NULL) 
const;
 
   64   virtual SbBool writeScene(
SoNode *& root, 
const char * format = NULL);
 
   72   static SbBool registerFileExtension(
SoType handler, 
SbName extension, SoForeignFileIdentifyFunc * identify);
 
   75   SoForeignFileKitP * pimpl;
 
   79 #endif // !COIN_SOFOREIGNFILEKIT_H 
The SoBaseKit class is the toplevel superclass for nodekits.Node kits are collections of nodes and ot...
Definition: SoBaseKit.h:57
Abstract base class for foreign file format support in Coin. 
Definition: SoForeignFileKit.h:38
The SoSFString class is a container for an SbString.This field is used where nodes, engines or other field containers needs to store a single string. 
Definition: SoSFString.h:31
The SoNode class is the base class for nodes used in scene graphs.Coin is a retained mode 3D visualiz...
Definition: SoNode.h:47
static void initClasses(void)
Definition: SoNode.cpp:533
The SoType class is the basis for the run-time type system in Coin.Many of the classes in the Coin li...
Definition: SoType.h:50
The SbName class stores strings by reference.The class is used by Coin for storing keywords...
Definition: SbName.h:31