1 #ifndef COIN_SOSTLFILEKIT_H
2 #define COIN_SOSTLFILEKIT_H
27 #include <Inventor/SbBasic.h>
29 #include <Inventor/fields/SoSFString.h>
30 #include <Inventor/fields/SoSFBool.h>
31 #include <Inventor/fields/SoSFEnum.h>
33 #include <ForeignFiles/SoForeignFileKit.h>
44 SO_KIT_CATALOG_ENTRY_HEADER(shapehints);
45 SO_KIT_CATALOG_ENTRY_HEADER(texture);
46 SO_KIT_CATALOG_ENTRY_HEADER(normalbinding);
47 SO_KIT_CATALOG_ENTRY_HEADER(normals);
48 SO_KIT_CATALOG_ENTRY_HEADER(materialbinding);
49 SO_KIT_CATALOG_ENTRY_HEADER(material);
50 SO_KIT_CATALOG_ENTRY_HEADER(coordinates);
51 SO_KIT_CATALOG_ENTRY_HEADER(facets);
54 static void initClass(
void);
57 enum Colorization { GREY, MATERIALISE, TNO_VISICAM };
63 static SbBool identify(
const char * filename);
64 virtual SbBool canReadFile(
const char * filename = NULL)
const;
65 virtual SbBool readFile(
const char * filename);
66 virtual SbBool canReadScene(
void)
const;
67 virtual SbBool readScene(
SoNode * scene);
69 virtual SbBool canWriteFile(
const char * filename = NULL)
const;
70 virtual SbBool writeFile(
const char * filename);
71 virtual SbBool canWriteScene(
const char * format = NULL)
const;
72 virtual SbBool writeScene(
SoNode *& root,
const char * format = NULL);
80 void organizeModel(
void);
83 SoSTLFileKitP * pimpl;
90 #endif // !COIN_SOSTLFILEKIT_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 SoPrimitiveVertex class represents a single vertex of a generated primitive.Instances of SoPrimit...
Definition: SoPrimitiveVertex.h:34
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
The SoSFEnum class is a container for an enum value.This field is used where nodes, engines or other field containers needs to store one particular value out of an enumerated set.
Definition: SoSFEnum.h:31
SoSTLFileKit is a class for using STL files with Coin.
Definition: SoSTLFileKit.h:40
The SoSFBool class is a container for an SbBool value.This field is used where nodes, engines or other field containers needs to store a boolean on/off or TRUE/FALSE value, like for instance as the "on" field of the SoPointLight, SoSpotLight and SoDirectionalLight node classes.
Definition: SoSFBool.h:30
The SbVec3f class is a 3 dimensional vector with floating point coordinates.This vector class is used...
Definition: SbVec3f.h:40
The SoCallbackAction class invokes callbacks at specific nodes.This action has mechanisms for trackin...
Definition: SoCallbackAction.h:71