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.vtkImageToPolyDataFilter Class Reference

vtkImageToPolyDataFilter - generate linear primitives (vtkPolyData) from an image More...

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

List of all members.

Public Member Functions

 vtkImageToPolyDataFilter (IntPtr rawCppThis, bool callDisposalMethod, bool strong)
 Automatically generated constructor - called from generated code. DO NOT call directly.
 vtkImageToPolyDataFilter ()
 Instantiate object with initial number of colors 256.
virtual void DecimationOff ()
 Turn on/off whether the final polygons should be decimated. whether to smooth boundaries.
virtual void DecimationOn ()
 Turn on/off whether the final polygons should be decimated. whether to smooth boundaries.
virtual int GetColorMode ()
 Specify how to quantize color.
virtual int GetColorModeMaxValue ()
 Specify how to quantize color.
virtual int GetColorModeMinValue ()
 Specify how to quantize color.
virtual int GetDecimation ()
 Turn on/off whether the final polygons should be decimated. whether to smooth boundaries.
virtual double GetDecimationError ()
 Specify the error to use for decimation (if decimation is on). The error is an absolute number–the image spacing and dimensions are used to create points so the error should be consistent with the image size.
virtual double GetDecimationErrorMaxValue ()
 Specify the error to use for decimation (if decimation is on). The error is an absolute number–the image spacing and dimensions are used to create points so the error should be consistent with the image size.
virtual double GetDecimationErrorMinValue ()
 Specify the error to use for decimation (if decimation is on). The error is an absolute number–the image spacing and dimensions are used to create points so the error should be consistent with the image size.
virtual int GetError ()
 Specify the error value between two colors where the colors are considered the same. Only use this if the color mode uses the default 256 table.
virtual int GetErrorMaxValue ()
 Specify the error value between two colors where the colors are considered the same. Only use this if the color mode uses the default 256 table.
virtual int GetErrorMinValue ()
 Specify the error value between two colors where the colors are considered the same. Only use this if the color mode uses the default 256 table.
virtual vtkScalarsToColors GetLookupTable ()
 Set/Get the vtkLookupTable to use. The lookup table is used when the color mode is set to LUT and a single component scalar is input.
virtual int GetNumberOfSmoothingIterations ()
 Specify the number of smoothing iterations to smooth polygons. (Only in effect if output style is Polygonalize and smoothing is on.)
virtual int GetNumberOfSmoothingIterationsMaxValue ()
 Specify the number of smoothing iterations to smooth polygons. (Only in effect if output style is Polygonalize and smoothing is on.)
virtual int GetNumberOfSmoothingIterationsMinValue ()
 Specify the number of smoothing iterations to smooth polygons. (Only in effect if output style is Polygonalize and smoothing is on.)
virtual int GetOutputStyle ()
 Specify how to create the output. Pixelize means converting the image to quad polygons with a constant color per quad. Polygonalize means merging colors together into polygonal regions, and then smoothing the regions (if smoothing is turned on). RunLength means creating quad polygons that may encompass several pixels on a scan line. The default behavior is Polygonalize.
virtual int GetOutputStyleMaxValue ()
 Specify how to create the output. Pixelize means converting the image to quad polygons with a constant color per quad. Polygonalize means merging colors together into polygonal regions, and then smoothing the regions (if smoothing is turned on). RunLength means creating quad polygons that may encompass several pixels on a scan line. The default behavior is Polygonalize.
virtual int GetOutputStyleMinValue ()
 Specify how to create the output. Pixelize means converting the image to quad polygons with a constant color per quad. Polygonalize means merging colors together into polygonal regions, and then smoothing the regions (if smoothing is turned on). RunLength means creating quad polygons that may encompass several pixels on a scan line. The default behavior is Polygonalize.
virtual int GetSmoothing ()
 If the output style is set to polygonalize, then you can control whether to smooth boundaries.
virtual int GetSubImageSize ()
 Specify the size (n by n pixels) of the largest region to polygonalize. When the OutputStyle is set to VTK_STYLE_POLYGONALIZE, large amounts of memory are used. In order to process large images, the image is broken into pieces that are at most Size pixels in width and height.
