You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
1.5 KiB
37 lines
1.5 KiB
2 years ago
|
/*=========================================================================
|
||
|
|
||
|
Program: Visualization Toolkit
|
||
|
Module: $RCSfile: ExerciseUnstructuredGridRayCastMapper.h,v $
|
||
|
|
||
|
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
|
||
|
All rights reserved.
|
||
|
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
|
||
|
|
||
|
This software is distributed WITHOUT ANY WARRANTY; without even
|
||
|
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
||
|
PURPOSE. See the above copyright notice for more information.
|
||
|
|
||
|
=========================================================================*/
|
||
|
|
||
|
#ifndef _ExerciseUnstructuredGridRayCastMapper_h
|
||
|
#define _ExerciseUnstructuredGridRayCastMapper_h
|
||
|
|
||
|
#include "stdlib.h"
|
||
|
|
||
|
class vtkUnstructuredGridVolumeRayCastFunction;
|
||
|
class vtkUnstructuredGridVolumeRayIntegrator;
|
||
|
|
||
|
typedef vtkUnstructuredGridVolumeRayCastFunction *(*RayCastFunctionCreator)(void);
|
||
|
typedef vtkUnstructuredGridVolumeRayIntegrator *(*RayIntegratorCreator)(void);
|
||
|
|
||
|
// Exercises the unstructured grid ray cast mapper with the given function
|
||
|
// and integrator.
|
||
|
int ExerciseUnstructuredGridRayCastMapper(
|
||
|
int argc, char *argv[],
|
||
|
RayCastFunctionCreator NewFunction = NULL,
|
||
|
RayIntegratorCreator NewIntegrator = NULL,
|
||
|
int UseCellData = 0,
|
||
|
int TestDependentComponents = 1);
|
||
|
|
||
|
#endif
|