MeVisLab Toolbox Reference
SoShadowCast.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 _SoShadowCast_H
19#define _SoShadowCast_H
20
21#include "SoShadowSystem.h"
23
25
27{
28 typedef SoCast inherited;
29
30 SO_NODE_HEADER(SoShadowCast);
31
32 private:
33 void normalRenderSetup(SoGLRenderAction *) override;
34 void castRenderSetup(SoGLRenderAction *) override;
35
36 protected:
37 virtual ~SoShadowCast();
38
39 public:
42
45
47
48 SoEXTENDER public:
50
51 SoINTERNAL public:
52 static void initClass();
53};
54
56
57#endif // _SoShadowCast_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.
virtual void castRenderSetup(SoGLRenderAction *)
virtual void normalRenderSetup(SoGLRenderAction *)
Definition SoCast.h:70
SoSFBool planeRender
Enable/disable rendering of plane. Defaults to (TRUE).
virtual ~SoShadowCast()
static void initClass()
SoSFColor planeColor
Color of groundplane. Defaults to (0.89, 0.86, 0.70)
void commonGLRender(SoGLRenderAction *action) override
Target mlrange_cast(Source arg)
Generic version of checked ML casts.