virtual int GetSubImageSizeMaxValue ()
 Specify the size (n by n pixels) of the largest region to polygonalize. When the OutputStyle is set to VTK_STYLE_POLYGONALIZE, large amounts of memory are used. In order to process large images, the image is broken into pieces that are at most Size pixels in width and height.
virtual int GetSubImageSizeMinValue ()
 Specify the size (n by n pixels) of the largest region to polygonalize. When the OutputStyle is set to VTK_STYLE_POLYGONALIZE, large amounts of memory are used. In order to process large images, the image is broken into pieces that are at most Size pixels in width and height.
override int IsA (string type)
 *Undocumented Block
new vtkImageToPolyDataFilter NewInstance ()
 *Undocumented Block
virtual void SetColorMode (int _arg)
 Specify how to quantize color.
void SetColorModeToLUT ()
 Specify how to quantize color.
void SetColorModeToLinear256 ()
 Specify how to quantize color.
virtual void SetDecimation (int _arg)
 Turn on/off whether the final polygons should be decimated. whether to smooth boundaries.
virtual void SetDecimationError (double _arg)
 Specify the error to use for decimation (if decimation is on). The error is an absolute number–the image spacing and dimensions are used to create points so the error should be consistent with the image size.
virtual void SetError (int _arg)
 Specify the error value between two colors where the colors are considered the same. Only use this if the color mode uses the default 256 table.
virtual void SetLookupTable (vtkScalarsToColors arg0)
 Set/Get the vtkLookupTable to use. The lookup table is used when the color mode is set to LUT and a single component scalar is input.
virtual void SetNumberOfSmoothingIterations (int _arg)
 Specify the number of smoothing iterations to smooth polygons. (Only in effect if output style is Polygonalize and smoothing is on.)
virtual void SetOutputStyle (int _arg)
 Specify how to create the output. Pixelize means converting the image to quad polygons with a constant color per quad. Polygonalize means merging colors together into polygonal regions, and then smoothing the regions (if smoothing is turned on). RunLength means creating quad polygons that may encompass several pixels on a scan line. The default behavior is Polygonalize.
void SetOutputStyleToPixelize ()
 Specify how to create the output. Pixelize means converting the image to quad polygons with a constant color per quad. Polygonalize means merging colors together into polygonal regions, and then smoothing the regions (if smoothing is turned on). RunLength means creating quad polygons that may encompass several pixels on a scan line. The default behavior is Polygonalize.
void SetOutputStyleToPolygonalize ()
 Specify how to create the output. Pixelize means converting the image to quad polygons with a constant color per quad. Polygonalize means merging colors together into polygonal regions, and then smoothing the regions (if smoothing is turned on). RunLength means creating quad polygons that may encompass several pixels on a scan line. The default behavior is Polygonalize.
void SetOutputStyleToRunLength ()
 Specify how to create the output. Pixelize means converting the image to quad polygons with a constant color per quad. Polygonalize means merging colors together into polygonal regions, and then smoothing the regions (if smoothing is turned on). RunLength means creating quad polygons that may encompass several pixels on a scan line. The default behavior is Polygonalize.
virtual void SetSmoothing (int _arg)
 If the output style is set to polygonalize, then you can control whether to smooth boundaries.
virtual void SetSubImageSize (int _arg)
 Specify the size (n by n pixels) of the largest region to polygonalize. When the OutputStyle is set to VTK_STYLE_POLYGONALIZE, large amounts of memory are used. In order to process large images, the image is broken into pieces that are at most Size pixels in width and height.
virtual void SmoothingOff ()
 If the output style is set to polygonalize, then you can control whether to smooth boundaries.
virtual void SmoothingOn ()
 If the output style is set to polygonalize, then you can control whether to smooth boundaries.
- Public Member Functions inherited from Kitware.VTK.vtkPolyDataAlgorithm
 vtkPolyDataAlgorithm (IntPtr rawCppThis, bool callDisposalMethod, bool strong)
 Automatically generated constructor - called from generated code. DO NOT call directly.
 vtkPolyDataAlgorithm ()
 *Undocumented Block
void AddInput (vtkDataObject arg0)
 Add an input of this algorithm. Note that these methods support old-style pipeline connections. When writing new code you should use the more general vtkAlgorithm::AddInputConnection(). See SetInput() for details.
