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.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
The SoPrimitiveVertex class represents a single vertex of a generated primitive.Instances of SoPrimit...
Definition: SoPrimitiveVertex.h:43
virtual SbBool readFile(const char *filename)
Definition: SoForeignFileKit.cpp:332
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:40
virtual SbBool writeFile(const char *filename)
Definition: SoForeignFileKit.cpp:352
virtual SbBool canReadFile(const char *filename=NULL) const
Definition: SoForeignFileKit.cpp:321
The SoNode class is the base class for nodes used in scene graphs.Coin is a retained mode 3D visualiz...
Definition: SoNode.h:56
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: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.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:39
The SbVec3f class is a 3 dimensional vector with floating point coordinates.This vector class is used...
Definition: SbVec3f.h:51
virtual SbBool canWriteFile(const char *filename=NULL) const
Definition: SoForeignFileKit.cpp:341
The SoCallbackAction class invokes callbacks at specific nodes.This action has mechanisms for trackin...
Definition: SoCallbackAction.h:80
The SoSeparator class is a state-preserving group node.Subgraphs parented by SoSeparator nodes will n...
Definition: SoSeparator.h:44
virtual class SoSeparator * convert()=0