ActiViz .NET  5.8.0
Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | Protected Member Functions | Static Private Member Functions
Kitware.VTK.vtkColorTransferControlPointsItem Class Reference

vtkColorTransferControlPointsItem - Control points for vtkColorTransferFunction. More...

Inheritance diagram for Kitware.VTK.vtkColorTransferControlPointsItem:
[legend]
Collaboration diagram for Kitware.VTK.vtkColorTransferControlPointsItem:
[legend]

List of all members.

Public Member Functions

 vtkColorTransferControlPointsItem (IntPtr rawCppThis, bool callDisposalMethod, bool strong)
 Automatically generated constructor - called from generated code. DO NOT call directly.
 vtkColorTransferControlPointsItem ()
 Creates a piecewise control points object.
override int AddPoint (IntPtr newPos)
 Add a point to the function. Returns the index of the point (0 based), or -1 on error. Subclasses should reimplement this function to do the actual work.
virtual bool GetColorFill ()
 If ColorFill is true, the control point brush color is set with the matching color in the color transfer function. False by default.
virtual vtkColorTransferFunction GetColorTransferFunction ()
 Description Get the piecewise function.
override int IsA (string type)
 *Undocumented Block
new
vtkColorTransferControlPointsItem 
NewInstance ()
 *Undocumented Block
override int RemovePoint (IntPtr pos)
 Remove a point of the function. Returns the index of the point (0 based), or -1 on error. Subclasses should reimplement this function to do the actual work.
virtual void SetColorFill (bool _arg)
 If ColorFill is true, the control point brush color is set with the matching color in the color transfer function. False by default.
void SetColorTransferFunction (vtkColorTransferFunction function)
 Set the piecewise function to draw its points.
- Public Member Functions inherited from Kitware.VTK.vtkControlPointsItem
 vtkControlPointsItem (IntPtr rawCppThis, bool callDisposalMethod, bool strong)
 Automatically generated constructor - called from generated code. DO NOT call directly.
void DeselectAllPoints ()
 Unselect all the previously selected points.
void DeselectPoint (int pointId)
 Unselect a point by its ID.
void DeselectPoint (IntPtr currentPoint)
 Utility function that unselects a point providing its coordinates. To be found, the position of the point must be no further away than its painted point size.
int FindPoint (IntPtr pos)
 Returns the vtkIdType of the point given its coordinates and a tolerance based on the screen point size.
override void GetBounds (IntPtr bounds)
 Bounds of the item, typically the bound of all the control points except if custom bounds have been set.
virtual void GetControlPoint (int index, IntPtr point)
 Returns the x and y coordinates as well as the midpoint and sharpness of the control point corresponding to the index.
int GetControlPointId (IntPtr pos)
 Returns the id of the control point exactly matching pos, -1 if not found.
int GetCurrentPoint ()
 Returns the current point selected.
virtual int GetNumberOfPoints ()
 Returns the total number of points.
virtual bool GetStrokeMode ()
 Controls whether or not control points are drawn (true) or clicked and moved (false). False by default.
virtual bool GetSwitchPointsMode ()
 If DrawPoints is false, SwitchPoints controls the behavior when a control point is dragged past another point. The crossed point becomes current (true) or the current point is blocked/stopped (false). False by default.
virtual double[] GetUserBounds ()
 Set custom bounds, except if bounds are invalid, bounds will be automatically computed based on the range of the control points Invalid bounds by default.
virtual void GetUserBounds (ref double _arg1, ref double _arg2, ref double _arg3, ref double _arg4)
 Set custom bounds, except if bounds are invalid, bounds will be automatically computed based on the range of the control points Invalid bounds by default.
virtual void GetUserBounds (IntPtr _arg)
 Set custom bounds, except if bounds are invalid, bounds will be automatically computed based on the range of the control points Invalid bounds by default.
bool IsOverPoint (IntPtr pos, int pointId)
 Returns true if pos is above the pointId point, false otherwise. It uses the size of the drawn point. To search what point is under the pos, use the more efficient.
