VTK
vtkOSPRayVolumeMapper.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkOSPRayVolumeMapper.h
5  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
6 
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
24 #ifndef vtkOSPRayVolumeMapper_h
25 #define vtkOSPRayVolumeMapper_h
26 
27 #include "vtkRenderingOSPRayModule.h" // For export macro
29 
30 class vtkOSPRayPass;
31 class vtkRenderer;
32 class vtkWindow;
33 
34 class VTKRENDERINGOSPRAY_EXPORT vtkOSPRayVolumeMapper
36 {
37 public:
38  static vtkOSPRayVolumeMapper *New();
40  void PrintSelf( ostream& os, vtkIndent indent ) VTK_OVERRIDE;
41 
47  virtual void ReleaseGraphicsResources(vtkWindow *) VTK_OVERRIDE;
48 
49  // Initialize internal constructs
50  virtual void Init();
51 
56  virtual void Render(vtkRenderer *, vtkVolume *) VTK_OVERRIDE;
57 
58 protected:
61 
65 
66 private:
67  vtkOSPRayVolumeMapper(const vtkOSPRayVolumeMapper&) VTK_DELETE_FUNCTION;
68  void operator=(const vtkOSPRayVolumeMapper&) VTK_DELETE_FUNCTION;
69 };
70 
71 #endif
represents a volume (data & properties) in a rendered scene
Definition: vtkVolume.h:44
static vtkOSPRayVolumeInterface * New()
abstract specification for renderers
Definition: vtkRenderer.h:57
window superclass for vtkRenderWindow
Definition: vtkWindow.h:34
a render pass that uses OSPRay instead of GL
Definition: vtkOSPRayPass.h:52
void Render(vtkRenderer *, vtkVolume *) override
Overridden to warn about lack of OSPRay if not overridden.
a simple class to control print indentation
Definition: vtkIndent.h:33
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void ReleaseGraphicsResources(vtkWindow *) override
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE Release any graphics resources that are being...
Removes link dependence on optional ospray module.
vtkOSPRayPass * InternalOSPRayPass
Standalone OSPRayVolumeMapper.