Isis Developer Reference
Isis::Selection Class Referenceabstract

Pure Virtual Parent Class for all Selection classes. More...

#include <Selection.h>

Inheritance diagram for Isis::Selection:
Inheritance graph
Collaboration diagram for Isis::Selection:
Collaboration graph

Public Member Functions

 Selection ()
 
virtual ~Selection ()
 
virtual int select (Chip *inputChip, Chip *selectionChip)=0
 
virtual int elipticalReduction (Chip *selectionChip, double percent_selected, double play, int patience_limit)
 
int centerOfMass (Chip *selectionChip, double *sample, double *line)
 
int centerOfMassWeighted (Chip *inputChip, Chip *selectionChip, double *sample, double *line)
 
bool ellipseFrom5Pts (Ellipse *ell, double pts[5][2])
 
double elipsePercentSelected (Chip *selectionChip, Ellipse *ell)
 
std::vector< double > minimumBoundingElipse (std::vector< std::vector< int > > pts, Ellipse *ell)
 
bool ellipseFromCubic (Ellipse *ell, double cubic[6])
 
bool ellipseAxesAreaFromMatrix (Ellipse *ell)
 
bool bestFitEllipse (Ellipse *ell, std::vector< std::vector< int > > *pts, double play, unsigned int max_iter)
 
bool pointInEllipse (Ellipse *ell, double pt[2], double play)
 
bool ellipseInChip (Ellipse *ell, Chip *chip)
 
bool ellipseFromCenterAxesAngle (Ellipse *ell, double centerSample, double centerLine, double semiMajor, double semiMinor, double theta)
 
void selectionEdge (Chip *selectionChip, std::vector< std::vector< int > > *pts)
 

Detailed Description

Pure Virtual Parent Class for all Selection classes.

Create Selection object. Because this is a pure virtual class you can not create a Selection class directly.

Author
2011-10-12 Orrin Thomas

Constructor & Destructor Documentation

◆ Selection()

Isis::Selection::Selection ( )

◆ ~Selection()

Isis::Selection::~Selection ( )
virtual

Member Function Documentation

◆ bestFitEllipse()

bool Isis::Selection::bestFitEllipse ( Ellipse * ell,
std::vector< std::vector< int > > * pts,
double play,
unsigned int max_iter )

◆ centerOfMass()

int Isis::Selection::centerOfMass ( Chip * selectionChip,
double * sample,
double * line )

◆ centerOfMassWeighted()

int Isis::Selection::centerOfMassWeighted ( Chip * inputChip,
Chip * selectionChip,
double * sample,
double * line )

◆ elipsePercentSelected()

double Isis::Selection::elipsePercentSelected ( Chip * selectionChip,
Ellipse * ell )

◆ elipticalReduction()

int Isis::Selection::elipticalReduction ( Chip * selectionChip,
double percent_selected,
double play,
int patience_limit )
virtual

◆ ellipseAxesAreaFromMatrix()

bool Isis::Selection::ellipseAxesAreaFromMatrix ( Ellipse * ell)

◆ ellipseFrom5Pts()

bool Isis::Selection::ellipseFrom5Pts ( Ellipse * ell,
double pts[5][2] )

References ellipseFromCubic().

Referenced by elipticalReduction().

◆ ellipseFromCenterAxesAngle()

bool Isis::Selection::ellipseFromCenterAxesAngle ( Ellipse * ell,
double centerSample,
double centerLine,
double semiMajor,
double semiMinor,
double theta )

◆ ellipseFromCubic()

bool Isis::Selection::ellipseFromCubic ( Ellipse * ell,
double cubic[6] )

References ellipseAxesAreaFromMatrix().

Referenced by ellipseFrom5Pts().

◆ ellipseInChip()

bool Isis::Selection::ellipseInChip ( Ellipse * ell,
Chip * chip )

◆ minimumBoundingElipse()

std::vector< double > Isis::Selection::minimumBoundingElipse ( std::vector< std::vector< int > > pts,
Ellipse * ell )

◆ pointInEllipse()

bool Isis::Selection::pointInEllipse ( Ellipse * ell,
double pt[2],
double play )

◆ select()

virtual int Isis::Selection::select ( Chip * inputChip,
Chip * selectionChip )
pure virtual

Implemented in Isis::Centroid.

◆ selectionEdge()

void Isis::Selection::selectionEdge ( Chip * selectionChip,
std::vector< std::vector< int > > * pts )

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