override bool Paint (vtkContext2D painter)
 Paint the points with a fixed size (cosmetic) which doesn't depend on the scene zoom factor. Selected and unselected points are drawn with a different color.
void ResetBounds ()
 Recompute the bounds next time they are requested. You shouldn't have to call it but it is provided for rare cases.
void SelectAllPoints ()
 Select all the points.
void SelectPoint (int pointId)
 Select a point by its ID.
void SelectPoint (IntPtr currentPoint)
 Utility function that selects a point providing its coordinates. To be found, the position of the point must be no further away than its painted point size.
virtual void SetControlPoint (int index, IntPtr point)
 Sets the x and y coordinates as well as the midpoint and sharpness of the control point corresponding to the index.
void SetCurrentPoint (int index)
 Sets the current point selected.
virtual void SetSwitchPointsMode (bool _arg)
 If DrawPoints is false, SwitchPoints controls the behavior when a control point is dragged past another point. The crossed point becomes current (true) or the current point is blocked/stopped (false). False by default.
virtual void SetUserBounds (double _arg1, double _arg2, double _arg3, double _arg4)
 Set custom bounds, except if bounds are invalid, bounds will be automatically computed based on the range of the control points Invalid bounds by default.
virtual void SetUserBounds (IntPtr _arg)
 Set custom bounds, except if bounds are invalid, bounds will be automatically computed based on the range of the control points Invalid bounds by default.
void ToggleSelectPoint (int pointId)
 Toggle the selection of a point by its ID. If the point was selected then unselect it, otherwise select it.
void ToggleSelectPoint (IntPtr currentPoint)
 Utility function that toggles the selection a point providing its coordinates. To be found, the position of the point must be no further away than its painted point size.
- Public Member Functions inherited from Kitware.VTK.vtkPlot
 vtkPlot (IntPtr rawCppThis, bool callDisposalMethod, bool strong)
 Automatically generated constructor - called from generated code. DO NOT call directly.
virtual vtkBrush GetBrush ()
 Get a pointer to the vtkBrush object that controls the was this plot fills shapes.
virtual void GetColor (IntPtr rgb)
 Set the plot color.
virtual vtkContextMapper2D GetData ()
 Get the data object that the plot will draw.
virtual vtkStringArray GetIndexedLabels ()
 Get the indexed labels array.
virtual vtkTable GetInput ()
 Get the input table used by the plot.
virtual vtkStringArray GetLabels ()
 Get the plot labels. If this array has a length greater than 1 the index refers to the stacked objects in the plot. See vtkPlotBar for example.
virtual int GetNumberOfLabels ()
 Get the number of labels associated with this plot.
virtual vtkPen GetPen ()
 Get a pointer to the vtkPen object that controls the was this plot draws lines.
virtual vtkIdTypeArray GetSelection ()
 Convenience function to set the input arrays. For most plots index 0 is the x axis, and index 1 is the y axis. The name is the name of the column in the vtkTable.
virtual bool GetUseIndexForXSeries ()
 Use the Y array index for the X value. If true any X column setting will be ignored, and the X values will simply be the index of the Y column.
virtual float GetWidth ()
 Get the width of the line.
virtual vtkAxis GetXAxis ()
 Get/set the X axis associated with this plot.
virtual vtkAxis GetYAxis ()
 Get/set the Y axis associated with this plot.
virtual void SetColor (byte r, byte g, byte b, byte a)
 Set the plot color.
virtual void SetColor (double r, double g, double b)
 Set the plot color.
void SetIndexedLabels (vtkStringArray labels)
 Set indexed labels for the plot. If set, this array can be used to provide custom labels for each point in a plot. This array should be the same length as the points array. Default is null (no indexed labels).
virtual void SetInput (vtkTable table)
 This is a convenience function to set the input table and the x, y column for the plot.
void SetInput (vtkTable table, int xColumn, int yColumn)
 This is a convenience function to set the input table and the x, y column for the plot.
virtual void SetLabels (vtkStringArray labels)
 Set the plot labels, these are used for stacked chart variants, with the index referring to the stacking index.
