41#ifndef vtkArcPlotter_h
42#define vtkArcPlotter_h
45#include "vtkRenderingAnnotationModule.h"
47#define VTK_PLOT_SCALARS 1
48#define VTK_PLOT_VECTORS 2
49#define VTK_PLOT_NORMALS 3
50#define VTK_PLOT_TCOORDS 4
51#define VTK_PLOT_TENSORS 5
52#define VTK_PLOT_FIELD_DATA 6
86 vtkSetMacro(PlotMode,
int);
87 vtkGetMacro(PlotMode,
int);
102 vtkSetMacro(PlotComponent,
int);
103 vtkGetMacro(PlotComponent,
int);
111 vtkGetMacro(Radius,
double);
120 vtkGetMacro(Height,
double);
129 vtkGetMacro(Offset,
double);
148 vtkSetVector3Macro(DefaultNormal,
float);
149 vtkGetVectorMacro(DefaultNormal,
float, 3);
158 vtkGetMacro(FieldDataArray,
int);
181 float DefaultNormal[3];
189 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