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>
42#include <Inventor/annex/ForeignFiles/SoForeignFileKit.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);
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;
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
Abstract base class for foreign file format support in Coin.
Definition SoForeignFileKit.h:45
virtual class SoSeparator * convert()=0
static void initClass(void)
Definition SoForeignFileKit.cpp:125
virtual SbBool readFile(const char *filename)
Definition SoForeignFileKit.cpp:334
virtual SbBool writeFile(const char *filename)
Definition SoForeignFileKit.cpp:354
virtual SbBool canWriteFile(const char *filename=NULL) const
Definition SoForeignFileKit.cpp:343
virtual SbBool canReadFile(const char *filename=NULL) const
Definition SoForeignFileKit.cpp:323
The SoNode class is the base class for nodes used in scene graphs.
Definition SoNode.h:56
The SoPrimitiveVertex class represents a single vertex of a generated primitive.
Definition SoPrimitiveVertex.h:43
The SoSFBool class is a container for an SbBool value.
Definition SoSFBool.h:39
The SoSFEnum class is a container for an enum value.
Definition SoSFEnum.h:40
The SoSFString class is a container for an SbString.
Definition SoSFString.h:40
SoSTLFileKit is a class for using STL files with Coin.
Definition SoSTLFileKit.h:49
The SoSeparator class is a state-preserving group node.
Definition SoSeparator.h:44