Carna Version 3.3.3
Loading...
Searching...
No Matches
PointMarkerHelperTest.h
1/*
2 * Copyright (C) 2010 - 2015 Leonid Kostrykin
3 *
4 * Chair of Medical Engineering (mediTEC)
5 * RWTH Aachen University
6 * Pauwelsstr. 20
7 * 52074 Aachen
8 * Germany
9 *
10 */
11
12#pragma once
13
14#include <Carna/Carna.h>
16
17namespace Carna
18{
19
20namespace testing
21{
22
23
24
25// ----------------------------------------------------------------------------------
26// PointMarkerHelperTest
27// ----------------------------------------------------------------------------------
28
35class PointMarkerHelperTest : public QObject
36{
37
38 Q_OBJECT
39
40private slots:
41
44 void initTestCase();
45
48 void cleanupTestCase();
49
52 void init();
53
56 void cleanup();
57
58 // ---------------------------------------------------------------------------------
59
60 void test_multiple();
61
62 void test_fixed_color();
63
64 // ---------------------------------------------------------------------------------
65
66private:
67
68 const static unsigned int GEOMETRY_TYPE_OPAQUE = 1;
69
70 std::unique_ptr< QGLContextHolder > qglContextHolder;
71 std::unique_ptr< TestFramebuffer > testFramebuffer;
72 std::unique_ptr< base::FrameRenderer > renderer;
74
75 std::unique_ptr< base::Node > root;
76 std::unique_ptr< base::Camera > cam;
77
78}; // PointMarkerHelperTest
79
80
81
82} // namespace testing
83
84} // namespace Carna
Defines Carna::presets::OpaqueRenderingStage.
Represents an association.
Definition Association.h:45
Module-tests of the Carna::helpers::PointMarkerHelper class.