1 /*=========================================================================
2 
3   Program:   Visualization Toolkit
4   Module:    HomogeneousRayIntegration.cxx
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 #include "ExerciseUnstructuredGridRayCastMapper.h"
17 
18 #include "vtkUnstructuredGridHomogeneousRayIntegrator.h"
19 
CreateHomogeneousRayIntegrator()20 static vtkUnstructuredGridVolumeRayIntegrator *CreateHomogeneousRayIntegrator()
21 {
22   return vtkUnstructuredGridHomogeneousRayIntegrator::New();
23 }
24 
HomogeneousRayIntegration(int argc,char * argv[])25 int HomogeneousRayIntegration(int argc, char *argv[])
26 {
27   return ExerciseUnstructuredGridRayCastMapper(argc, argv, NULL,
28                                                CreateHomogeneousRayIntegrator,
29                                                1);
30 }
31