virtual void SetSelection (vtkIdTypeArray id)
 Convenience function to set the input arrays. For most plots index 0 is the x axis, and index 1 is the y axis. The name is the name of the column in the vtkTable.
virtual void SetUseIndexForXSeries (bool _arg)
 Use the Y array index for the X value. If true any X column setting will be ignored, and the X values will simply be the index of the Y column.
virtual void SetWidth (float width)
 Set the width of the line.
virtual void SetXAxis (vtkAxis axis)
 Get/set the X axis associated with this plot.
virtual void SetYAxis (vtkAxis axis)
 Get/set the Y axis associated with this plot.
- Public Member Functions inherited from Kitware.VTK.vtkContextItem
 vtkContextItem (IntPtr rawCppThis, bool callDisposalMethod, bool strong)
 Automatically generated constructor - called from generated code. DO NOT call directly.
virtual double GetOpacity ()
 Get the opacity of the item.
virtual void SetOpacity (double _arg)
 Set the opacity of the item. 1.0 by default.
- Public Member Functions inherited from Kitware.VTK.vtkAbstractContextItem
 vtkAbstractContextItem (IntPtr rawCppThis, bool callDisposalMethod, bool strong)
 Automatically generated constructor - called from generated code. DO NOT call directly.
uint AddItem (vtkAbstractContextItem item)
 Add child items to this item. Increments reference count of item.
void ClearItems ()
 Remove all child items from this item.
vtkAbstractContextItem GetItem (uint index)
 Get the item at the specified index.
uint GetNumberOfItems ()
 Get the number of child items.
vtkAbstractContextItem GetParent ()
 Get the parent item. The parent will be set for all items except top level items in a tree.
vtkContextScene GetScene ()
 Get the vtkContextScene for the item, always set for an item in a scene.
virtual bool GetVisible ()
 Get the visibility of the item (should it be drawn).
bool PaintChildren (vtkContext2D painter)
 Paint the children of the item, should be called whenever the children need to be rendered.
virtual void ReleaseGraphicsResources ()
 Release graphics resources hold by the item. The default implementation is empty.
bool RemoveItem (vtkAbstractContextItem item)
 Remove child item from this item. Decrements reference count of item.
bool RemoveItem (uint index)
 Remove child item from this item. Decrements reference count of item.
virtual void SetParent (vtkAbstractContextItem parent)
 Set the parent item. The parent will be set for all items except top level items in a scene.
virtual void SetScene (vtkContextScene scene)
 Set the vtkContextScene for the item, always set for an item in a scene.
virtual void SetVisible (bool _arg)
 Set the visibility of the item (should it be drawn). Visible by default.
virtual void Update ()
 Perform any updates to the item that may be necessary before rendering. The scene should take care of calling this on all items before their Paint function is invoked.
- Public Member Functions inherited from Kitware.VTK.vtkObject
 vtkObject (IntPtr rawCppThis, bool callDisposalMethod, bool strong)
 Automatically generated constructor - called from generated code. DO NOT call directly.
 vtkObject ()
 Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
uint AddObserver (uint arg0, vtkCommand arg1, float priority)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
uint AddObserver (string arg0, vtkCommand arg1, float priority)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
virtual void DebugOff ()
 Turn debugging output off.
virtual void DebugOn ()
 Turn debugging output on.
vtkCommand GetCommand (uint tag)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
byte GetDebug ()
 Get the value of the debug flag.
virtual uint GetMTime ()
 Return this object's modified time.
int HasObserver (uint arg0, vtkCommand arg1)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
int HasObserver (string arg0, vtkCommand arg1)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
int HasObserver (uint arg0)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
int HasObserver (string arg0)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
int InvokeEvent (uint arg0, IntPtr callData)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
int InvokeEvent (string arg0, IntPtr callData)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
int InvokeEvent (uint arg0)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
int InvokeEvent (string arg0)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
virtual void Modified ()
 Update the modification time for this object. Many filters rely on the modification time to determine if they need to recompute their data. The modification time is a unique monotonically increasing unsigned long integer.
