32#ifndef vtkArcPlotter_h
33#define vtkArcPlotter_h
36#include "vtkRenderingAnnotationModule.h"
39#define VTK_PLOT_SCALARS 1
40#define VTK_PLOT_VECTORS 2
41#define VTK_PLOT_NORMALS 3
42#define VTK_PLOT_TCOORDS 4
43#define VTK_PLOT_TENSORS 5
44#define VTK_PLOT_FIELD_DATA 6
46VTK_ABI_NAMESPACE_BEGIN
79 vtkSetMacro(PlotMode,
int);
80 vtkGetMacro(PlotMode,
int);
95 vtkSetMacro(PlotComponent,
int);
96 vtkGetMacro(PlotComponent,
int);
104 vtkGetMacro(Radius,
double);
113 vtkGetMacro(Height,
double);
122 vtkGetMacro(Offset,
double);
141 vtkSetVector3Macro(DefaultNormal,
float);
142 vtkGetVectorMacro(DefaultNormal,
float, 3);
151 vtkGetMacro(FieldDataArray,
int);
165 double offset,
double* range,
double val);
174 float DefaultNormal[3];
182 int NumberOfComponents;
plot data along an arbitrary polyline
void SetPlotModeToPlotTCoords()
Specify which data to plot: scalars, vectors, normals, texture coords, tensors, or field data.
vtkIdType OffsetPoint(vtkIdType ptId, vtkPoints *inPts, double n[3], vtkPoints *newPts, double offset, double *range, double val)
~vtkArcPlotter() override
void SetPlotModeToPlotFieldData()
Specify which data to plot: scalars, vectors, normals, texture coords, tensors, or field data.
vtkMTimeType GetMTime() override
New GetMTime because of camera dependency.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
virtual void SetCamera(vtkCamera *)
Specify a camera used to orient the plot along the arc.
void SetPlotModeToPlotNormals()
Specify which data to plot: scalars, vectors, normals, texture coords, tensors, or field data.
void SetPlotModeToPlotScalars()
Specify which data to plot: scalars, vectors, normals, texture coords, tensors, or field data.
vtkTypeBool UseDefaultNormal
int ProcessComponents(vtkIdType numPts, vtkPointData *pd)
void SetPlotModeToPlotVectors()
Specify which data to plot: scalars, vectors, normals, texture coords, tensors, or field data.
static vtkArcPlotter * New()
Instantiate with no default camera and plot mode set to VTK_SCALARS.
void SetPlotModeToPlotTensors()
Specify which data to plot: scalars, vectors, normals, texture coords, tensors, or field data.
a virtual camera for 3D rendering
abstract superclass for arrays of numeric data
a simple class to control print indentation
represent and manipulate point attribute data
represent and manipulate 3D points
Superclass for algorithms that produce only polydata as output.
#define VTK_PLOT_FIELD_DATA
vtkTypeUInt32 vtkMTimeType