Main Page
Classes
Files
File List
include
dime
entities
3DFace.h
1
/**************************************************************************\
2
*
3
* FILE: 3DFace.h
4
*
5
* This source file is part of DIME.
6
* Copyright (C) 1998-1999 by Systems In Motion. All rights reserved.
7
*
8
* This library is free software; you can redistribute it and/or modify it
9
* under the terms of the GNU General Public License, version 2, as
10
* published by the Free Software Foundation.
11
*
12
* This library is distributed in the hope that it will be useful, but
13
* WITHOUT ANY WARRANTY; without even the implied warranty of
14
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15
* General Public License (the accompanying file named COPYING) for more
16
* details.
17
*
18
**************************************************************************
19
*
20
* If you need DIME for a non-GPL project, contact Systems In Motion
21
* to acquire a Professional Edition License:
22
*
23
* Systems In Motion http://www.sim.no/
24
* Prof. Brochs gate 6 sales@sim.no
25
* N-7030 Trondheim Voice: +47 22114160
26
* NORWAY Fax: +47 67172912
27
*
28
\**************************************************************************/
29
30
#ifndef DIME_3DFACE_H
31
#define DIME_3DFACE_H
32
33
#include <dime/Basic.h>
34
#include <dime/entities/FaceEntity.h>
35
#include <dime/util/Linear.h>
36
37
class
DIME_DLL_API
dime3DFace
:
public
dimeFaceEntity
38
{
39
friend
class
dimeEntitiesSection
;
40
friend
class
dimeBlock
;
41
friend
class
dimeModel
;
42
friend
class
dimeEntity
;
43
friend
class
dimeSolid
;
44
friend
class
dimeTrace
;
45
46
public
:
47
dime3DFace
();
48
49
virtual
dimeEntity
*
copy
(
dimeModel
*
const
model)
const
;
50
51
virtual
bool
getRecord
(
const
int
groupcode,
52
dimeParam
¶m,
53
const
int
index = 0)
const
;
54
virtual
const
char
*
getEntityName
()
const
;
55
56
enum
Flags {
57
EDGE1_INVISIBLE = 0x0001,
58
EDGE2_INVISIBLE = 0x0002,
59
EDGE3_INVISIBLE = 0x0004,
60
EDGE4_INVISIBLE = 0x0008
61
};
62
63
void
setFlags(
const
int16 flags);
64
int16 getFlags()
const
;
65
66
virtual
void
print()
const
;
67
virtual
bool
write
(
dimeOutput
*
const
out);
68
virtual
int
typeId
()
const
;
69
virtual
int
countRecords
()
const
;
70
71
protected
:
72
73
virtual
bool
handleRecord
(
const
int
groupcode,
74
const
dimeParam
¶m,
75
dimeMemHandler
*
const
memhandler);
76
77
int16 flags;
78
79
80
public
:
81
#ifndef NO_RR_DATA
82
class
dimeBlock
*block;
// ugly, needed for RR
83
#endif
84
};
// class dime3DFace
85
86
#endif // ! DIME_3DFACE_H
87
Copyright © 1998-1999,
Systems In Motion
<
sales@sim.no
>. All rights reserved.
System documentation was generated using
doxygen
.