void AddInput (int arg0, vtkDataObject arg1)
 Add an input of this algorithm. Note that these methods support old-style pipeline connections. When writing new code you should use the more general vtkAlgorithm::AddInputConnection(). See SetInput() for details.
vtkDataObject GetInput ()
 this method is not recommended for use, but lots of old style filters use it
vtkDataObject GetInput (int port)
 this method is not recommended for use, but lots of old style filters use it
vtkPolyData GetOutput ()
 Get the output data object for a port on this algorithm.
vtkPolyData GetOutput (int arg0)
 Get the output data object for a port on this algorithm.
vtkPolyData GetPolyDataInput (int port)
 this method is not recommended for use, but lots of old style filters use it
void SetInput (vtkDataObject arg0)
 Set an input of this algorithm. You should not override these methods because they are not the only way to connect a pipeline. Note that these methods support old-style pipeline connections. When writing new code you should use the more general vtkAlgorithm::SetInputConnection(). These methods transform the input index to the input port index, not an index of a connection within a single port.
void SetInput (int arg0, vtkDataObject arg1)
 Set an input of this algorithm. You should not override these methods because they are not the only way to connect a pipeline. Note that these methods support old-style pipeline connections. When writing new code you should use the more general vtkAlgorithm::SetInputConnection(). These methods transform the input index to the input port index, not an index of a connection within a single port.
virtual void SetOutput (vtkDataObject d)
 Get the output data object for a port on this algorithm.
- Public Member Functions inherited from Kitware.VTK.vtkAlgorithm
 vtkAlgorithm (IntPtr rawCppThis, bool callDisposalMethod, bool strong)
 Automatically generated constructor - called from generated code. DO NOT call directly.
 vtkAlgorithm ()
 *Undocumented Block
override void Register (vtkObjectBase o)
 Participate in garbage collection.
virtual void AbortExecuteOff ()
 Set/Get the AbortExecute flag for the process object. Process objects may handle premature termination of execution in different ways.
virtual void AbortExecuteOn ()
 Set/Get the AbortExecute flag for the process object. Process objects may handle premature termination of execution in different ways.
virtual void AddInputConnection (int port, vtkAlgorithmOutput input)
 Add a connection to the given input port index. See SetInputConnection() for details on input connections. This method is the complement to RemoveInputConnection() in that it adds only the connection specified without affecting other connections. Typical usage is.
virtual void AddInputConnection (vtkAlgorithmOutput input)
 Add a connection to the given input port index. See SetInputConnection() for details on input connections. This method is the complement to RemoveInputConnection() in that it adds only the connection specified without affecting other connections. Typical usage is.
virtual double ComputePriority ()
 Returns the priority of the piece described by the current update extent. The priority is a number between 0.0 and 1.0 with 0 meaning skippable (REQUEST_DATA not needed) and 1.0 meaning important.
void ConvertTotalInputToPortConnection (int ind, ref int port, ref int conn)
 Convenience routine to convert from a linear ordering of input connections to a port/connection pair.
virtual int GetAbortExecute ()
 Set/Get the AbortExecute flag for the process object. Process objects may handle premature termination of execution in different ways.
virtual uint GetErrorCode ()
 The error code contains a possible error that occured while reading or writing the file.
vtkExecutive GetExecutive ()
 Get this algorithm's executive. If it has none, a default executive will be created.
virtual vtkInformation GetInformation ()
 Set/Get the information object associated with this algorithm.
vtkInformation GetInputArrayInformation (int idx)
 Get the info object for the specified input array to this algorithm.
vtkAlgorithmOutput GetInputConnection (int port, int index)
 Get the algorithm output port connected to an input port.
vtkDataObject GetInputDataObject (int port, int connection)
 Get the data object that will contain the algorithm input for the given port and given connection.
vtkInformation GetInputPortInformation (int port)
 Get the information object associated with an input port. There is one input port per kind of input to the algorithm. Each input port tells executives what kind of data and downstream requests this algorithm can handle for that input.
int GetNumberOfInputConnections (int port)
 Get the number of inputs currently connected to a port.
int GetNumberOfInputPorts ()
 Get the number of input ports used by the algorithm.
