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/SingleOutput.h | |
| download | openparsec-main.tar.xz openparsec-main.zip | |
Diffstat (limited to 'tool_src/BspLib/SingleOutput.h')
| -rw-r--r-- | tool_src/BspLib/SingleOutput.h | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/tool_src/BspLib/SingleOutput.h b/tool_src/BspLib/SingleOutput.h new file mode 100644 index 0000000..4296c42 --- /dev/null +++ b/tool_src/BspLib/SingleOutput.h @@ -0,0 +1,44 @@ +//----------------------------------------------------------------------------- +// BSPLIB HEADER: SingleOutput.h +// +// Copyright (c) 1997 by Markus Hadwiger +// All Rights Reserved. +//----------------------------------------------------------------------------- + +#ifndef _SINGLEOUTPUT_H_ +#define _SINGLEOUTPUT_H_ + +// bsplib header files +#include "BspLibDefs.h" +#include "BspObject.h" +#include "OutputData3D.h" +#include "SingleFormat.h" + + +BSPLIB_NAMESPACE_BEGIN + + +// class providing single format type output capability ----------------------- +// +class SingleOutput : public OutputData3D, public virtual SingleFormat { + +protected: + SingleOutput( BspObjectList objectlist, const char *filename ); + ~SingleOutput(); + + SingleOutput& operator =( const SingleOutput& copyobj ); + + void InitOutput(); + virtual int WriteOutputFile(); + +protected: + BspObject* m_baseobject; + FileAccess m_output; +}; + + +BSPLIB_NAMESPACE_END + + +#endif // _SINGLEOUTPUT_H_ + |
