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

vtkCGMWriter - write polygonal data as a CGM file More...

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

List of all members.

Public Member Functions

 vtkCGMWriter (IntPtr rawCppThis, bool callDisposalMethod, bool strong)
 Automatically generated constructor - called from generated code. DO NOT call directly.
 vtkCGMWriter ()
 Instantiate with no viewport defined and sorting on. The default resolution is 10,000, and the color mode is set to default.
virtual int GetColorMode ()
 Control how output polydata is colored. By default (ColorModeToDefault), if per cell colors are defined (unsigned chars of 1-4 components), then the cells are colored with these values. (If point colors are defined and cell colors are not, you can use vtkPointDataToCellData to convert the point colors to cell colors.) Otherwise, by default, the cells are set to the specified color. If ColorModeToSpecifiedColor is set, then the primitives will all be set to this color. If ColorModeToRandomColors is set, each cell will be randomly assigned a color.
virtual int GetResolution ()
 Specify the resolution of the CGM file. This number is used to integerize the maximum coordinate range of the plot file.
virtual int GetResolutionMaxValue ()
 Specify the resolution of the CGM file. This number is used to integerize the maximum coordinate range of the plot file.
virtual int GetResolutionMinValue ()
 Specify the resolution of the CGM file. This number is used to integerize the maximum coordinate range of the plot file.
virtual int GetSort ()
 Turn on/off the sorting of the cells via depth. If enabled, polygonal cells will be sorted from back to front, i.e., a Painter's algorithm sort.
virtual float[] GetSpecifiedColor ()
 Set/Get the specified color to color the polydata cells. This color is only used when the color mode is set to ColorModeToSpecifiedColor, or ColorModeToDefault is set and no cell colors are specified. The specified color is specified as RGB values ranging from (0,1). (Note: CGM will map this color to the closest color it supports.)
virtual void GetSpecifiedColor (IntPtr data)
 Set/Get the specified color to color the polydata cells. This color is only used when the color mode is set to ColorModeToSpecifiedColor, or ColorModeToDefault is set and no cell colors are specified. The specified color is specified as RGB values ranging from (0,1). (Note: CGM will map this color to the closest color it supports.)
virtual vtkViewport GetViewport ()
 Specify a vtkViewport object to be used to transform the vtkPolyData points into 2D coordinates. By default (no vtkViewport specified), the point coordinates are generated by ignoring the z values. If a viewport is defined, then the points are transformed into viewport coordinates.
override int IsA (string type)
 Instantiate with no viewport defined and sorting on. The default resolution is 10,000, and the color mode is set to default.
new vtkCGMWriter NewInstance ()
 Instantiate with no viewport defined and sorting on. The default resolution is 10,000, and the color mode is set to default.
virtual void SetColorMode (int _arg)
 Control how output polydata is colored. By default (ColorModeToDefault), if per cell colors are defined (unsigned chars of 1-4 components), then the cells are colored with these values. (If point colors are defined and cell colors are not, you can use vtkPointDataToCellData to convert the point colors to cell colors.) Otherwise, by default, the cells are set to the specified color. If ColorModeToSpecifiedColor is set, then the primitives will all be set to this color. If ColorModeToRandomColors is set, each cell will be randomly assigned a color.
void SetColorModeToDefault ()
 Control how output polydata is colored. By default (ColorModeToDefault), if per cell colors are defined (unsigned chars of 1-4 components), then the cells are colored with these values. (If point colors are defined and cell colors are not, you can use vtkPointDataToCellData to convert the point colors to cell colors.) Otherwise, by default, the cells are set to the specified color. If ColorModeToSpecifiedColor is set, then the primitives will all be set to this color. If ColorModeToRandomColors is set, each cell will be randomly assigned a color.
void SetColorModeToRandomColors ()
 Control how output polydata is colored. By default (ColorModeToDefault), if per cell colors are defined (unsigned chars of 1-4 components), then the cells are colored with these values. (If point colors are defined and cell colors are not, you can use vtkPointDataToCellData to convert the point colors to cell colors.) Otherwise, by default, the cells are set to the specified color. If ColorModeToSpecifiedColor is set, then the primitives will all be set to this color. If ColorModeToRandomColors is set, each cell will be randomly assigned a color.
