1 #ifndef COIN_SOSTLFILEKIT_H 2 #define COIN_SOSTLFILEKIT_H 36 #include <Inventor/SbBasic.h> 38 #include <Inventor/fields/SoSFString.h> 39 #include <Inventor/fields/SoSFBool.h> 40 #include <Inventor/fields/SoSFEnum.h> 53 SO_KIT_CATALOG_ENTRY_HEADER(shapehints);
54 SO_KIT_CATALOG_ENTRY_HEADER(texture);
55 SO_KIT_CATALOG_ENTRY_HEADER(normalbinding);
56 SO_KIT_CATALOG_ENTRY_HEADER(normals);
57 SO_KIT_CATALOG_ENTRY_HEADER(materialbinding);
58 SO_KIT_CATALOG_ENTRY_HEADER(material);
59 SO_KIT_CATALOG_ENTRY_HEADER(coordinates);
60 SO_KIT_CATALOG_ENTRY_HEADER(facets);
63 static void initClass(
void);
66 enum Colorization { GREY, MATERIALISE, TNO_VISICAM };
72 static SbBool identify(
const char * filename);
73 virtual SbBool
canReadFile(
const char * filename = NULL)
const;
74 virtual SbBool
readFile(
const char * filename);
76 virtual SbBool
canWriteFile(
const char * filename = NULL)
const;
77 virtual SbBool
writeFile(
const char * filename);
80 SbBool canReadScene(
void)
const;
81 SbBool readScene(
SoNode * scene);
90 void organizeModel(
void);
93 SoSTLFileKitP * pimpl;
100 #endif // !COIN_SOSTLFILEKIT_H The SoBaseKit class is the toplevel superclass for nodekits.
Definition: SoBaseKit.h:66
Abstract base class for foreign file format support in Coin.
Definition: SoForeignFileKit.h:45
The SoPrimitiveVertex class represents a single vertex of a generated primitive.
Definition: SoPrimitiveVertex.h:43
virtual SbBool readFile(const char *filename)
Definition: SoForeignFileKit.cpp:332
The SoSFString class is a container for an SbString.
Definition: SoSFString.h:40
virtual SbBool writeFile(const char *filename)
Definition: SoForeignFileKit.cpp:352
The SoNode class is the base class for nodes used in scene graphs.
Definition: SoNode.h:56
The SoSFEnum class is a container for an enum value.
Definition: SoSFEnum.h:40
SoSTLFileKit is a class for using STL files with Coin.
Definition: SoSTLFileKit.h:49
The SoSFBool class is a container for an SbBool value.
Definition: SoSFBool.h:39
virtual SbBool canReadFile(const char *filename=NULL) const
Definition: SoForeignFileKit.cpp:321
The SbVec3f class is a 3 dimensional vector with floating point coordinates.
Definition: SbVec3f.h:51
The SoCallbackAction class invokes callbacks at specific nodes.
Definition: SoCallbackAction.h:80
The SoSeparator class is a state-preserving group node.
Definition: SoSeparator.h:44
virtual class SoSeparator * convert()=0
virtual SbBool canWriteFile(const char *filename=NULL) const
Definition: SoForeignFileKit.cpp:341