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

Data class for holding info about non-overlapping. More...

#include <plot.h>

Collaboration diagram for PlotRegion:
Collaboration graph
[legend]

Public Types

enum  { ACCESS_MODE_FILTER, ACCESS_MODE_RANGEFILE, ACCESS_MODE_ENUM_END }
 

Public Member Functions

 PlotRegion ()
 
 PlotRegion (size_t updateMethod, void *parentObject)
 
const PlotRegionoperator= (const PlotRegion &r)
 
void setUpdateMethod (size_t updateMethod, void *parentObject)
 
void updateParent (size_t method, const std::vector< float > &newBounds, bool updateSelf=true)
 
FiltergetParentAsFilter () const
 
RangeFilegetParentAsRangeFile () const
 
std::string getName () const
 

Public Attributes

std::vector< std::pair< float, float > > bounds
 
float r
 
float g
 
float b
 
unsigned int id
 
std::string label
 

Detailed Description

Data class for holding info about non-overlapping.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
ACCESS_MODE_FILTER 
ACCESS_MODE_RANGEFILE 
ACCESS_MODE_ENUM_END 

Constructor & Destructor Documentation

◆ PlotRegion() [1/2]

PlotRegion::PlotRegion ( )

◆ PlotRegion() [2/2]

PlotRegion::PlotRegion ( size_t  updateMethod,
void *  parentObject 
)

Member Function Documentation

◆ getName()

std::string PlotRegion::getName ( ) const

Referenced by MathGLPane::getErrString(), and getParentAsRangeFile().

Here is the caller graph for this function:

◆ getParentAsFilter()

Filter* PlotRegion::getParentAsFilter ( ) const
inline

References ACCESS_MODE_FILTER, and ASSERT.

◆ getParentAsRangeFile()

RangeFile* PlotRegion::getParentAsRangeFile ( ) const
inline

◆ operator=()

const PlotRegion & PlotRegion::operator= ( const PlotRegion r)

References b, bounds, g, id, label, and r.

◆ setUpdateMethod()

void PlotRegion::setUpdateMethod ( size_t  updateMethod,
void *  parentObject 
)

References ASSERT.

◆ updateParent()

void PlotRegion::updateParent ( size_t  method,
const std::vector< float > &  newBounds,
bool  updateSelf = true 
)

Member Data Documentation

◆ b

float PlotRegion::b

◆ bounds

std::vector<std::pair<float,float> > PlotRegion::bounds

◆ g

float PlotRegion::g

◆ id

unsigned int PlotRegion::id

◆ label

std::string PlotRegion::label

◆ r

float PlotRegion::r

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