MeVisLab Toolbox Reference
SbGroundplane.h
Go to the documentation of this file.
1/*
2 *
3 _______________________________________________________________________
4 ____________ W W W . A W A K E I D E A S . C O M ______________
5 |
6 |
7 | Description:
8 | ...
9 |
10 | Author(s) : Felix Ritter
11 |
12 ____________ W W W . A W A K E I D E A S . C O M ______________
13 _______________________________________________________________________
14 */
15
16#ifndef _SbGroundplane_H
17#define _SbGroundplane_H
18
19#include "SoShadowSystem.h"
20
22
24{
25 protected:
26 SbVec3f _vertices[4];
27
28 public:
30 SbGroundplane(const SbVec3f &v1, const SbVec3f &v2, const SbVec3f &v3, const SbVec3f &v4);
32
33 void setBounds(const SbVec3f &v1, const SbVec3f &v2, const SbVec3f &v3, const SbVec3f &v4);
34 void getBounds(SbVec3f &v1, SbVec3f &v2, SbVec3f &v3, SbVec3f &v4) const;
35
37 SbVec3f &operator [](int i) { return _vertices[i]; }
38 const SbVec3f &operator [](int i) const { return _vertices[i]; }
39
40 friend int operator ==(const SbGroundplane &gp1, const SbGroundplane &gp2);
41 friend int operator !=(const SbGroundplane &gp1, const SbGroundplane &gp2);
42};
43
45
46#endif // _SbGroundplane_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.
void getBounds(SbVec3f &v1, SbVec3f &v2, SbVec3f &v3, SbVec3f &v4) const
void setBounds(const SbVec3f &v1, const SbVec3f &v2, const SbVec3f &v3, const SbVec3f &v4)
SbGroundplane(const SbVec3f &v1, const SbVec3f &v2, const SbVec3f &v3, const SbVec3f &v4)
Target mlrange_cast(Source arg)
Generic version of checked ML casts.