int GetNumberOfOutputPorts ()
 Get the number of output ports provided by the algorithm.
vtkDataObject GetOutputDataObject (int port)
 Get the data object that will contain the algorithm output for the given port.
vtkAlgorithmOutput GetOutputPort (int index)
 Get a proxy object corresponding to the given output port of this algorithm. The proxy object can be passed to another algorithm's SetInputConnection(), AddInputConnection(), and RemoveInputConnection() methods to modify pipeline connectivity.
vtkAlgorithmOutput GetOutputPort ()
 Get a proxy object corresponding to the given output port of this algorithm. The proxy object can be passed to another algorithm's SetInputConnection(), AddInputConnection(), and RemoveInputConnection() methods to modify pipeline connectivity.
vtkInformation GetOutputPortInformation (int port)
 Get the information object associated with an output port. There is one output port per output from the algorithm. Each output port tells executives what kind of upstream requests this algorithm can handle for that output.
virtual double GetProgress ()
 Set/Get the execution progress of a process object.
virtual double GetProgressMaxValue ()
 Set/Get the execution progress of a process object.
virtual double GetProgressMinValue ()
 Set/Get the execution progress of a process object.
virtual string GetProgressText ()
 Set the current text message associated with the progress state. This may be used by a calling process/GUI. Note: Because SetProgressText() is called from inside RequestData() it does not modify the algorithm object. Algorithms are not allowed to modify themselves from inside RequestData().
virtual int GetReleaseDataFlag ()
 Turn release data flag on or off for all output ports.
int GetTotalNumberOfInputConnections ()
 Get the total number of inputs for this algorithm.
int HasExecutive ()
 Check whether this algorithm has an assigned executive. This will NOT create a default executive.
virtual int ModifyRequest (vtkInformation request, int when)
 This method gives the algorithm a chance to modify the contents of a request before or after (specified in the when argument) it is forwarded. The default implementation is empty. Returns 1 on success, 0 on failure. When can be either vtkExecutive::BeforeForward or vtkExecutive::AfterForward.
int ProcessRequest (vtkInformation request, vtkCollection inInfo, vtkInformationVector outInfo)
 Version of ProcessRequest() that is wrapped. This converts the collection to an array and calls the other version.
void ReleaseDataFlagOff ()
 Turn release data flag on or off for all output ports.
void ReleaseDataFlagOn ()
 Turn release data flag on or off for all output ports.
void RemoveAllInputs ()
 Remove all the input data.
virtual void RemoveInputConnection (int port, vtkAlgorithmOutput input)
 Remove a connection from the given input port index. See SetInputConnection() for details on input connection. This method is the complement to AddInputConnection() in that it removes only the connection specified without affecting other connections. Typical usage is.
virtual void SetAbortExecute (int _arg)
 Set/Get the AbortExecute flag for the process object. Process objects may handle premature termination of execution in different ways.
virtual void SetExecutive (vtkExecutive executive)
 Set this algorithm's executive. This algorithm is removed from any executive to which it has previously been assigned and then assigned to the given executive.
virtual void SetInformation (vtkInformation arg0)
 Set/Get the information object associated with this algorithm.
virtual void SetInputArrayToProcess (int idx, int port, int connection, int fieldAssociation, string name)
 Set the input data arrays that this algorithm will process. Specifically the idx array that this algorithm will process (starting from 0) is the array on port, connection with the specified association and name or attribute type (such as SCALARS). The fieldAssociation refers to which field in the data object the array is stored. See vtkDataObject::FieldAssociations for detail.
virtual void SetInputArrayToProcess (int idx, int port, int connection, int fieldAssociation, int fieldAttributeType)
 Set the input data arrays that this algorithm will process. Specifically the idx array that this algorithm will process (starting from 0) is the array on port, connection with the specified association and name or attribute type (such as SCALARS). The fieldAssociation refers to which field in the data object the array is stored. See vtkDataObject::FieldAssociations for detail.
virtual void SetInputArrayToProcess (int idx, vtkInformation info)
 Set the input data arrays that this algorithm will process. Specifically the idx array that this algorithm will process (starting from 0) is the array on port, connection with the specified association and name or attribute type (such as SCALARS). The fieldAssociation refers to which field in the data object the array is stored. See vtkDataObject::FieldAssociations for detail.
