PrintCurves

MLModule
genre Diagram
author MeVis Medical Solutions AG
package MeVisLab/Standard
dll MLCurve
definition MLCurve.def
see also SoDiagram2D, ProfileCurve, DynaCurve
keywords Diagram, file, text, field, string, read, save

Purpose

The module PrintCurves displays curve data values in tabular form and saves them into a text file.

Usage

The PrintCurves module takes the input ml.CurveData or ml.CurveList object and displays its data values in the field Curve Table.

Multiple data series in a CurveData object are printed as columns in the same table, multiple CurveData objects in a CurveList are printed as separate tables.

Windows

Default Panel

../../../Modules/ML/MLCurve/mhelp/Images/Screenshots/PrintCurves._default.png

Input Fields

inCurveList

name: inCurveList, type: CurveData/CurveList(MLBase), deprecated name: inputCurveList

The input field accepts a CurveData or a CurveList object.

For accessing this object via scripting see the Scripting Reference: MLCurveDataWrapper.

Parameter Fields

Field Index

Auto Update: Enum Rows: String
Clear: Trigger Save: Trigger
Columns: String Trim Curve: Bool
Curve Table: String Update: Trigger
Filename: String Use Separator: Bool
indentString: String  
Max X: Float  
Min X: Float  

Visible Fields

Curve Table

name: curveTable, type: String, persistent: no

Shows the data content of the attached CurveData or CurveList object as a table.

Auto Update

name: autoUpdate, type: Enum, default: Off

Defines the update mode of this module.

Values:

Title Name Deprecated Name Description
Off Off FALSE The curve data table is not updated if the input curve data changes. It can be updated manually by clicking the Update button.
Auto Clear AutoClear   The curve data table is cleared if the input curve data changes.
Auto Update AutoUpdate TRUE The curve data table is updated automatically if the input curve data changes.

Update

name: update, type: Trigger

If pressed, the curve data tables are being updated.

Clear

name: clear, type: Trigger

If pressed, the contents of the curve table are being erased.

Filename

name: filename, type: String

Sets the filename for the file where the curve data is written to.

Save

name: save, type: Trigger

If pressed, the content of the data table is saved to the file specified in Filename.

Use Separator

name: useSeparator, type: Bool, default: FALSE

Sets insert characters that are used as row/column separator between entries.

This is useful if you want to import your table into other applications or modules.

Columns

name: columnSeparator, type: String

Sets a string or a character to separate the columns, i.e., elemts in a row.

Rows

name: rowSeparator, type: String

Sets a string or a character used to separate each row.

Trim Curve

name: trimCurve, type: Bool, default: FALSE

If checked, the input curve’s elements are restricted to the indices between Min X and Max X.

Min X

name: minX, type: Float, default: 0

Sets a minimum restriction value for the curve data.

Max X

name: maxX, type: Float, default: 100

Sets a maximum restriction value for the curve data.

Hidden Fields

indentString

name: indentString, type: String, default: #

String or character used for indentions.