VTK  9.7.20260912
vtkDistanceToCamera.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2// SPDX-FileCopyrightText: Copyright 2008 Sandia Corporation
3// SPDX-License-Identifier: LicenseRef-BSD-3-Clause-Sandia-USGov
37
38#ifndef vtkDistanceToCamera_h
39#define vtkDistanceToCamera_h
40
42#include "vtkRenderingCoreModule.h" // For export macro
43#include "vtkWrappingHints.h" // For VTK_MARSHALAUTO
44
45VTK_ABI_NAMESPACE_BEGIN
46class vtkRenderer;
47
48class VTKRENDERINGCORE_EXPORT VTK_MARSHALAUTO vtkDistanceToCamera : public vtkPointSetAlgorithm
49{
50public:
53 void PrintSelf(ostream& os, vtkIndent indent) override;
54
56
60 vtkGetObjectMacro(Renderer, vtkRenderer);
62
64
68 vtkSetMacro(ScreenSize, double);
69 vtkGetMacro(ScreenSize, double);
71
73
76 vtkSetMacro(Scaling, bool);
77 vtkGetMacro(Scaling, bool);
78 vtkBooleanMacro(Scaling, bool);
80
82
86 vtkSetStringMacro(DistanceArrayName);
87 vtkGetStringMacro(DistanceArrayName);
89
94
95protected:
98
100
110
111private:
113 void operator=(const vtkDistanceToCamera&) = delete;
114};
115
116VTK_ABI_NAMESPACE_END
117#endif
static vtkDistanceToCamera * New()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkMTimeType GetMTime() override
The modified time of this filter.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
void SetRenderer(vtkRenderer *ren)
The renderer which will ultimately render these points.
~vtkDistanceToCamera() override
a simple class to control print indentation
Definition vtkIndent.h:108
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
abstract specification for renderers
vtkTypeUInt32 vtkMTimeType
Definition vtkType.h:318
#define VTK_MARSHALAUTO