virtual void SetInputArrayToProcess (int idx, int port, int connection, string fieldAssociation, string attributeTypeorName)
 String based versions of SetInputArrayToProcess(). Because fieldAssociation and fieldAttributeType are enums, they cannot be easily accessed from scripting language. These methods provides an easy and safe way of passing association and attribute type information. Field association is one of the following:
virtual void SetInputConnection (int port, vtkAlgorithmOutput input)
 Set the connection for the given input port index. Each input port of a filter has a specific purpose. A port may have zero or more connections and the required number is specified by each filter. Setting the connection with this method removes all other connections from the port. To add more than one connection use AddInputConnection().
virtual void SetInputConnection (vtkAlgorithmOutput input)
 Set the connection for the given input port index. Each input port of a filter has a specific purpose. A port may have zero or more connections and the required number is specified by each filter. Setting the connection with this method removes all other connections from the port. To add more than one connection use AddInputConnection().
virtual void SetProgress (double _arg)
 Set/Get the execution progress of a process object.
void SetProgressText (string ptext)
 Set the current text message associated with the progress state. This may be used by a calling process/GUI. Note: Because SetProgressText() is called from inside RequestData() it does not modify the algorithm object. Algorithms are not allowed to modify themselves from inside RequestData().
virtual void SetReleaseDataFlag (int arg0)
 Turn release data flag on or off for all output ports.
virtual void Update ()
 Bring this algorithm's outputs up-to-date.
int UpdateExtentIsEmpty (vtkDataObject output)
 This detects when the UpdateExtent will generate no data This condition is satisfied when the UpdateExtent has zero volume (0,-1,...) or the UpdateNumberOfPieces is 0. The source uses this call to determine whether to call Execute.
int UpdateExtentIsEmpty (vtkInformation pinfo, int extentType)
 This detects when the UpdateExtent will generate no data This condition is satisfied when the UpdateExtent has zero volume (0,-1,...) or the UpdateNumberOfPieces is 0. The source uses this call to determine whether to call Execute.
virtual void UpdateInformation ()
 Backward compatibility method to invoke UpdateInformation on executive.
void UpdateProgress (double amount)
 Update the progress of the process object. If a ProgressMethod exists, executes it. Then set the Progress ivar to amount. The parameter amount should range between (0,1).
virtual void UpdateWholeExtent ()
 Bring this algorithm's outputs up-to-date.
- 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 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 vtkImageToPolyDataFilter New ()
 Instantiate object with initial number of colors 256.
static new int IsTypeOf (string type)
 *Undocumented Block
static new vtkImageToPolyDataFilter SafeDownCast (vtkObjectBase o)
 *Undocumented Block

Public Attributes

new const string MRFullTypeName = "Kitware.VTK.vtkImageToPolyDataFilter"
 Automatically generated type registration mechanics.
- Public Attributes inherited from Kitware.VTK.vtkPolyDataAlgorithm
- Public Attributes inherited from Kitware.VTK.vtkAlgorithm
- 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 = "24vtkImageToPolyDataFilter"
 Automatically generated type registration mechanics.
- Static Public Attributes inherited from Kitware.VTK.vtkPolyDataAlgorithm
- Static Public Attributes inherited from Kitware.VTK.vtkAlgorithm
- 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 vtkImageToPolyDataFilter ()
 Automatically generated type registration mechanics.

Detailed Description

vtkImageToPolyDataFilter - generate linear primitives (vtkPolyData) from an image

Description vtkImageToPolyDataFilter converts raster data (i.e., an image) into polygonal data (i.e., quads or n-sided polygons), with each polygon assigned a constant color. This is useful for writers that generate vector formats (i.e., CGM or PostScript). To use this filter, you specify how to quantize the color (or whether to use an image with a lookup table), and what style the output should be. The output is always polygons, but the choice is n x m quads (where n and m define the input image dimensions) "Pixelize" option; arbitrary polygons "Polygonalize" option; or variable number of quads of constant color generated along scan lines "RunLength" option.

