VTK
ExerciseUnstructuredGridRayCastMapper.h
Go to the documentation of this file.
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
23
24typedef vtkUnstructuredGridVolumeRayCastFunction *(*RayCastFunctionCreator)(void);
25typedef vtkUnstructuredGridVolumeRayIntegrator *(*RayIntegratorCreator)(void);
26
27// Exercises the unstructured grid ray cast mapper with the given function
28// and integrator.
30 int argc, char *argv[],
31 RayCastFunctionCreator NewFunction = NULL,
32 RayIntegratorCreator NewIntegrator = NULL,
33 int UseCellData = 0,
34 int TestDependentComponents = 1);
35
36#endif
vtkUnstructuredGridVolumeRayCastFunction *(* RayCastFunctionCreator)(void)
vtkUnstructuredGridVolumeRayIntegrator *(* RayIntegratorCreator)(void)
int ExerciseUnstructuredGridRayCastMapper(int argc, char *argv[], RayCastFunctionCreator NewFunction=NULL, RayIntegratorCreator NewIntegrator=NULL, int UseCellData=0, int TestDependentComponents=1)
a superclass for volume ray integration functions