MeVisLab Scripting Reference
MLCurveListWrapper Class Reference

Inherits MLRefCountedBaseWrapper.

Public Slots

int getNumCurves () const
 
MLCurveDataWrappergetCurve (int index) const
 
QList< MLCurveDataWrapper * > getCurves () const
 
double getXMin () const
 
double getXMax () const
 
double getYMin () const
 
double getYMax () const
 
MLCurveDataWrapperaddCurve ()
 
void removeCurve (int index)
 

Properties

int numCurves
 

Detailed Description

A class that wraps CurveList objects for use in Python.

Member Function Documentation

◆ addCurve

MLCurveDataWrapper* MLCurveListWrapper::addCurve ( )
slot

Adds new (empty) curve.

◆ getCurve

MLCurveDataWrapper* MLCurveListWrapper::getCurve ( int  index) const
slot

Returns the curve at index.

◆ getCurves

QList<MLCurveDataWrapper*> MLCurveListWrapper::getCurves ( ) const
slot

Returns all curves.

◆ getNumCurves

int MLCurveListWrapper::getNumCurves ( ) const
slot

Returns the number of curves.

◆ getXMax

double MLCurveListWrapper::getXMax ( ) const
slot

Returns the maximum X value.

◆ getXMin

double MLCurveListWrapper::getXMin ( ) const
slot

Returns the minimum X value.

◆ getYMax

double MLCurveListWrapper::getYMax ( ) const
slot

Returns the maximum Y value.

◆ getYMin

double MLCurveListWrapper::getYMin ( ) const
slot

Returns the minimum Y value.

◆ removeCurve

void MLCurveListWrapper::removeCurve ( int  index)
slot

Removes the curve.

Property Documentation

◆ numCurves

int MLCurveListWrapper::numCurves
read

Number of curves.