The algorithm quantizes color in order to create coherent regions that the polygons can represent with good compression. By default, the input image is quantized to 256 colors using a 3-3-2 bits for red-green-blue. However, you can also supply a single component image and a lookup table, with the single component assumed to be an index into the table. (Note: a quantized image can be generated with the filter vtkImageQuantizeRGBToIndex.) The number of colors on output is equal to the number of colors in the input lookup table (or 256 if the built in linear ramp is used).

The output of the filter is polygons with a single color per polygon cell. If the output style is set to "Polygonalize", the polygons may have an large number of points (bounded by something like 2*(n+m)); and the polygon may not be convex which may cause rendering problems on some systems (use vtkTriangleFilter). Otherwise, each polygon will have four vertices. The output also contains scalar data defining RGB color in unsigned char form.

Caveats The input linear lookup table must be of the form of 3-component unsigned char.

This filter defines constant cell colors. If you have a plotting device that supports Gouraud shading (linear interpolation of color), then superior algorithms are available for generating polygons from images.

Note that many plotting devices/formats support only a limited number of colors.

vtkCGMWriter vtkImageQuantizeRGBToIndex vtkTriangleFilter


Constructor & Destructor Documentation

static Kitware.VTK.vtkImageToPolyDataFilter.vtkImageToPolyDataFilter ( )
staticprivate

Automatically generated type registration mechanics.

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

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

Kitware.VTK.vtkImageToPolyDataFilter.vtkImageToPolyDataFilter ( )

Instantiate object with initial number of colors 256.


Member Function Documentation

virtual void Kitware.VTK.vtkImageToPolyDataFilter.DecimationOff ( )
virtual

Turn on/off whether the final polygons should be decimated. whether to smooth boundaries.

virtual void Kitware.VTK.vtkImageToPolyDataFilter.DecimationOn ( )
virtual

Turn on/off whether the final polygons should be decimated. whether to smooth boundaries.

override void Kitware.VTK.vtkImageToPolyDataFilter.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.vtkPolyDataAlgorithm.

virtual int Kitware.VTK.vtkImageToPolyDataFilter.GetColorMode ( )
virtual

Specify how to quantize color.

virtual int Kitware.VTK.vtkImageToPolyDataFilter.GetColorModeMaxValue ( )
virtual

Specify how to quantize color.

virtual int Kitware.VTK.vtkImageToPolyDataFilter.GetColorModeMinValue ( )
virtual

Specify how to quantize color.

virtual int Kitware.VTK.vtkImageToPolyDataFilter.GetDecimation ( )
virtual

Turn on/off whether the final polygons should be decimated. whether to smooth boundaries.

virtual double Kitware.VTK.vtkImageToPolyDataFilter.GetDecimationError ( )
virtual

Specify the error to use for decimation (if decimation is on). The error is an absolute number–the image spacing and dimensions are used to create points so the error should be consistent with the image size.

virtual double Kitware.VTK.vtkImageToPolyDataFilter.GetDecimationErrorMaxValue ( )
virtual

Specify the error to use for decimation (if decimation is on). The error is an absolute number–the image spacing and dimensions are used to create points so the error should be consistent with the image size.

virtual double Kitware.VTK.vtkImageToPolyDataFilter.GetDecimationErrorMinValue ( )
virtual

Specify the error to use for decimation (if decimation is on). The error is an absolute number–the image spacing and dimensions are used to create points so the error should be consistent with the image size.

virtual int Kitware.VTK.vtkImageToPolyDataFilter.GetError ( )
virtual

Specify the error value between two colors where the colors are considered the same. Only use this if the color mode uses the default 256 table.

virtual int Kitware.VTK.vtkImageToPolyDataFilter.GetErrorMaxValue ( )
virtual

Specify the error value between two colors where the colors are considered the same. Only use this if the color mode uses the default 256 table.

virtual int Kitware.VTK.vtkImageToPolyDataFilter.GetErrorMinValue ( )
virtual

Specify the error value between two colors where the colors are considered the same. Only use this if the color mode uses the default 256 table.

virtual vtkScalarsToColors Kitware.VTK.vtkImageToPolyDataFilter.GetLookupTable ( )
virtual

Set/Get the vtkLookupTable to use. The lookup table is used when the color mode is set to LUT and a single component scalar is input.

Here is the call graph for this function:

virtual int Kitware.VTK.vtkImageToPolyDataFilter.GetNumberOfSmoothingIterations ( )
virtual