void SetColorModeToSpecifiedColor ()
 Control how output polydata is colored. By default (ColorModeToDefault), if per cell colors are defined (unsigned chars of 1-4 components), then the cells are colored with these values. (If point colors are defined and cell colors are not, you can use vtkPointDataToCellData to convert the point colors to cell colors.) Otherwise, by default, the cells are set to the specified color. If ColorModeToSpecifiedColor is set, then the primitives will all be set to this color. If ColorModeToRandomColors is set, each cell will be randomly assigned a color.
virtual void SetResolution (int _arg)
 Specify the resolution of the CGM file. This number is used to integerize the maximum coordinate range of the plot file.
virtual void SetSort (int _arg)
 Turn on/off the sorting of the cells via depth. If enabled, polygonal cells will be sorted from back to front, i.e., a Painter's algorithm sort.
virtual void SetSpecifiedColor (float _arg1, float _arg2, float _arg3)
 Set/Get the specified color to color the polydata cells. This color is only used when the color mode is set to ColorModeToSpecifiedColor, or ColorModeToDefault is set and no cell colors are specified. The specified color is specified as RGB values ranging from (0,1). (Note: CGM will map this color to the closest color it supports.)
virtual void SetSpecifiedColor (IntPtr _arg)
 Set/Get the specified color to color the polydata cells. This color is only used when the color mode is set to ColorModeToSpecifiedColor, or ColorModeToDefault is set and no cell colors are specified. The specified color is specified as RGB values ranging from (0,1). (Note: CGM will map this color to the closest color it supports.)
virtual void SetViewport (vtkViewport arg0)
 Specify a vtkViewport object to be used to transform the vtkPolyData points into 2D coordinates. By default (no vtkViewport specified), the point coordinates are generated by ignoring the z values. If a viewport is defined, then the points are transformed into viewport coordinates.

Static Public Member Functions

static new vtkCGMWriter New ()
 Instantiate with no viewport defined and sorting on. The default resolution is 10,000, and the color mode is set to default.
static new int IsTypeOf (string type)
 Instantiate with no viewport defined and sorting on. The default resolution is 10,000, and the color mode is set to default.
static new vtkCGMWriter SafeDownCast (vtkObjectBase o)
 Instantiate with no viewport defined and sorting on. The default resolution is 10,000, and the color mode is set to default.

Public Attributes

new const string MRFullTypeName = "Kitware.VTK.vtkCGMWriter"
 Automatically generated type registration mechanics.

Static Public Attributes

static new readonly string MRClassNameKey = "12vtkCGMWriter"
 Automatically generated type registration mechanics.

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.

Private Member Functions

static internal IntPtr vtkCGMWriter_New (ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal int vtkCGMWriter_GetColorMode_01 (HandleRef pThis)
static internal int vtkCGMWriter_GetResolution_02 (HandleRef pThis)
static internal int vtkCGMWriter_GetResolutionMaxValue_03 (HandleRef pThis)
static internal int vtkCGMWriter_GetResolutionMinValue_04 (HandleRef pThis)
static internal int vtkCGMWriter_GetSort_05 (HandleRef pThis)
static internal IntPtr vtkCGMWriter_GetSpecifiedColor_06 (HandleRef pThis)
static internal void vtkCGMWriter_GetSpecifiedColor_07 (HandleRef pThis, IntPtr data)
static internal IntPtr vtkCGMWriter_GetViewport_08 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal int vtkCGMWriter_IsA_09 (HandleRef pThis, string type)
static internal int vtkCGMWriter_IsTypeOf_10 (string type)
static internal IntPtr vtkCGMWriter_NewInstance_12 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal IntPtr vtkCGMWriter_SafeDownCast_13 (HandleRef o, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal void vtkCGMWriter_SetColorMode_14 (HandleRef pThis, int _arg)
static internal void vtkCGMWriter_SetColorModeToDefault_15 (HandleRef pThis)
static internal void vtkCGMWriter_SetColorModeToRandomColors_16 (HandleRef pThis)
static internal void vtkCGMWriter_SetColorModeToSpecifiedColor_17 (HandleRef pThis)
static internal void vtkCGMWriter_SetResolution_18 (HandleRef pThis, int _arg)
static internal void vtkCGMWriter_SetSort_19 (HandleRef pThis, int _arg)
static internal void vtkCGMWriter_SetSpecifiedColor_20 (HandleRef pThis, float _arg1, float _arg2, float _arg3)
static internal void vtkCGMWriter_SetSpecifiedColor_21 (HandleRef pThis, IntPtr _arg)
static internal void vtkCGMWriter_SetViewport_22 (HandleRef pThis, HandleRef arg0)

Static Private Member Functions

static vtkCGMWriter ()
 Automatically generated type registration mechanics.

Detailed Description

vtkCGMWriter - write polygonal data as a CGM file

Description vtkCGMWriter writes CGM (Computer Graphics Metafile) output. CGM is a 2D graphics vector format typically used by large plotters. This writer can handle vertices, lines, polygons, and triangle strips in any combination. Colors are specified either 1) from cell scalars (assumed to be RGB or RGBA color specification), 2) from a specified color; or 3) randomly assigned colors.

