MeVisLab Toolbox Reference
SoShadowFaceDetail.h
Go to the documentation of this file.
1 // Copyright (c) Fraunhofer MEVIS, Germany. All rights reserved.
2 // **InsertLicense** code
3 /*
4  *
5  _______________________________________________________________________
6  ____________ W W W . A W A K E I D E A S . C O M ______________
7  |
8  |
9  | Description:
10  | ...
11  |
12  | Author(s) : Felix Ritter
13  |
14  ____________ W W W . A W A K E I D E A S . C O M ______________
15  _______________________________________________________________________
16  */
17 
18 #ifndef _SoFaceDetailExt_H
19 #define _SoFaceDetailExt_H
20 
21 #include "SoShadowSystem.h"
22 
24 
25 class SOSHADOW_CLASS_SPEC SoShadowFaceDetail : public SoFaceDetail
26 {
27  typedef SoFaceDetail inherited;
28 
29  SO_DETAIL_HEADER(SoShadowFaceDetail);
30 
31  private:
32  SbBool _isInShadow;
33 
34  public:
36  virtual ~SoShadowFaceDetail() {}
37 
38  SbBool isInShadow() const { return _isInShadow; }
39 
42  SoDetail *copy() const override;
43 
44  SoEXTENDER public:
45  void setShadow(SbBool shadow) { _isInShadow= shadow; }
46 
47  SoINTERNAL public:
48  static void initClass();
49 };
50 
52 
53 #endif // _SoFaceDetailExt_H
#define __MEVIS_IV_END_NAMESPACE
Definition: OIVConfig.h:40
#define __MEVIS_IV_BEGIN_NAMESPACE
Definition: OIVConfig.h:39
#define SOSHADOW_CLASS_SPEC
Define a class export specifier needed to make the class exportable in dll's.
static void initClass()
SoDetail * copy() const override
Returns an instance that is a copy of this instance.
void setShadow(SbBool shadow)
SbBool isInShadow() const