Specify the number of smoothing iterations to smooth polygons. (Only in effect if output style is Polygonalize and smoothing is on.)

virtual int Kitware.VTK.vtkImageToPolyDataFilter.GetNumberOfSmoothingIterationsMaxValue ( )
virtual

Specify the number of smoothing iterations to smooth polygons. (Only in effect if output style is Polygonalize and smoothing is on.)

virtual int Kitware.VTK.vtkImageToPolyDataFilter.GetNumberOfSmoothingIterationsMinValue ( )
virtual

Specify the number of smoothing iterations to smooth polygons. (Only in effect if output style is Polygonalize and smoothing is on.)

virtual int Kitware.VTK.vtkImageToPolyDataFilter.GetOutputStyle ( )
virtual

Specify how to create the output. Pixelize means converting the image to quad polygons with a constant color per quad. Polygonalize means merging colors together into polygonal regions, and then smoothing the regions (if smoothing is turned on). RunLength means creating quad polygons that may encompass several pixels on a scan line. The default behavior is Polygonalize.

virtual int Kitware.VTK.vtkImageToPolyDataFilter.GetOutputStyleMaxValue ( )
virtual

Specify how to create the output. Pixelize means converting the image to quad polygons with a constant color per quad. Polygonalize means merging colors together into polygonal regions, and then smoothing the regions (if smoothing is turned on). RunLength means creating quad polygons that may encompass several pixels on a scan line. The default behavior is Polygonalize.

virtual int Kitware.VTK.vtkImageToPolyDataFilter.GetOutputStyleMinValue ( )
virtual

Specify how to create the output. Pixelize means converting the image to quad polygons with a constant color per quad. Polygonalize means merging colors together into polygonal regions, and then smoothing the regions (if smoothing is turned on). RunLength means creating quad polygons that may encompass several pixels on a scan line. The default behavior is Polygonalize.

virtual int Kitware.VTK.vtkImageToPolyDataFilter.GetSmoothing ( )
virtual

If the output style is set to polygonalize, then you can control whether to smooth boundaries.

virtual int Kitware.VTK.vtkImageToPolyDataFilter.GetSubImageSize ( )
virtual

Specify the size (n by n pixels) of the largest region to polygonalize. When the OutputStyle is set to VTK_STYLE_POLYGONALIZE, large amounts of memory are used. In order to process large images, the image is broken into pieces that are at most Size pixels in width and height.

virtual int Kitware.VTK.vtkImageToPolyDataFilter.GetSubImageSizeMaxValue ( )
virtual

Specify the size (n by n pixels) of the largest region to polygonalize. When the OutputStyle is set to VTK_STYLE_POLYGONALIZE, large amounts of memory are used. In order to process large images, the image is broken into pieces that are at most Size pixels in width and height.

virtual int Kitware.VTK.vtkImageToPolyDataFilter.GetSubImageSizeMinValue ( )
virtual

Specify the size (n by n pixels) of the largest region to polygonalize. When the OutputStyle is set to VTK_STYLE_POLYGONALIZE, large amounts of memory are used. In order to process large images, the image is broken into pieces that are at most Size pixels in width and height.

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

*Undocumented Block

Reimplemented from Kitware.VTK.vtkPolyDataAlgorithm.

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

*Undocumented Block

Reimplemented from Kitware.VTK.vtkPolyDataAlgorithm.

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

Instantiate object with initial number of colors 256.

Reimplemented from Kitware.VTK.vtkPolyDataAlgorithm.

new vtkImageToPolyDataFilter Kitware.VTK.vtkImageToPolyDataFilter.NewInstance ( )

*Undocumented Block

Reimplemented from Kitware.VTK.vtkPolyDataAlgorithm.

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

*Undocumented Block

Reimplemented from Kitware.VTK.vtkPolyDataAlgorithm.

Here is the call graph for this function:

virtual void Kitware.VTK.vtkImageToPolyDataFilter.SetColorMode ( int  _arg)
virtual

Specify how to quantize color.

void Kitware.VTK.vtkImageToPolyDataFilter.SetColorModeToLinear256 ( )

Specify how to quantize color.