void RemoveAllObservers ()
 This is a global flag that controls whether any debug, warning or error messages are displayed.
void RemoveObserver (vtkCommand arg0)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
void RemoveObserver (uint tag)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
void RemoveObservers (uint arg0, vtkCommand arg1)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
void RemoveObservers (string arg0, vtkCommand arg1)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
void RemoveObservers (uint arg0)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
void RemoveObservers (string arg0)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
void SetDebug (byte debugFlag)
 Set the value of the debug flag. A non-zero value turns debugging on.
override string ToString ()
 Returns the result of calling vtkObject::Print as a C# string.
delegate void vtkObjectEventHandler (vtkObject sender, vtkObjectEventArgs e)
 Generic signature for all vtkObject events.
void RemoveAllHandlersForAllEvents ()
 Call RemoveAllHandlers on each non-null vtkObjectEventRelay. TODO: This method needs to get called by the generated Dispose. Make that happen...
- Public Member Functions inherited from Kitware.VTK.vtkObjectBase
 vtkObjectBase (IntPtr rawCppThis, bool callDisposalMethod, bool strong)
 Automatically generated constructor - called from generated code. DO NOT call directly.
 vtkObjectBase ()
 Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
virtual void Register (vtkObjectBase o)
 Increase the reference count (mark as used by another object).
virtual void FastDelete ()
 Delete a reference to this object. This version will not invoke garbage collection and can potentially leak the object if it is part of a reference loop. Use this method only when it is known that the object has another reference and would not be collected if a full garbage collection check were done.
string GetClassName ()
 Return the class name as a string. This method is defined in all subclasses of vtkObjectBase with the vtkTypeMacro found in vtkSetGet.h.
int GetReferenceCount ()
 Return the current reference count of this object.
void SetReferenceCount (int arg0)
 Sets the reference count. (This is very dangerous, use with care.)

Static Public Member Functions

static new
vtkColorTransferControlPointsItem 
New ()
 Creates a piecewise control points object.
static new int IsTypeOf (string type)
 *Undocumented Block
static new
vtkColorTransferControlPointsItem 
SafeDownCast (vtkObjectBase o)
 *Undocumented Block

Public Attributes

new const string MRFullTypeName = "Kitware.VTK.vtkColorTransferControlPointsItem"
 Automatically generated type registration mechanics.
- Public Attributes inherited from Kitware.VTK.vtkControlPointsItem
- Public Attributes inherited from Kitware.VTK.vtkPlot
- Public Attributes inherited from Kitware.VTK.vtkContextItem
- Public Attributes inherited from Kitware.VTK.vtkAbstractContextItem
- Public Attributes inherited from Kitware.VTK.vtkObject
- Public Attributes inherited from Kitware.VTK.vtkObjectBase
- Public Attributes inherited from Kitware.VTK.WrappedObject
const string vtkChartsEL_dll = "libKitware.VTK.vtkCharts.Unmanaged.so"
 Export layer functions for 'vtkCharts' are exported from the DLL named by the value of this variable.
const string vtkCommonEL_dll = "libKitware.VTK.vtkCommon.Unmanaged.so"
 Export layer functions for 'vtkCommon' are exported from the DLL named by the value of this variable.
const string vtkFilteringEL_dll = "libKitware.VTK.vtkFiltering.Unmanaged.so"
 Export layer functions for 'vtkFiltering' are exported from the DLL named by the value of this variable.
const string vtkGenericFilteringEL_dll = "libKitware.VTK.vtkGenericFiltering.Unmanaged.so"
 Export layer functions for 'vtkGenericFiltering' are exported from the DLL named by the value of this variable.
const string vtkGeovisEL_dll = "libKitware.VTK.vtkGeovis.Unmanaged.so"
 Export layer functions for 'vtkGeovis' are exported from the DLL named by the value of this variable.
const string vtkGraphicsEL_dll = "libKitware.VTK.vtkGraphics.Unmanaged.so"
 Export layer functions for 'vtkGraphics' are exported from the DLL named by the value of this variable.
