LibCarna Version 3.4.0
Loading...
Searching...
No Matches
PointMarkerHelperTest.hpp
1/*
2 * Copyright (C) 2010 - 2016 Leonid Kostrykin
3 *
4 * Chair of Medical Engineering (mediTEC)
5 * RWTH Aachen University
6 * Pauwelsstr. 20
7 * 52074 Aachen
8 * Germany
9 *
10 *
11 * Copyright (C) 2021 - 2025 Leonid Kostrykin
12 *
13 */
14
15#pragma once
16
17#include <LibCarna/LibCarna.hpp>
19
20namespace LibCarna
21{
22
23namespace testing
24{
25
26
27
28// ----------------------------------------------------------------------------------
29// PointMarkerHelperTest
30// ----------------------------------------------------------------------------------
31
37class PointMarkerHelperTest : public QObject
38{
39
40 Q_OBJECT
41
42private slots:
43
46 void initTestCase();
47
50 void cleanupTestCase();
51
54 void init();
55
58 void cleanup();
59
60 // ---------------------------------------------------------------------------------
61
62 void test_multiple();
63
64 void test_fixed_color();
65
66 // ---------------------------------------------------------------------------------
67
68private:
69
70 const static unsigned int GEOMETRY_TYPE_OPAQUE = 1;
71
72 std::unique_ptr< QGLContextHolder > qglContextHolder;
73 std::unique_ptr< TestFramebuffer > testFramebuffer;
74 std::unique_ptr< base::FrameRenderer > renderer;
76
77 std::unique_ptr< base::Node > root;
78 std::unique_ptr< base::Camera > cam;
79
80}; // PointMarkerHelperTest
81
82
83
84} // namespace testing
85
86} // namespace LibCarna
Contains forward-declarations.
Defines LibCarna::presets::OpaqueRenderingStage.
Represents an association.
Module-tests of the LibCarna::helpers::PointMarkerHelper class.