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>
34typedef SbBool SoForeignFileIdentifyFunc(
const char *);
36class 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;
The SbName class stores strings by reference.
Definition SbName.h:31
The SoBaseKit class is the toplevel superclass for nodekits.
Definition SoBaseKit.h:57
Abstract base class for foreign file format support in Coin.
Definition SoForeignFileKit.h:38
The SoNode class is the base class for nodes used in scene graphs.
Definition SoNode.h:47
static void initClasses(void)
Definition SoNode.cpp:533
The SoSFString class is a container for an SbString.
Definition SoSFString.h:31
The SoType class is the basis for the run-time type system in Coin.
Definition SoType.h:50
Copyright © 1998-2010 by Kongsberg Oil & Gas Technologies. All rights reserved.
Generated on Wed Jul 17 2024 for Coin by Doxygen 1.12.0.