void Kitware.VTK.vtkImageToPolyDataFilter.SetColorModeToLUT ( )

Specify how to quantize color.

virtual void Kitware.VTK.vtkImageToPolyDataFilter.SetDecimation ( int  _arg)
virtual

Turn on/off whether the final polygons should be decimated. whether to smooth boundaries.

virtual void Kitware.VTK.vtkImageToPolyDataFilter.SetDecimationError ( double  _arg)
virtual

Specify the error to use for decimation (if decimation is on). The error is an absolute number–the image spacing and dimensions are used to create points so the error should be consistent with the image size.

virtual void Kitware.VTK.vtkImageToPolyDataFilter.SetError ( int  _arg)
virtual

Specify the error value between two colors where the colors are considered the same. Only use this if the color mode uses the default 256 table.

virtual void Kitware.VTK.vtkImageToPolyDataFilter.SetLookupTable ( vtkScalarsToColors  arg0)
virtual

Set/Get the vtkLookupTable to use. The lookup table is used when the color mode is set to LUT and a single component scalar is input.

virtual void Kitware.VTK.vtkImageToPolyDataFilter.SetNumberOfSmoothingIterations ( int  _arg)
virtual

Specify the number of smoothing iterations to smooth polygons. (Only in effect if output style is Polygonalize and smoothing is on.)

virtual void Kitware.VTK.vtkImageToPolyDataFilter.SetOutputStyle ( int  _arg)
virtual

Specify how to create the output. Pixelize means converting the image to quad polygons with a constant color per quad. Polygonalize means merging colors together into polygonal regions, and then smoothing the regions (if smoothing is turned on). RunLength means creating quad polygons that may encompass several pixels on a scan line. The default behavior is Polygonalize.

void Kitware.VTK.vtkImageToPolyDataFilter.SetOutputStyleToPixelize ( )

Specify how to create the output. Pixelize means converting the image to quad polygons with a constant color per quad. Polygonalize means merging colors together into polygonal regions, and then smoothing the regions (if smoothing is turned on). RunLength means creating quad polygons that may encompass several pixels on a scan line. The default behavior is Polygonalize.

void Kitware.VTK.vtkImageToPolyDataFilter.SetOutputStyleToPolygonalize ( )

Specify how to create the output. Pixelize means converting the image to quad polygons with a constant color per quad. Polygonalize means merging colors together into polygonal regions, and then smoothing the regions (if smoothing is turned on). RunLength means creating quad polygons that may encompass several pixels on a scan line. The default behavior is Polygonalize.

void Kitware.VTK.vtkImageToPolyDataFilter.SetOutputStyleToRunLength ( )

Specify how to create the output. Pixelize means converting the image to quad polygons with a constant color per quad. Polygonalize means merging colors together into polygonal regions, and then smoothing the regions (if smoothing is turned on). RunLength means creating quad polygons that may encompass several pixels on a scan line. The default behavior is Polygonalize.

virtual void Kitware.VTK.vtkImageToPolyDataFilter.SetSmoothing ( int  _arg)
virtual

If the output style is set to polygonalize, then you can control whether to smooth boundaries.

virtual void Kitware.VTK.vtkImageToPolyDataFilter.SetSubImageSize ( int  _arg)
virtual

Specify the size (n by n pixels) of the largest region to polygonalize. When the OutputStyle is set to VTK_STYLE_POLYGONALIZE, large amounts of memory are used. In order to process large images, the image is broken into pieces that are at most Size pixels in width and height.

virtual void Kitware.VTK.vtkImageToPolyDataFilter.SmoothingOff ( )
virtual

If the output style is set to polygonalize, then you can control whether to smooth boundaries.

virtual void Kitware.VTK.vtkImageToPolyDataFilter.SmoothingOn ( )
virtual

If the output style is set to polygonalize, then you can control whether to smooth boundaries.


Member Data Documentation

new readonly string Kitware.VTK.vtkImageToPolyDataFilter.MRClassNameKey = "24vtkImageToPolyDataFilter"
static

Automatically generated type registration mechanics.

Reimplemented from Kitware.VTK.vtkPolyDataAlgorithm.

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

Automatically generated type registration mechanics.

Reimplemented from Kitware.VTK.vtkPolyDataAlgorithm.


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