Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
CAMP
campvis-public
Commits
275121a4
Commit
275121a4
authored
Aug 19, 2013
by
Christian Schulte zu Berge
Browse files
fixed RenderTargetCompositor using anonymous enum as field
parent
82b8a7d8
Changes
2
Hide whitespace changes
Inline
Side-by-side
modules/vis/processors/rendertargetcompositor.cpp
View file @
275121a4
...
...
@@ -43,12 +43,12 @@
namespace
campvis
{
static
const
GenericOption
<
CompositingMode
>
compositingOptions
[
5
]
=
{
GenericOption
<
CompositingMode
>
(
"first"
,
"Only First"
,
CompositingModeFirst
),
GenericOption
<
CompositingMode
>
(
"second"
,
"Only Second"
,
CompositingModeSecond
),
GenericOption
<
CompositingMode
>
(
"alpha"
,
"Alpha Blending"
,
CompositingModeAlpha
),
GenericOption
<
CompositingMode
>
(
"diff"
,
"Difference"
,
CompositingModeDifference
),
GenericOption
<
CompositingMode
>
(
"depth"
,
"Depth Test"
,
CompositingModeDepth
)
static
const
GenericOption
<
RenderTargetCompositor
::
CompositingMode
>
compositingOptions
[
5
]
=
{
GenericOption
<
RenderTargetCompositor
::
CompositingMode
>
(
"first"
,
"Only First"
,
RenderTargetCompositor
::
CompositingModeFirst
),
GenericOption
<
RenderTargetCompositor
::
CompositingMode
>
(
"second"
,
"Only Second"
,
RenderTargetCompositor
::
CompositingModeSecond
),
GenericOption
<
RenderTargetCompositor
::
CompositingMode
>
(
"alpha"
,
"Alpha Blending"
,
RenderTargetCompositor
::
CompositingModeAlpha
),
GenericOption
<
RenderTargetCompositor
::
CompositingMode
>
(
"diff"
,
"Difference"
,
RenderTargetCompositor
::
CompositingModeDifference
),
GenericOption
<
RenderTargetCompositor
::
CompositingMode
>
(
"depth"
,
"Depth Test"
,
RenderTargetCompositor
::
CompositingModeDepth
)
};
const
std
::
string
RenderTargetCompositor
::
loggerCat_
=
"CAMPVis.modules.vis.RenderTargetCompositor"
;
...
...
modules/vis/processors/rendertargetcompositor.h
View file @
275121a4
...
...
@@ -45,7 +45,11 @@ namespace tgt {
namespace
campvis
{
class
ImageData
;
namespace
{
/**
* Performs the composition of a multiple render targets
*/
class
RenderTargetCompositor
:
public
VisualizationProcessor
,
public
HasProcessorDecorators
{
public:
enum
CompositingMode
{
CompositingModeFirst
=
0
,
CompositingModeSecond
=
1
,
...
...
@@ -53,13 +57,7 @@ namespace campvis {
CompositingModeDifference
=
3
,
CompositingModeDepth
=
4
};
}
/**
* Performs the composition of a multiple render targets
*/
class
RenderTargetCompositor
:
public
VisualizationProcessor
,
public
HasProcessorDecorators
{
public:
/**
* Constructs a new RenderTargetCompositor Processor
**/
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment