VTK  9.3.1
vtkUnstructuredGridVolumeRayCastFunction.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
3 
16 #ifndef vtkUnstructuredGridVolumeRayCastFunction_h
17 #define vtkUnstructuredGridVolumeRayCastFunction_h
18 
19 #include "vtkObject.h"
20 #include "vtkRenderingVolumeModule.h" // For export macro
21 
22 VTK_ABI_NAMESPACE_BEGIN
23 class vtkRenderer;
24 class vtkVolume;
26 
27 class VTKRENDERINGVOLUME_EXPORT vtkUnstructuredGridVolumeRayCastFunction : public vtkObject
28 {
29 public:
31  void PrintSelf(ostream& os, vtkIndent indent) override;
32 
33  virtual void Initialize(vtkRenderer* ren, vtkVolume* vol) = 0;
34 
35  virtual void Finalize() = 0;
36 
43  virtual vtkUnstructuredGridVolumeRayCastIterator* NewIterator() = 0;
44 
45 protected:
47  ~vtkUnstructuredGridVolumeRayCastFunction() override = default;
48 
49 private:
52  void operator=(const vtkUnstructuredGridVolumeRayCastFunction&) = delete;
53 };
54 
55 VTK_ABI_NAMESPACE_END
56 #endif
represents a volume (data & properties) in a rendered scene
Definition: vtkVolume.h:39
abstract base class for most VTK objects
Definition: vtkObject.h:51
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
abstract specification for renderers
Definition: vtkRenderer.h:61
a simple class to control print indentation
Definition: vtkIndent.h:28
#define VTK_NEWINSTANCE
vtkUnstructuredGridVolumeRayCastIterator is a superclass for iterating over the intersections of a vi...