VTK  9.4.20241117
vtkAnariCompositePolyDataMapperNode.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#ifndef vtkAnariCompositePolyDataMapperNode_h
15#define vtkAnariCompositePolyDataMapperNode_h
16
18#include "vtkColor.h" // used for ivars
19#include "vtkRenderingAnariModule.h" // For export macro
20
21#include <stack> // used for ivars
22
23VTK_ABI_NAMESPACE_BEGIN
24
25class vtkDataObject;
27
28class VTKRENDERINGANARI_EXPORT vtkAnariCompositePolyDataMapperNode
30{
31public:
34 void PrintSelf(ostream& os, vtkIndent indent) override;
35
39 virtual void Synchronize(bool prepass) override;
40
44 virtual void Invalidate(bool prepass) override;
45
46protected:
49
51
53 {
54 public:
55 std::stack<bool> Visibility;
56 std::stack<double> Opacity;
57 std::stack<vtkColor3d> AmbientColor;
58 std::stack<vtkColor3d> DiffuseColor;
59 std::stack<vtkColor3d> SpecularColor;
60 std::stack<std::string> Material;
61 };
62
64
65private:
67 void operator=(const vtkAnariCompositePolyDataMapperNode&) = delete;
68};
69
70VTK_ABI_NAMESPACE_END
71#endif
represents an object (geometry & properties) in a rendered scene
Definition vtkActor.h:151
virtual void Invalidate(bool prepass) override
Invalidates cached rendering data.
static vtkAnariCompositePolyDataMapperNode * New()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
virtual void Synchronize(bool prepass) override
Sync VTK and ANARI objects.
void SynchronizeBlock(vtkCompositePolyDataMapper *, vtkActor *, vtkDataObject *, unsigned int &)
links vtkActor and vtkMapper to ANARI
a class that renders hierarchical polygonal data
general representation of visualization data
a simple class to control print indentation
Definition vtkIndent.h:108