LSSTApplications  8.0.0.0+107,8.0.0.1+13,9.1+18,9.2,master-g084aeec0a4,master-g0aced2eed8+6,master-g15627eb03c,master-g28afc54ef9,master-g3391ba5ea0,master-g3d0fb8ae5f,master-g4432ae2e89+36,master-g5c3c32f3ec+17,master-g60f1e072bb+1,master-g6a3ac32d1b,master-g76a88a4307+1,master-g7bce1f4e06+57,master-g8ff4092549+31,master-g98e65bf68e,master-ga6b77976b1+53,master-gae20e2b580+3,master-gb584cd3397+53,master-gc5448b162b+1,master-gc54cf9771d,master-gc69578ece6+1,master-gcbf758c456+22,master-gcec1da163f+63,master-gcf15f11bcc,master-gd167108223,master-gf44c96c709
LSSTDataManagementBasePackage
Public Member Functions | Private Types | Static Private Member Functions | Private Attributes | List of all members
lsst::afw::detection::FootprintControl Class Reference

A Control Object for Footprints, controlling e.g. how they are grown. More...

#include <FootprintCtrl.h>

Public Member Functions

 FootprintControl ()
 
 FootprintControl (bool circular, bool isotropic=false)
 
 FootprintControl (bool left, bool right, bool up, bool down)
 
void growCircular (bool val)
 
std::pair< bool, bool > isCircular () const
 
void growLeft (bool val)
 
std::pair< bool, bool > isLeft () const
 
void growRight (bool val)
 
std::pair< bool, bool > isRight () const
 
void growUp (bool val)
 
std::pair< bool, bool > isUp () const
 
void growDown (bool val)
 
std::pair< bool, bool > isDown () const
 
void growIsotropic (bool val)
 Set whether Footprint should be grown isotropically. More...
 
std::pair< bool, bool > isIsotropic () const
 Return <isSet, Value> for isotropic grows. More...
 

Private Types

enum  TBool { FALSE_ =false, TRUE_ =true, NONE_ }
 

Static Private Member Functions

static std::pair< bool, bool > makePairFromTBool (TBool const val)
 

Private Attributes

TBool _circular
 
TBool _isotropic
 
TBool _left
 
TBool _right
 
TBool _up
 
TBool _down
 

Detailed Description

A Control Object for Footprints, controlling e.g. how they are grown.

Definition at line 36 of file FootprintCtrl.h.

Member Enumeration Documentation

Enumerator
FALSE_ 
TRUE_ 
NONE_ 

Definition at line 37 of file FootprintCtrl.h.

Constructor & Destructor Documentation

lsst::afw::detection::FootprintControl::FootprintControl ( )
inlineexplicit
lsst::afw::detection::FootprintControl::FootprintControl ( bool  circular,
bool  isotropic = false 
)
inlineexplicit
lsst::afw::detection::FootprintControl::FootprintControl ( bool  left,
bool  right,
bool  up,
bool  down 
)
inlineexplicit

Member Function Documentation

void lsst::afw::detection::FootprintControl::growCircular ( bool  val)
inline

Set whether Footprint should be grown in a circular sort of

Parameters
val!< Should grow be of type circular ?

Definition at line 63 of file FootprintCtrl.h.

72 {
void lsst::afw::detection::FootprintControl::growDown ( bool  val)
inline

Set whether Footprint should be grown in a down sort of

Parameters
val!< Should grow be of type down ?

Definition at line 68 of file FootprintCtrl.h.

72 {
void lsst::afw::detection::FootprintControl::growIsotropic ( bool  val)
inline

Set whether Footprint should be grown isotropically.

Parameters
valShould grow be isotropic?

Definition at line 71 of file FootprintCtrl.h.

void lsst::afw::detection::FootprintControl::growLeft ( bool  val)
inline

Set whether Footprint should be grown in a left sort of

Parameters
val!< Should grow be of type left ?

Definition at line 65 of file FootprintCtrl.h.

72 {
void lsst::afw::detection::FootprintControl::growRight ( bool  val)
inline

Set whether Footprint should be grown in a right sort of

Parameters
val!< Should grow be of type right ?

Definition at line 66 of file FootprintCtrl.h.

72 {
void lsst::afw::detection::FootprintControl::growUp ( bool  val)
inline

Set whether Footprint should be grown in a up sort of

Parameters
val!< Should grow be of type up ?

Definition at line 67 of file FootprintCtrl.h.

72 {
std::pair<bool, bool> lsst::afw::detection::FootprintControl::isCircular ( ) const
inline

Return <isSet, Value> for circular grows

Definition at line 63 of file FootprintCtrl.h.

72 {
std::pair<bool, bool> lsst::afw::detection::FootprintControl::isDown ( ) const
inline

Return <isSet, Value> for down grows

Definition at line 68 of file FootprintCtrl.h.

72 {
std::pair<bool, bool> lsst::afw::detection::FootprintControl::isIsotropic ( ) const
inline

Return <isSet, Value> for isotropic grows.

Definition at line 77 of file FootprintCtrl.h.

77  {
79  }
static std::pair< bool, bool > makePairFromTBool(TBool const val)
Definition: FootprintCtrl.h:39
std::pair<bool, bool> lsst::afw::detection::FootprintControl::isLeft ( ) const
inline

Return <isSet, Value> for left grows

Definition at line 65 of file FootprintCtrl.h.

72 {
std::pair<bool, bool> lsst::afw::detection::FootprintControl::isRight ( ) const
inline

Return <isSet, Value> for right grows

Definition at line 66 of file FootprintCtrl.h.

72 {
std::pair<bool, bool> lsst::afw::detection::FootprintControl::isUp ( ) const
inline

Return <isSet, Value> for up grows

Definition at line 67 of file FootprintCtrl.h.

72 {
static std::pair<bool, bool> lsst::afw::detection::FootprintControl::makePairFromTBool ( TBool const  val)
inlinestaticprivate

Definition at line 39 of file FootprintCtrl.h.

40  {
41  return (val == NONE_) ? std::make_pair(false, false) : std::make_pair(true, val == TRUE_);
42  }
ImageT val
Definition: CR.cc:154

Member Data Documentation

TBool lsst::afw::detection::FootprintControl::_circular
private

Definition at line 83 of file FootprintCtrl.h.

TBool lsst::afw::detection::FootprintControl::_down
private

Definition at line 85 of file FootprintCtrl.h.

TBool lsst::afw::detection::FootprintControl::_isotropic
private

Definition at line 84 of file FootprintCtrl.h.

TBool lsst::afw::detection::FootprintControl::_left
private

Definition at line 85 of file FootprintCtrl.h.

TBool lsst::afw::detection::FootprintControl::_right
private

Definition at line 85 of file FootprintCtrl.h.

TBool lsst::afw::detection::FootprintControl::_up
private

Definition at line 85 of file FootprintCtrl.h.


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