12#ifndef vtkCellGridWarp_h
13#define vtkCellGridWarp_h
17#include "vtkFiltersCellGridModule.h"
20VTK_ABI_NAMESPACE_BEGIN
46 vtkSetMacro(ScaleFactor,
double);
47 vtkGetMacro(ScaleFactor,
double);
53 double ScaleFactor{ 1.0 };
57 virtual void SetScaleFactor(
double scaleFactor) { this->Request->SetScaleFactor(scaleFactor); }
58 virtual double GetScaleFactor()
const {
return this->Request->GetScaleFactor(); }
A function defined over the physical domain of a vtkCellGrid.
Superclass for algorithms that produce only polydata as output.
Perform an operation on cells in a vtkCellMetadata instance.
Cell-grid query used to apply deformations to an input shape attribute.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
virtual void SetDeformationAttribute(vtkCellAttribute *deformation)
Set/get the vector-valued attribute to apply as a deformation to the input shape.
Create a deformed copy of the input.
vtkMTimeType GetMTime() override
Overridden to include the Request's MTime in addition to our own.
int RequestData(vtkInformation *request, vtkInformationVector **inInfo, vtkInformationVector *ouInfo) override
This is called by the superclass.
virtual double GetScaleFactor() const
~vtkCellGridWarp() override=default
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static vtkCellGridWarp * New()
virtual void SetScaleFactor(double scaleFactor)
Set/get a scale factor applied to the deformation attribute.
a simple class to control print indentation
Allocate and hold a VTK object.
vtkTypeUInt32 vtkMTimeType