Note: During output of the polygonal data, triangle strips are converted to triangles, and polylines to lines. Also, due to limitations in the CGM color model, only 256 colors are available to the color palette.


Constructor & Destructor Documentation

static Kitware.VTK.vtkCGMWriter.vtkCGMWriter ( ) [static, private]

Automatically generated type registration mechanics.

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

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

Instantiate with no viewport defined and sorting on. The default resolution is 10,000, and the color mode is set to default.


Member Function Documentation

override void Kitware.VTK.vtkCGMWriter.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.vtkPolyDataWriter.

virtual int Kitware.VTK.vtkCGMWriter.GetColorMode ( ) [virtual]

Control how output polydata is colored. By default (ColorModeToDefault), if per cell colors are defined (unsigned chars of 1-4 components), then the cells are colored with these values. (If point colors are defined and cell colors are not, you can use vtkPointDataToCellData to convert the point colors to cell colors.) Otherwise, by default, the cells are set to the specified color. If ColorModeToSpecifiedColor is set, then the primitives will all be set to this color. If ColorModeToRandomColors is set, each cell will be randomly assigned a color.

virtual int Kitware.VTK.vtkCGMWriter.GetResolution ( ) [virtual]

Specify the resolution of the CGM file. This number is used to integerize the maximum coordinate range of the plot file.

Specify the resolution of the CGM file. This number is used to integerize the maximum coordinate range of the plot file.

Specify the resolution of the CGM file. This number is used to integerize the maximum coordinate range of the plot file.

virtual int Kitware.VTK.vtkCGMWriter.GetSort ( ) [virtual]

Turn on/off the sorting of the cells via depth. If enabled, polygonal cells will be sorted from back to front, i.e., a Painter's algorithm sort.

virtual float [] Kitware.VTK.vtkCGMWriter.GetSpecifiedColor ( ) [virtual]

Set/Get the specified color to color the polydata cells. This color is only used when the color mode is set to ColorModeToSpecifiedColor, or ColorModeToDefault is set and no cell colors are specified. The specified color is specified as RGB values ranging from (0,1). (Note: CGM will map this color to the closest color it supports.)

virtual void Kitware.VTK.vtkCGMWriter.GetSpecifiedColor ( IntPtr  data) [virtual]

Set/Get the specified color to color the polydata cells. This color is only used when the color mode is set to ColorModeToSpecifiedColor, or ColorModeToDefault is set and no cell colors are specified. The specified color is specified as RGB values ranging from (0,1). (Note: CGM will map this color to the closest color it supports.)

Specify a vtkViewport object to be used to transform the vtkPolyData points into 2D coordinates. By default (no vtkViewport specified), the point coordinates are generated by ignoring the z values. If a viewport is defined, then the points are transformed into viewport coordinates.

Here is the call graph for this function:

override int Kitware.VTK.vtkCGMWriter.IsA ( string  type) [virtual]

Instantiate with no viewport defined and sorting on. The default resolution is 10,000, and the color mode is set to default.

Reimplemented from Kitware.VTK.vtkPolyDataWriter.