const string vtkHybridEL_dll = "libKitware.VTK.vtkHybrid.Unmanaged.so"
 Export layer functions for 'vtkHybrid' are exported from the DLL named by the value of this variable.
const string vtkIOEL_dll = "libKitware.VTK.vtkIO.Unmanaged.so"
 Export layer functions for 'vtkIO' are exported from the DLL named by the value of this variable.
const string vtkImagingEL_dll = "libKitware.VTK.vtkImaging.Unmanaged.so"
 Export layer functions for 'vtkImaging' are exported from the DLL named by the value of this variable.
const string vtkInfovisEL_dll = "libKitware.VTK.vtkInfovis.Unmanaged.so"
 Export layer functions for 'vtkInfovis' are exported from the DLL named by the value of this variable.
const string vtkParallelEL_dll = "libKitware.VTK.vtkParallel.Unmanaged.so"
 Export layer functions for 'vtkParallel' are exported from the DLL named by the value of this variable.
const string vtkRenderingEL_dll = "libKitware.VTK.vtkRendering.Unmanaged.so"
 Export layer functions for 'vtkRendering' are exported from the DLL named by the value of this variable.
const string vtkViewsEL_dll = "libKitware.VTK.vtkViews.Unmanaged.so"
 Export layer functions for 'vtkViews' are exported from the DLL named by the value of this variable.
const string vtkVolumeRenderingEL_dll = "libKitware.VTK.vtkVolumeRendering.Unmanaged.so"
 Export layer functions for 'vtkVolumeRendering' are exported from the DLL named by the value of this variable.
const string vtkWidgetsEL_dll = "libKitware.VTK.vtkWidgets.Unmanaged.so"
 Export layer functions for 'vtkWidgets' are exported from the DLL named by the value of this variable.

Static Public Attributes

static new readonly string MRClassNameKey = "33vtkColorTransferControlPointsItem"
 Automatically generated type registration mechanics.
- Static Public Attributes inherited from Kitware.VTK.vtkControlPointsItem
- Static Public Attributes inherited from Kitware.VTK.vtkPlot
- Static Public Attributes inherited from Kitware.VTK.vtkContextItem
- Static Public Attributes inherited from Kitware.VTK.vtkAbstractContextItem
- Static Public Attributes inherited from Kitware.VTK.vtkObject
- Static Public Attributes inherited from Kitware.VTK.vtkObjectBase

Protected Member Functions

override void Dispose (bool disposing)
 Automatically generated protected Dispose method - called from public Dispose or the C# destructor. DO NOT call directly.

Static Private Member Functions

static vtkColorTransferControlPointsItem ()
 Automatically generated type registration mechanics.

Additional Inherited Members

- Public Types inherited from Kitware.VTK.vtkControlPointsItem
enum  CurrentPointChangedEvent_WrapperEnum { CurrentPointChangedEvent = 1000, CurrentPointEditEvent = 1001 }
 *Undocumented Block More...

Detailed Description

vtkColorTransferControlPointsItem - Control points for vtkColorTransferFunction.

Description vtkColorTransferControlPointsItem draws the control points of a vtkColorTransferFunction.

vtkControlPointsItem vtkColorTransferFunctionItem vtkCompositeTransferFunctionItem


Constructor & Destructor Documentation

static Kitware.VTK.vtkColorTransferControlPointsItem.vtkColorTransferControlPointsItem ( )
staticprivate

Automatically generated type registration mechanics.

Kitware.VTK.vtkColorTransferControlPointsItem.vtkColorTransferControlPointsItem ( IntPtr  rawCppThis,
bool  callDisposalMethod,
bool  strong 
)

Automatically generated constructor - called from generated code. DO NOT call directly.

Kitware.VTK.vtkColorTransferControlPointsItem.vtkColorTransferControlPointsItem ( )

Creates a piecewise control points object.


Member Function Documentation

override int Kitware.VTK.vtkColorTransferControlPointsItem.AddPoint ( IntPtr  newPos)
virtual

Add a point to the function. Returns the index of the point (0 based), or -1 on error. Subclasses should reimplement this function to do the actual work.

