You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
nmWTAI-Platform/3rd/VTK7.1/include/vtkProbeSelectedLocations.h

64 lines
2.1 KiB
C

/*=========================================================================
Program: Visualization Toolkit
Module: vtkProbeSelectedLocations.h
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.
=========================================================================*/
/**
* @class vtkProbeSelectedLocations
* @brief similar to vtkExtractSelectedLocations
* except that it interpolates the point attributes at the probe locations.
*
* vtkProbeSelectedLocations is similar to vtkExtractSelectedLocations except
* that it interpolates the point attributes at the probe location. This is
* equivalent to the vtkProbeFilter except that the probe locations are provided
* by a vtkSelection. The FieldType of the input vtkSelection is immaterial and
* is ignored. The ContentType of the input vtkSelection must be
* vtkSelection::LOCATIONS.
*/
#ifndef vtkProbeSelectedLocations_h
#define vtkProbeSelectedLocations_h
#include "vtkFiltersExtractionModule.h" // For export macro
#include "vtkExtractSelectionBase.h"
class VTKFILTERSEXTRACTION_EXPORT vtkProbeSelectedLocations : public vtkExtractSelectionBase
{
public:
static vtkProbeSelectedLocations* New();
vtkTypeMacro(vtkProbeSelectedLocations, vtkExtractSelectionBase);
void PrintSelf(ostream& os, vtkIndent indent);
protected:
vtkProbeSelectedLocations();
~vtkProbeSelectedLocations();
/**
* Sets up empty output dataset
*/
virtual int RequestDataObject(vtkInformation* request,
vtkInformationVector** inputVector,
vtkInformationVector* outputVector);
int RequestData(vtkInformation *, vtkInformationVector **,
vtkInformationVector *);
private:
vtkProbeSelectedLocations(const vtkProbeSelectedLocations&) VTK_DELETE_FUNCTION;
void operator=(const vtkProbeSelectedLocations&) VTK_DELETE_FUNCTION;
};
#endif