1 /*=========================================================================
2 
3   Program:   Visualization Toolkit
4   Module:    ExerciseUnstructuredGridRayCastMapper.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 =========================================================================*/
15 
16 #ifndef _ExerciseUnstructuredGridRayCastMapper_h
17 #define _ExerciseUnstructuredGridRayCastMapper_h
18 
19 #include "vtkSystemIncludes.h"
20 
21 class vtkUnstructuredGridVolumeRayCastFunction;
22 class vtkUnstructuredGridVolumeRayIntegrator;
23 
24 typedef vtkUnstructuredGridVolumeRayCastFunction *(*RayCastFunctionCreator)(void);
25 typedef vtkUnstructuredGridVolumeRayIntegrator *(*RayIntegratorCreator)(void);
26 
27 // Exercises the unstructured grid ray cast mapper with the given function
28 // and integrator.
29 int ExerciseUnstructuredGridRayCastMapper(
30                                       int argc, char *argv[],
31                                       RayCastFunctionCreator NewFunction = NULL,
32                                       RayIntegratorCreator NewIntegrator = NULL,
33                                       int UseCellData = 0,
34                                       int TestDependentComponents = 1);
35 
36 #endif
37