VTK
vtkProjectedAAHexahedraMapper.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkProjectedAAHexahedraMapper.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
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 =========================================================================*/
35 #ifndef vtkProjectedAAHexahedraMapper_h
36 #define vtkProjectedAAHexahedraMapper_h
37 
38 #include "vtkRenderingVolumeModule.h" // For export macro
40 
41 class vtkFloatArray;
42 class vtkPoints;
44 class vtkVisibilitySort;
45 class vtkVolumeProperty;
46 class vtkRenderWindow;
47 
48 class VTKRENDERINGVOLUME_EXPORT vtkProjectedAAHexahedraMapper : public vtkUnstructuredGridVolumeMapper
49 {
50 public:
51  vtkTypeMacro(vtkProjectedAAHexahedraMapper,
54  virtual void PrintSelf(ostream &os, vtkIndent indent);
55 
57 
61  virtual void SetVisibilitySort(vtkVisibilitySort *sort);
62  vtkGetObjectMacro(VisibilitySort, vtkVisibilitySort);
64 
69  virtual bool IsRenderSupported(vtkRenderWindow *w)=0;
70 
71 protected:
74 
79  void ReportReferences(vtkGarbageCollector *collector) VTK_OVERRIDE;
80 
82 
83 private:
85  void operator=(const vtkProjectedAAHexahedraMapper &) VTK_DELETE_FUNCTION;
86 };
87 
88 #endif
dynamic, self-adjusting array of float
Definition: vtkFloatArray.h:42
Detect and break reference loops.
a simple class to control print indentation
Definition: vtkIndent.h:40
represent and manipulate 3D points
Definition: vtkPoints.h:40
volume mapper for axis-aligned hexahedra
void ReportReferences(vtkGarbageCollector *collector) override
The visibility sort will probably make a reference loop by holding a reference to the input.
virtual bool IsRenderSupported(vtkRenderWindow *w)=0
Check if the required OpenGL extensions are supported by the OpenGL context attached to the render wi...
virtual void SetVisibilitySort(vtkVisibilitySort *sort)
Algorithm used to sort the cells according to viewpoint of the camera.
static vtkProjectedAAHexahedraMapper * New()
virtual void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
create a window for renderers to draw into
dynamic, self-adjusting array of unsigned char
Abstract class for a unstructured grid volume mapper.
Abstract class that can sort cell data along a viewpoint.
represents the common properties for rendering a volume.