1 #ifndef COIN_SOFOREIGNFILEKIT_H 2 #define COIN_SOFOREIGNFILEKIT_H 36 #include <Inventor/SbBasic.h> 38 #include <Inventor/nodekits/SoSubKit.h> 39 #include <Inventor/nodekits/SoBaseKit.h> 41 typedef SbBool SoForeignFileIdentifyFunc(
const char *);
43 class SoForeignFileKitP;
49 SO_KIT_CATALOG_ENTRY_HEADER(topSeparator);
52 static void initClass(
void);
54 static SbBool isFileSupported(
SoInput * in, SbBool exhaust = FALSE);
55 static SbBool isFileSupported(
const char * filename, SbBool exhaust = FALSE);
58 static SoForeignFileKit * createForeignFileKit(
const char * filename, SbBool exhaust = FALSE);
61 virtual SbBool canReadFile(
const char * filename = NULL)
const;
62 virtual SbBool readFile(
const char * filename);
64 virtual SbBool canWriteFile(
const char * filename = NULL)
const;
65 virtual SbBool writeFile(
const char * filename);
79 static SbBool registerFileExtension(
SoType handler,
SbName extension, SoForeignFileIdentifyFunc * identify);
82 SoForeignFileKitP * pimpl;
86 #endif // !COIN_SOFOREIGNFILEKIT_H The SoBaseKit class is the toplevel superclass for nodekits.Node kits are collections of nodes and ot...
Definition: SoBaseKit.h:66
Abstract base class for foreign file format support in Coin.
Definition: SoForeignFileKit.h:45
static void initClasses(void)
Definition: SoNode.cpp:542
The SoSeparator class is a state-preserving group node.Subgraphs parented by SoSeparator nodes will n...
Definition: SoSeparator.h:44
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:59
The SbName class stores strings by reference.The class is used by Coin for storing keywords...
Definition: SbName.h:40