VTK  9.3.20240328
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 
44 
45 protected:
48 
49 private:
52  void operator=(const vtkUnstructuredGridVolumeRayCastFunction&) = delete;
53 };
54 
55 VTK_ABI_NAMESPACE_END
56 #endif
a simple class to control print indentation
Definition: vtkIndent.h:108
abstract base class for most VTK objects
Definition: vtkObject.h:161
abstract specification for renderers
Definition: vtkRenderer.h:171
virtual void Initialize(vtkRenderer *ren, vtkVolume *vol)=0
virtual vtkUnstructuredGridVolumeRayCastIterator * NewIterator()=0
Returns a new object that will iterate over all the intersections of a ray with the cells of the inpu...
~vtkUnstructuredGridVolumeRayCastFunction() override=default
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkUnstructuredGridVolumeRayCastIterator is a superclass for iterating over the intersections of a vi...
represents a volume (data & properties) in a rendered scene
Definition: vtkVolume.h:119
#define VTK_NEWINSTANCE