PlusLib  2.9.0
Software library for tracked ultrasound image acquisition, calibration, and processing.
List of all members | Static Public Member Functions
PlusPlotter Class Reference

#include <src/PlusRendering/PlusPlotter.h>

Static Public Member Functions

static PlusStatus ComputeHistogram (vtkTable &inputTable, int inputColumnIndex, vtkTable &resultTable, double valueRangeMin, double valueRangeMax, unsigned int numberOfBins)
 
static PlusStatus WriteChartToFile (vtkContextView &view, int imageSize[2], const std::string &outputImageFilename)
 
static PlusStatus WriteHistogramChartToFile (const std::string &chartTitle, vtkTable &inputTable, int inputColumnIndex, double valueRangeMin, double valueRangeMax, int numberOfBins, int imageSize[2], const std::string &outputImageFilename)
 
static PlusStatus WriteLineChartToFile (const std::string &chartTitle, const std::string &yAxisText, vtkTable &inputTable, int xColumnIndex, int y1ColumnIndex, int y2ColumnIndex, int imageSize[2], const std::string &outputImageFilename)
 
static PlusStatus WriteScatterChartToFile (const std::string &chartTitle, const std::string &yAxisText, vtkTable &inputTable, int xColumnIndex, int yColumnIndex, int imageSize[2], const std::string &outputImageFilename)
 
static PlusStatus WriteTableToFile (vtkTable &table, const std::string &filename)
 

Detailed Description

Definition at line 18 of file PlusPlotter.h.

Member Function Documentation

◆ ComputeHistogram()

PlusStatus PlusPlotter::ComputeHistogram ( vtkTable &  inputTable,
int  inputColumnIndex,
vtkTable &  resultTable,
double  valueRangeMin,
double  valueRangeMax,
unsigned int  numberOfBins 
)
static

Compute histogram for values in a table column

Definition at line 150 of file PlusPlotter.cxx.

◆ WriteChartToFile()

PlusStatus PlusPlotter::WriteChartToFile ( vtkContextView &  view,
int  imageSize[2],
const std::string &  outputImageFilename 
)
static

Render plot and write to PNG file

Definition at line 128 of file PlusPlotter.cxx.

◆ WriteHistogramChartToFile()

PlusStatus PlusPlotter::WriteHistogramChartToFile ( const std::string &  chartTitle,
vtkTable &  inputTable,
int  inputColumnIndex,
double  valueRangeMin,
double  valueRangeMax,
int  numberOfBins,
int  imageSize[2],
const std::string &  outputImageFilename 
)
static

Compute histogram and write to PNG file

Definition at line 95 of file PlusPlotter.cxx.

◆ WriteLineChartToFile()

PlusStatus PlusPlotter::WriteLineChartToFile ( const std::string &  chartTitle,
const std::string &  yAxisText,
vtkTable &  inputTable,
int  xColumnIndex,
int  y1ColumnIndex,
int  y2ColumnIndex,
int  imageSize[2],
const std::string &  outputImageFilename 
)
static

Write line plot to PNG file

Definition at line 58 of file PlusPlotter.cxx.

◆ WriteScatterChartToFile()

PlusStatus PlusPlotter::WriteScatterChartToFile ( const std::string &  chartTitle,
const std::string &  yAxisText,
vtkTable &  inputTable,
int  xColumnIndex,
int  yColumnIndex,
int  imageSize[2],
const std::string &  outputImageFilename 
)
static

Write scatter plot to PNG file

Definition at line 31 of file PlusPlotter.cxx.

◆ WriteTableToFile()

PlusStatus PlusPlotter::WriteTableToFile ( vtkTable &  table,
const std::string &  filename 
)
static

Write table to delimited text file

Definition at line 206 of file PlusPlotter.cxx.


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