static new int Kitware.VTK.vtkCGMWriter.IsTypeOf ( string  type) [static]

Instantiate with no viewport defined and sorting on. The default resolution is 10,000, and the color mode is set to default.

Reimplemented from Kitware.VTK.vtkPolyDataWriter.

static new vtkCGMWriter Kitware.VTK.vtkCGMWriter.New ( ) [static]

Instantiate with no viewport defined and sorting on. The default resolution is 10,000, and the color mode is set to default.

Reimplemented from Kitware.VTK.vtkPolyDataWriter.

Instantiate with no viewport defined and sorting on. The default resolution is 10,000, and the color mode is set to default.

Reimplemented from Kitware.VTK.vtkPolyDataWriter.

Instantiate with no viewport defined and sorting on. The default resolution is 10,000, and the color mode is set to default.

Reimplemented from Kitware.VTK.vtkPolyDataWriter.

Here is the call graph for this function:

virtual void Kitware.VTK.vtkCGMWriter.SetColorMode ( int  _arg) [virtual]

Control how output polydata is colored. By default (ColorModeToDefault), if per cell colors are defined (unsigned chars of 1-4 components), then the cells are colored with these values. (If point colors are defined and cell colors are not, you can use vtkPointDataToCellData to convert the point colors to cell colors.) Otherwise, by default, the cells are set to the specified color. If ColorModeToSpecifiedColor is set, then the primitives will all be set to this color. If ColorModeToRandomColors is set, each cell will be randomly assigned a color.

Control how output polydata is colored. By default (ColorModeToDefault), if per cell colors are defined (unsigned chars of 1-4 components), then the cells are colored with these values. (If point colors are defined and cell colors are not, you can use vtkPointDataToCellData to convert the point colors to cell colors.) Otherwise, by default, the cells are set to the specified color. If ColorModeToSpecifiedColor is set, then the primitives will all be set to this color. If ColorModeToRandomColors is set, each cell will be randomly assigned a color.

Control how output polydata is colored. By default (ColorModeToDefault), if per cell colors are defined (unsigned chars of 1-4 components), then the cells are colored with these values. (If point colors are defined and cell colors are not, you can use vtkPointDataToCellData to convert the point colors to cell colors.) Otherwise, by default, the cells are set to the specified color. If ColorModeToSpecifiedColor is set, then the primitives will all be set to this color. If ColorModeToRandomColors is set, each cell will be randomly assigned a color.

Control how output polydata is colored. By default (ColorModeToDefault), if per cell colors are defined (unsigned chars of 1-4 components), then the cells are colored with these values. (If point colors are defined and cell colors are not, you can use vtkPointDataToCellData to convert the point colors to cell colors.) Otherwise, by default, the cells are set to the specified color. If ColorModeToSpecifiedColor is set, then the primitives will all be set to this color. If ColorModeToRandomColors is set, each cell will be randomly assigned a color.

virtual void Kitware.VTK.vtkCGMWriter.SetResolution ( int  _arg) [virtual]

Specify the resolution of the CGM file. This number is used to integerize the maximum coordinate range of the plot file.

virtual void Kitware.VTK.vtkCGMWriter.SetSort ( int  _arg) [virtual]

Turn on/off the sorting of the cells via depth. If enabled, polygonal cells will be sorted from back to front, i.e., a Painter's algorithm sort.

virtual void Kitware.VTK.vtkCGMWriter.SetSpecifiedColor ( float  _arg1,
float  _arg2,
float  _arg3 
) [virtual]

Set/Get the specified color to color the polydata cells. This color is only used when the color mode is set to ColorModeToSpecifiedColor, or ColorModeToDefault is set and no cell colors are specified. The specified color is specified as RGB values ranging from (0,1). (Note: CGM will map this color to the closest color it supports.)

virtual void Kitware.VTK.vtkCGMWriter.SetSpecifiedColor ( IntPtr  _arg) [virtual]

Set/Get the specified color to color the polydata cells. This color is only used when the color mode is set to ColorModeToSpecifiedColor, or ColorModeToDefault is set and no cell colors are specified. The specified color is specified as RGB values ranging from (0,1). (Note: CGM will map this color to the closest color it supports.)

