aboutsummaryrefslogtreecommitdiff
path: root/tool_src/BspLib/VrmlFile.h
blob: 7b0dfd6578ba702d59614d6e07bc761e55ea809f (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
45
46
47
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_