aboutsummaryrefslogtreecommitdiff
path: root/tool_src/BspLib/SingleOutput.h
blob: 4296c4289aa713246c4b0d213c1acda873a1ae53 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
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_