virtual void Kitware.VTK.vtkCGMWriter.SetViewport ( vtkViewport  arg0) [virtual]

Specify a vtkViewport object to be used to transform the vtkPolyData points into 2D coordinates. By default (no vtkViewport specified), the point coordinates are generated by ignoring the z values. If a viewport is defined, then the points are transformed into viewport coordinates.

static internal int Kitware.VTK.vtkCGMWriter.vtkCGMWriter_GetColorMode_01 ( HandleRef  pThis) [private]
static internal int Kitware.VTK.vtkCGMWriter.vtkCGMWriter_GetResolution_02 ( HandleRef  pThis) [private]
static internal int Kitware.VTK.vtkCGMWriter.vtkCGMWriter_GetResolutionMaxValue_03 ( HandleRef  pThis) [private]
static internal int Kitware.VTK.vtkCGMWriter.vtkCGMWriter_GetResolutionMinValue_04 ( HandleRef  pThis) [private]
static internal int Kitware.VTK.vtkCGMWriter.vtkCGMWriter_GetSort_05 ( HandleRef  pThis) [private]
static internal IntPtr Kitware.VTK.vtkCGMWriter.vtkCGMWriter_GetSpecifiedColor_06 ( HandleRef  pThis) [private]
static internal void Kitware.VTK.vtkCGMWriter.vtkCGMWriter_GetSpecifiedColor_07 ( HandleRef  pThis,
IntPtr  data 
) [private]
static internal IntPtr Kitware.VTK.vtkCGMWriter.vtkCGMWriter_GetViewport_08 ( HandleRef  pThis,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal int Kitware.VTK.vtkCGMWriter.vtkCGMWriter_IsA_09 ( HandleRef  pThis,
string  type 
) [private]
static internal int Kitware.VTK.vtkCGMWriter.vtkCGMWriter_IsTypeOf_10 ( string  type) [private]
static internal IntPtr Kitware.VTK.vtkCGMWriter.vtkCGMWriter_New ( ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal IntPtr Kitware.VTK.vtkCGMWriter.vtkCGMWriter_NewInstance_12 ( HandleRef  pThis,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal IntPtr Kitware.VTK.vtkCGMWriter.vtkCGMWriter_SafeDownCast_13 ( HandleRef  o,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal void Kitware.VTK.vtkCGMWriter.vtkCGMWriter_SetColorMode_14 ( HandleRef  pThis,
int  _arg 
) [private]
static internal void Kitware.VTK.vtkCGMWriter.vtkCGMWriter_SetColorModeToDefault_15 ( HandleRef  pThis) [private]
static internal void Kitware.VTK.vtkCGMWriter.vtkCGMWriter_SetColorModeToRandomColors_16 ( HandleRef  pThis) [private]
static internal void Kitware.VTK.vtkCGMWriter.vtkCGMWriter_SetColorModeToSpecifiedColor_17 ( HandleRef  pThis) [private]
static internal void Kitware.VTK.vtkCGMWriter.vtkCGMWriter_SetResolution_18 ( HandleRef  pThis,
int  _arg 
) [private]
static internal void Kitware.VTK.vtkCGMWriter.vtkCGMWriter_SetSort_19 ( HandleRef  pThis,
int  _arg 
) [private]
static internal void Kitware.VTK.vtkCGMWriter.vtkCGMWriter_SetSpecifiedColor_20 ( HandleRef  pThis,
float  _arg1,
float  _arg2,
float  _arg3 
) [private]
static internal void Kitware.VTK.vtkCGMWriter.vtkCGMWriter_SetSpecifiedColor_21 ( HandleRef  pThis,
IntPtr  _arg 
) [private]
static internal void Kitware.VTK.vtkCGMWriter.vtkCGMWriter_SetViewport_22 ( HandleRef  pThis,
HandleRef  arg0 
) [private]

Member Data Documentation

new readonly string Kitware.VTK.vtkCGMWriter.MRClassNameKey = "12vtkCGMWriter" [static]

Automatically generated type registration mechanics.

Reimplemented from Kitware.VTK.vtkPolyDataWriter.

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

Automatically generated type registration mechanics.

Reimplemented from Kitware.VTK.vtkPolyDataWriter.


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