32 #ifndef vtkCompositeControlPointsItem_h 33 #define vtkCompositeControlPointsItem_h 61 ColorPointsFunction = 1,
62 OpacityPointsFunction = 2,
63 ColorAndOpacityPointsFunction = 3
120 virtual void EditPoint(
float tX,
float tY);
121 virtual void EditPointCurve(
vtkIdType idx);
123 void MergeTransferFunctions();
124 void SilentMergeTransferFunctions();
static vtkColorTransferControlPointsItem * New()
bool UseOpacityPointHandles
GLenum const GLfloat * params
Defines a 1D piecewise function.
virtual bool MouseDoubleClickEvent(const vtkContextMouseEvent &mouse)
#define vtkGetMacro(name, type)
virtual unsigned long int GetControlPointsMTime()
virtual void EditPoint(float tX, float tY)
#define vtkTypeMacro(thisClass, superclass)
Class for drawing 2D primitives to a graphical context.
a vtkContextItem that draws handles around a point of a piecewise function
virtual bool MouseMoveEvent(const vtkContextMouseEvent &mouse)
data structure to represent mouse events.
a simple class to control print indentation
virtual vtkIdType GetNumberOfPoints() const
Control points for vtkCompositeFunction.
vtkPiecewiseFunction * OpacityFunction
virtual void GetControlPoint(vtkIdType index, double *point) const
virtual void SetControlPoint(vtkIdType index, double *point)
vtkPiecewisePointHandleItem * OpacityPointHandle
virtual vtkIdType AddPoint(double *newPos)
#define vtkGetObjectMacro(name, type)
Control points for vtkColorTransferFunction.
void SetColorTransferFunction(vtkColorTransferFunction *function)
virtual void emitEvent(unsigned long event, void *params)
Defines a transfer function for mapping a property to an RGB color value.
virtual void PrintSelf(ostream &os, vtkIndent indent)
virtual bool MouseButtonPressEvent(const vtkContextMouseEvent &mouse)
virtual bool UsingLogScale()
virtual vtkIdType RemovePoint(double *pos)
#define VTKCHARTSCORE_EXPORT
virtual void DrawPoint(vtkContext2D *painter, vtkIdType index)
#define vtkSetMacro(name, type)