Reimplemented from Kitware.VTK.vtkControlPointsItem.

Reimplemented in Kitware.VTK.vtkCompositeControlPointsItem.

override void Kitware.VTK.vtkColorTransferControlPointsItem.Dispose ( bool  disposing)
protected

Automatically generated protected Dispose method - called from public Dispose or the C# destructor. DO NOT call directly.

Reimplemented from Kitware.VTK.vtkControlPointsItem.

Reimplemented in Kitware.VTK.vtkCompositeControlPointsItem.

virtual bool Kitware.VTK.vtkColorTransferControlPointsItem.GetColorFill ( )
virtual

If ColorFill is true, the control point brush color is set with the matching color in the color transfer function. False by default.

virtual vtkColorTransferFunction Kitware.VTK.vtkColorTransferControlPointsItem.GetColorTransferFunction ( )
virtual

Description Get the piecewise function.

Here is the call graph for this function:

override int Kitware.VTK.vtkColorTransferControlPointsItem.IsA ( string  type)
virtual

*Undocumented Block

Reimplemented from Kitware.VTK.vtkControlPointsItem.

Reimplemented in Kitware.VTK.vtkCompositeControlPointsItem.

static new int Kitware.VTK.vtkColorTransferControlPointsItem.IsTypeOf ( string  type)
static

*Undocumented Block

Reimplemented from Kitware.VTK.vtkControlPointsItem.

Reimplemented in Kitware.VTK.vtkCompositeControlPointsItem.

static new vtkColorTransferControlPointsItem Kitware.VTK.vtkColorTransferControlPointsItem.New ( )
static

Creates a piecewise control points object.

Reimplemented from Kitware.VTK.vtkObject.

Reimplemented in Kitware.VTK.vtkCompositeControlPointsItem.

new vtkColorTransferControlPointsItem Kitware.VTK.vtkColorTransferControlPointsItem.NewInstance ( )

*Undocumented Block

Reimplemented from Kitware.VTK.vtkControlPointsItem.

Reimplemented in Kitware.VTK.vtkCompositeControlPointsItem.

override int Kitware.VTK.vtkColorTransferControlPointsItem.RemovePoint ( IntPtr  pos)
virtual

Remove a point of the function. Returns the index of the point (0 based), or -1 on error. Subclasses should reimplement this function to do the actual work.

Reimplemented from Kitware.VTK.vtkControlPointsItem.

Reimplemented in Kitware.VTK.vtkCompositeControlPointsItem.

static new vtkColorTransferControlPointsItem Kitware.VTK.vtkColorTransferControlPointsItem.SafeDownCast ( vtkObjectBase  o)
static

*Undocumented Block

Reimplemented from Kitware.VTK.vtkControlPointsItem.

Reimplemented in Kitware.VTK.vtkCompositeControlPointsItem.

Here is the call graph for this function:

virtual void Kitware.VTK.vtkColorTransferControlPointsItem.SetColorFill ( bool  _arg)
virtual

If ColorFill is true, the control point brush color is set with the matching color in the color transfer function. False by default.

void Kitware.VTK.vtkColorTransferControlPointsItem.SetColorTransferFunction ( vtkColorTransferFunction  function)

Set the piecewise function to draw its points.

Reimplemented in Kitware.VTK.vtkCompositeControlPointsItem.


Member Data Documentation

new readonly string Kitware.VTK.vtkColorTransferControlPointsItem.MRClassNameKey = "33vtkColorTransferControlPointsItem"
static

Automatically generated type registration mechanics.

Reimplemented from Kitware.VTK.vtkControlPointsItem.

Reimplemented in Kitware.VTK.vtkCompositeControlPointsItem.

new const string Kitware.VTK.vtkColorTransferControlPointsItem.MRFullTypeName = "Kitware.VTK.vtkColorTransferControlPointsItem"

Automatically generated type registration mechanics.

Reimplemented from Kitware.VTK.vtkControlPointsItem.

Reimplemented in Kitware.VTK.vtkCompositeControlPointsItem.


The documentation for this class was generated from the following file: