diff options
| author | Felix Morgner <felix.morgner@gmail.com> | 2026-08-24 11:16:07 +0200 |
|---|---|---|
| committer | Felix Morgner <felix.morgner@gmail.com> | 2026-08-24 11:16:07 +0200 |
| commit | c068f22329d5cc722622a2183bbb22eef2093df7 (patch) | |
| tree | 12d56c1aede67988a55e241364606bfbb4dba933 /tool_src/BspLib/VrmlFile.h | |
| download | openparsec-c068f22329d5cc722622a2183bbb22eef2093df7.tar.xz openparsec-c068f22329d5cc722622a2183bbb22eef2093df7.zip | |
Diffstat (limited to 'tool_src/BspLib/VrmlFile.h')
| -rw-r--r-- | tool_src/BspLib/VrmlFile.h | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/tool_src/BspLib/VrmlFile.h b/tool_src/BspLib/VrmlFile.h new file mode 100644 index 0000000..7b0dfd6 --- /dev/null +++ b/tool_src/BspLib/VrmlFile.h @@ -0,0 +1,48 @@ +//----------------------------------------------------------------------------- +// BSPLIB HEADER: VrmlFile.h +// +// Copyright (c) 1997 by Markus Hadwiger +// All Rights Reserved. +//----------------------------------------------------------------------------- + +#ifndef _VRMLFILE_H_ +#define _VRMLFILE_H_ + +// bsplib header files +#include "BspLibDefs.h" +#include "BoundingBox.h" +#include "InputData3D.h" + + +BSPLIB_NAMESPACE_BEGIN + + +class BspObjectList; + +// file manipulation class for vrml format files ------------------------------ +// +class VrmlFile : public InputData3D { + + friend class BRep; + +public: + VrmlFile( BspObjectList objectlist, const char *filename ); + ~VrmlFile(); + + int ParseObjectData(); + int WriteOutputFile(); + +private: + void ApplySceneTransformations(); + void EnforceSceneExtents( BoundingBox& unionbox ); + +private: + BoundingBox* m_bboxlist; +}; + + +BSPLIB_NAMESPACE_END + + +#endif // _VRMLFILE_H_ + |
