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

Point with m-t-c value data. More...

#include <filter.h>

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

Public Member Functions

 IonStreamData ()
 
 IonStreamData (const Filter *f)
 
void clear ()
 Free mem held by objects. More...
 
void sample (float fraction)
 
IonStreamDatacloneSampled (float fraction) const
 
size_t getNumBasicObjects () const
 
void estimateIonParameters (const std::vector< const FilterStreamData *> &inputData)
 Use heuristics to guess best display parameters for this ionstream. May attempt to leave them alone. More...
 
void estimateIonParameters (const IonStreamData *inputFilter)
 
- 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...
 

Static Public Member Functions

static unsigned int exportStreams (const std::vector< const FilterStreamData *> &selected, const std::string &outFile, unsigned int format=IONFORMAT_POS)
 export given filterstream data pointers as ion data More...
 

Public Attributes

float r
 
float g
 
float b
 
float a
 
float ionSize
 
std::string valueType
 The name for the type of data – nominally "mass-to-charge". More...
 
std::vector< IonHitdata
 Apply filter to input data stream. More...
 
- 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

Point with m-t-c value data.

Constructor & Destructor Documentation

◆ IonStreamData() [1/2]

IonStreamData::IonStreamData ( )

References STREAM_TYPE_IONS, and FilterStreamData::streamType.

Referenced by cloneSampled().

Here is the caller graph for this function:

◆ IonStreamData() [2/2]

IonStreamData::IonStreamData ( const Filter f)

Member Function Documentation

◆ clear()

void IonStreamData::clear ( )
virtual

Free mem held by objects.

Implements FilterStreamData.

References data.

Referenced by IonInfoFilter::needsUnrangedData().

Here is the caller graph for this function:

◆ cloneSampled()

IonStreamData * IonStreamData::cloneSampled ( float  fraction) const

◆ estimateIonParameters() [1/2]

void IonStreamData::estimateIonParameters ( const std::vector< const FilterStreamData *> &  inputData)

Use heuristics to guess best display parameters for this ionstream. May attempt to leave them alone.

References a, b, g, FilterStreamData::getStreamType(), ionSize, r, STREAM_TYPE_IONS, and valueType.

Referenced by estimateIonParameters(), TransformFilter::refresh(), and SpatialAnalysisFilter::setPropFromBinding().

Here is the caller graph for this function:

◆ estimateIonParameters() [2/2]

void IonStreamData::estimateIonParameters ( const IonStreamData inputFilter)

◆ exportStreams()

unsigned int IonStreamData::exportStreams ( const std::vector< const FilterStreamData *> &  selected,
const std::string &  outFile,
unsigned int  format = IONFORMAT_POS 
)
static

export given filterstream data pointers as ion data

References IonHit::appendFile(), ASSERT, data, FilterStreamData::getStreamType(), IONFORMAT_ENUM_END, IONFORMAT_VTK, STREAM_TYPE_IONS, VTK_ASCII, and vtk_write_legacy().

Referenced by MainWindowFrame::OnFileExportFilterVideo(), and MainWindowFrame::OnFileExportIons().

Here is the caller graph for this function:

◆ getNumBasicObjects()

size_t IonStreamData::getNumBasicObjects ( ) const
virtual

◆ sample()

void IonStreamData::sample ( float  fraction)

Member Data Documentation

◆ a

float IonStreamData::a

◆ b

float IonStreamData::b

◆ data

std::vector<IonHit> IonStreamData::data

◆ g

float IonStreamData::g

◆ ionSize

float IonStreamData::ionSize

◆ r

float IonStreamData::r

◆ valueType

std::string IonStreamData::valueType

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