VTK  9.5.20250715
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 vtkActor;
26class vtkMapper;
27class vtkDataObject;
30
31class VTKRENDERINGANARI_EXPORT vtkAnariCompositePolyDataMapperNode
33{
34public:
37 void PrintSelf(ostream& os, vtkIndent indent) override;
38
42 void Synchronize(bool prepass) override;
43
47 void Invalidate(bool prepass) override;
48
49protected:
51
53
55
57 {
58 public:
59 std::stack<bool> Visibility;
60 std::stack<double> Opacity;
61 std::stack<vtkColor3d> AmbientColor;
62 std::stack<vtkColor3d> DiffuseColor;
63 std::stack<vtkColor3d> SpecularColor;
64 std::stack<std::string> Material;
65 };
66
68
69private:
71 void operator=(const vtkAnariCompositePolyDataMapperNode&) = delete;
72};
73
74VTK_ABI_NAMESPACE_END
75#endif
represents an object (geometry & properties) in a rendered scene
Definition vtkActor.h:151
virtual vtkCompositeDataDisplayAttributes * GetCompositeDisplayAttributes()
void Synchronize(bool prepass) override
Sync VTK and ANARI objects.
static vtkAnariCompositePolyDataMapperNode * New()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void Invalidate(bool prepass) override
Invalidates cached rendering data.
void SynchronizeBlock(vtkMapper *, vtkActor *, vtkDataObject *, unsigned int &)
links vtkActor and vtkMapper to ANARI
Rendering attributes for a multi-block dataset.
a class that renders hierarchical polygonal data
general representation of visualization data
a simple class to control print indentation
Definition vtkIndent.h:108
abstract class specifies interface to map data to graphics primitives
Definition vtkMapper.h:98