Go to the documentation of this file.
42 #ifndef vtkPiecewiseFunction_h
43 #define vtkPiecewiseFunction_h
48 class vtkPiecewiseFunctionInternals;
71 int AddPoint(
double x,
double y,
double midpoint,
double sharpness );
82 void AddSegment(
double x1,
double y1,
double x2,
double y2 );
void BuildFunctionFromTable(double x1, double x2, int size, double *table, int stride=1)
#define vtkGetVector2Macro(name, type)
int RemovePoint(double x)
static vtkPiecewiseFunction * GetData(vtkInformation *info)
int AllowDuplicateScalars
int GetNodeValue(int index, double val[4])
void GetTable(double x1, double x2, int size, float *table, int stride=1)
int AdjustRange(double range[2])
void FillFromDataPointer(int, double *)
#define vtkTypeMacro(thisClass, superclass)
GLint GLint GLint GLint GLint x
void SortAndUpdateRange()
GLenum GLsizei GLenum GLenum const GLvoid * table
int AddPoint(double x, double y, double midpoint, double sharpness)
double * GetDataPointer()
vtkPiecewiseFunctionInternals * Internal
void GetTable(double x1, double x2, int size, double *table, int stride=1)
void PrintSelf(ostream &os, vtkIndent indent)
void ShallowCopy(vtkDataObject *f)
static vtkPiecewiseFunction * New()
a simple class to control print indentation
double GetFirstNonZeroValue()
int SetNodeValue(int index, double val[4])
#define vtkGetMacro(name, type)
Defines a 1D piecewise function.
vtkBooleanMacro(IgnoreDriverBugs, bool)
vtkSetMacro(IgnoreDriverBugs, bool)
static vtkPiecewiseFunction * GetData(vtkInformationVector *v, int i=0)
GLint GLint GLint GLint GLint GLint y
int AddPoint(double x, double y)
#define VTKCOMMONDATAMODEL_EXPORT
double GetValue(double x)
general representation of visualization data
#define VTK_PIECEWISE_FUNCTION
void AddSegment(double x1, double y1, double x2, double y2)
void DeepCopy(vtkDataObject *f)