LibCarna Version 3.4.0
Loading...
Searching...
No Matches
OpaqueRenderingStageTest.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// OpaqueRenderingStageTest
30// ----------------------------------------------------------------------------------
31
37class OpaqueRenderingStageTest : 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_fromFront();
63
64 void test_fromBack();
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< TestScene > scene;
75 std::unique_ptr< base::FrameRenderer > renderer;
76
78
79}; // OpaqueRenderingStageTest
80
81
82
83} // namespace testing
84
85} // namespace LibCarna
Contains forward-declarations.
Defines LibCarna::presets::OpaqueRenderingStage.
Represents an association.
Module-tests of the LibCarna::presets::OpaqueRenderingStage class.