MeVisLab Scripting Reference
MLCurveListWrapper Class Reference

#include <mlCurveListWrapper.h>

Inherits MLRefCountedBaseWrapper.

Public Slots

int getNumCurves () const
 
QObject * getCurve (int index) const
 
QList< QObject * > getCurves () const
 
double getXMin () const
 
double getXMax () const
 
double getYMin () const
 
double getYMax () const
 
QObject * addCurve ()
 
void removeCurve (int index)
 

Properties

int numCurves
 

Detailed Description

A class that wraps CurveList objects for use in Python.

Member Function Documentation

◆ addCurve

QObject * MLCurveListWrapper::addCurve ( )
slot

Add new (empty) curve.

◆ getCurve

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

Get curve at index.

◆ getCurves

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

Get all curves.

◆ getNumCurves

int MLCurveListWrapper::getNumCurves ( ) const
slot

Get number of curves.

◆ getXMax

double MLCurveListWrapper::getXMax ( ) const
slot

Get maximum X value.

◆ getXMin

double MLCurveListWrapper::getXMin ( ) const
slot

Get minimum X value.

◆ getYMax

double MLCurveListWrapper::getYMax ( ) const
slot

Get maximum Y value.

◆ getYMin

double MLCurveListWrapper::getYMin ( ) const
slot

Get minimum Y value.

◆ removeCurve

void MLCurveListWrapper::removeCurve ( int index)
slot

Remove curve.

Property Documentation

◆ numCurves

int MLCurveListWrapper::numCurves
read

Number of curves.