VTK  9.7.20261112
vtkStereoCompositor.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2// SPDX-License-Identifier: BSD-3-Clause
14
15#ifndef vtkStereoCompositor_h
16#define vtkStereoCompositor_h
17
18#include "vtkObject.h"
19#include "vtkRenderingCoreModule.h" // For export macro
20#include "vtkWrappingHints.h" // For VTK_MARSHALAUTO
21
22VTK_ABI_NAMESPACE_BEGIN
24
25class VTKRENDERINGCORE_EXPORT VTK_MARSHALAUTO vtkStereoCompositor : public vtkObject
26{
27public:
30 void PrintSelf(ostream& os, vtkIndent indent) override;
31
33
39 bool RedBlue(vtkUnsignedCharArray* rgbLeftNResult, vtkUnsignedCharArray* rgbRight);
40
41 bool Anaglyph(vtkUnsignedCharArray* rgbLeftNResult, vtkUnsignedCharArray* rgbRight,
42 float colorSaturation, const int colorMask[2]);
43
45 vtkUnsignedCharArray* rgbLeftNResult, vtkUnsignedCharArray* rgbRight, const int size[2]);
46
47 bool Dresden(
48 vtkUnsignedCharArray* rgbLeftNResult, vtkUnsignedCharArray* rgbRight, const int size[2]);
49
51 vtkUnsignedCharArray* rgbLeftNResult, vtkUnsignedCharArray* rgbRight, const int size[2]);
52
54 vtkUnsignedCharArray* rgbLeftNResult, vtkUnsignedCharArray* rgbRight, const int size[2]);
56
57protected:
60
62 vtkUnsignedCharArray* rgbLeft, vtkUnsignedCharArray* rgbRight, const int* size = nullptr);
63
64private:
66 void operator=(const vtkStereoCompositor&) = delete;
67};
68
69VTK_ABI_NAMESPACE_END
70#endif
a simple class to control print indentation
Definition vtkIndent.h:108
bool Anaglyph(vtkUnsignedCharArray *rgbLeftNResult, vtkUnsignedCharArray *rgbRight, float colorSaturation, const int colorMask[2])
Methods for compositing left and right eye images based on various supported modes.
~vtkStereoCompositor() override
bool SplitViewportHorizontal(vtkUnsignedCharArray *rgbLeftNResult, vtkUnsignedCharArray *rgbRight, const int size[2])
Methods for compositing left and right eye images based on various supported modes.
bool Dresden(vtkUnsignedCharArray *rgbLeftNResult, vtkUnsignedCharArray *rgbRight, const int size[2])
Methods for compositing left and right eye images based on various supported modes.
bool Validate(vtkUnsignedCharArray *rgbLeft, vtkUnsignedCharArray *rgbRight, const int *size=nullptr)
bool Checkerboard(vtkUnsignedCharArray *rgbLeftNResult, vtkUnsignedCharArray *rgbRight, const int size[2])
Methods for compositing left and right eye images based on various supported modes.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
bool RedBlue(vtkUnsignedCharArray *rgbLeftNResult, vtkUnsignedCharArray *rgbRight)
Methods for compositing left and right eye images based on various supported modes.
bool Interlaced(vtkUnsignedCharArray *rgbLeftNResult, vtkUnsignedCharArray *rgbRight, const int size[2])
Methods for compositing left and right eye images based on various supported modes.
static vtkStereoCompositor * New()
dynamic, self-adjusting array of unsigned char
#define VTK_MARSHALAUTO