3Depict
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Public Attributes | List of all members
PlotStreamData Class Reference

Plotting data. More...

#include <filter.h>

Inheritance diagram for PlotStreamData:
Inheritance graph
[legend]
Collaboration diagram for PlotStreamData:
Collaboration graph
[legend]

Public Member Functions

 PlotStreamData ()
 
 PlotStreamData (const Filter *f)
 
bool save (const char *filename) const
 
void clear ()
 Free mem held by objects. More...
 
size_t getNumBasicObjects () const
 
void autoSetHardBounds ()
 
- Public Member Functions inherited from FilterStreamData
 FilterStreamData ()
 
 FilterStreamData (const Filter *)
 
virtual ~FilterStreamData ()
 
virtual unsigned int getStreamType () const
 Returns an integer unique to the class to identify type (yes rttid...) More...
 

Public Attributes

float r
 
float g
 
float b
 
float a
 
unsigned int plotStyle
 
unsigned int plotMode
 
bool logarithmic
 
std::string dataLabel
 
std::string xLabel
 
std::string yLabel
 
bool useDataLabelAsYDescriptor
 When showing raw XY data, is the data. More...
 
std::vector< std::pair< float, float > > xyData
 XY data pairs for plotting curve. More...
 
std::vector< std::pair< float, float > > regions
 Rectangular marked regions. More...
 
std::vector< std::string > regionTitle
 
std::vector< float > regionR
 Region colours. More...
 
std::vector< float > regionB
 
std::vector< float > regionG
 
std::vector< unsigned int > regionID
 Region indices from parent region. More...
 
FilterregionParent
 Region parent filter pointer, used for matching interaction. More...
 
unsigned int index
 Parent filter index. More...
 
PLOT_ERROR errDat
 Error bar mode. More...
 
float hardMinX
 Hard bounds that cannot be exceeded when drawing plot. More...
 
float hardMaxX
 
float hardMinY
 
float hardMaxY
 
- Public Attributes inherited from FilterStreamData
const Filterparent
 Parent filter pointer. More...
 
unsigned int cached
 Tells us if the filter has cached this data for later use. More...
 

Additional Inherited Members

- Protected Attributes inherited from FilterStreamData
unsigned int streamType
 

Detailed Description

Plotting data.

Constructor & Destructor Documentation

◆ PlotStreamData() [1/2]

PlotStreamData::PlotStreamData ( )

◆ PlotStreamData() [2/2]

PlotStreamData::PlotStreamData ( const Filter f)

Member Function Documentation

◆ autoSetHardBounds()

void PlotStreamData::autoSetHardBounds ( )

References hardMaxX, hardMaxY, hardMinX, hardMinY, and xyData.

◆ clear()

void PlotStreamData::clear ( )
inlinevirtual

Free mem held by objects.

Implements FilterStreamData.

◆ getNumBasicObjects()

size_t PlotStreamData::getNumBasicObjects ( ) const
inlinevirtual

Implements FilterStreamData.

Referenced by VisController::updateScene().

Here is the caller graph for this function:

◆ save()

bool PlotStreamData::save ( const char *  filename) const

Member Data Documentation

◆ a

float PlotStreamData::a

◆ b

float PlotStreamData::b

◆ dataLabel

std::string PlotStreamData::dataLabel

◆ errDat

PLOT_ERROR PlotStreamData::errDat

◆ g

float PlotStreamData::g

◆ hardMaxX

float PlotStreamData::hardMaxX

◆ hardMaxY

float PlotStreamData::hardMaxY

◆ hardMinX

float PlotStreamData::hardMinX

Hard bounds that cannot be exceeded when drawing plot.

Referenced by autoSetHardBounds(), PlotStreamData(), and save().

◆ hardMinY

float PlotStreamData::hardMinY

◆ index

unsigned int PlotStreamData::index

◆ logarithmic

bool PlotStreamData::logarithmic

◆ plotMode

unsigned int PlotStreamData::plotMode

◆ plotStyle

unsigned int PlotStreamData::plotStyle

◆ r

float PlotStreamData::r

◆ regionB

std::vector<float> PlotStreamData::regionB

Referenced by save(), and VisController::updateScene().

◆ regionG

std::vector<float> PlotStreamData::regionG

Referenced by save(), and VisController::updateScene().

◆ regionID

std::vector<unsigned int> PlotStreamData::regionID

Region indices from parent region.

Referenced by save(), and VisController::updateScene().

◆ regionParent

Filter* PlotStreamData::regionParent

Region parent filter pointer, used for matching interaction.

Referenced by save(), and VisController::updateScene().

◆ regionR

std::vector<float> PlotStreamData::regionR

Region colours.

Referenced by save(), and VisController::updateScene().

◆ regions

std::vector<std::pair<float,float> > PlotStreamData::regions

Rectangular marked regions.

Referenced by VisController::updateScene().

◆ regionTitle

std::vector<std::string> PlotStreamData::regionTitle

◆ useDataLabelAsYDescriptor

bool PlotStreamData::useDataLabelAsYDescriptor

When showing raw XY data, is the data.

Referenced by VisController::updateScene().

◆ xLabel

std::string PlotStreamData::xLabel

◆ xyData

std::vector<std::pair<float,float> > PlotStreamData::xyData

◆ yLabel

std::string PlotStreamData::yLabel

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