33 #ifndef __LIBGRID__FILE_IO_STL__
34 #define __LIBGRID__FILE_IO_STL__
51 ISubsetHandler* pSH = NULL,
A generic specialization of IAttachment.
Definition: attachment_pipe.h:263
Manages the elements of a grid and their interconnection.
Definition: grid.h:132
Definition: subset_handler_interface.h:223
bool LoadGridFromSTL(Grid &grid, const char *filename, ISubsetHandler *pSH, AVector3 &aPos, AVector3 &aNormFACE)
loads stl-ascii-files.
Definition: file_io_stl.cpp:48
bool SaveGridToSTL(Grid &grid, const char *filename, ISubsetHandler *pSH, AVector3 &aPos)
Definition: file_io_stl.cpp:106
bool STLFileHasASCIIFormat(const char *filename)
ANormal aNormal("normal", true)
The standard 3d normal type.
Definition: common_attachments.h:94
bool LoadGridFromSTL_ASCII(Grid &grid, const char *filename, ISubsetHandler *pSH=NULL, AVector3 &aPos=aPosition, AVector3 &aNormFACE=aNormal)
APosition aPosition("position", true)
The standard 3d position type.
Definition: common_attachments.h:84
Attachment< vector3 > AVector3
Definition: common_attachments.h:62
bool LoadGridFromSTL_BINARY(Grid &grid, const char *filename, ISubsetHandler *pSH=NULL, AVector3 &aPos=aPosition, AVector3 &aNormFACE=aNormal)