17 #ifndef vtkAngularPeriodicDataArray_h
18 #define vtkAngularPeriodicDataArray_h
22 #define VTK_PERIODIC_ARRAY_AXIS_X 0
23 #define VTK_PERIODIC_ARRAY_AXIS_Y 1
24 #define VTK_PERIODIC_ARRAY_AXIS_Z 2
26 VTK_ABI_NAMESPACE_BEGIN
29 template <
class Scalar>
50 void SetAngle(
double angle);
51 vtkGetMacro(Angle,
double);
58 void SetCenter(
double*
center);
59 vtkGetVector3Macro(Center,
double);
66 void SetAxis(
int axis);
67 vtkGetMacro(Axis,
int);
80 void Transform(Scalar* tuple)
const override;
85 void UpdateRotationMatrix();
92 double AngleInRadians;
100 #include "vtkAngularPeriodicDataArray.txx"
102 #endif // vtkAngularPeriodicDataArray_h
#define vtkAOSArrayNewInstanceMacro(thisClass)
Map native an Array into an angulat periodic array.
void SetAxisToY()
Set/Get the rotation axis.
Map native an Array into an angulat periodic array.
#define VTK_PERIODIC_ARRAY_AXIS_Z
a simple class to control print indentation
#define VTK_PERIODIC_ARRAY_AXIS_Y
virtual void Transform(Scalar *tuple) const =0
Transform the provided tuple.
A filter to produce mapped angular periodic multiblock dataset from a single block, by rotation.
void InitializeArray(vtkAOSDataArrayTemplate< Scalar > *inputData)
Initialize the mapped array with the original input data array.
void SetAxisToX()
Set/Get the rotation axis.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
#define VTK_PERIODIC_ARRAY_AXIS_X
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...
represent and manipulate 3x3 transformation matrices
void SetAxisToZ()
Set/Get the rotation axis.
#define VTK_DEPRECATED_IN_9_7_0(reason)