#include <LineBoxRegions.h>
|
bool | GetFixedPixelRegions (const RegionState &line_region_state, std::shared_ptr< casacore::CoordinateSystem > line_coord_sys, int line_width, double &increment, std::vector< RegionState > ®ion_states) |
|
float | GetLineRotation (const std::vector< double > &line_start, const std::vector< double > &line_end) |
|
bool | CheckLinearOffsets (const std::vector< std::vector< double > > &box_centers, std::shared_ptr< casacore::CoordinateSystem > csys, double &increment) |
|
double | GetPointSeparation (std::shared_ptr< casacore::CoordinateSystem > coord_sys, const std::vector< double > &point1, const std::vector< double > &point2) |
|
double | GetSeparationTolerance (std::shared_ptr< casacore::CoordinateSystem > csys) |
|
bool | GetFixedAngularRegions (const RegionState &line_region_state, std::shared_ptr< casacore::CoordinateSystem > line_coord_sys, int line_width, double &increment, std::vector< RegionState > ®ion_states, std::string &message) |
|
std::vector< double > | FindPointAtTargetSeparation (std::shared_ptr< casacore::CoordinateSystem > coord_sys, const std::vector< double > &start_point, const std::vector< double > &end_point, double target_separation, double tolerance) |
|
RegionState | GetPolygonRegionState (std::shared_ptr< casacore::CoordinateSystem > coord_sys, int file_id, const std::vector< double > &box_start, const std::vector< double > &box_end, int pixel_width, double angular_width, float line_rotation, double tolerance) |
|
casacore::Quantity | AdjustIncrementUnit (double offset_increment, size_t num_offsets) |
|
◆ LineBoxRegions()
carta::LineBoxRegions::LineBoxRegions |
( |
| ) |
|
|
default |
◆ ~LineBoxRegions()
carta::LineBoxRegions::~LineBoxRegions |
( |
| ) |
|
|
default |
◆ AdjustIncrementUnit()
casacore::Quantity carta::LineBoxRegions::AdjustIncrementUnit |
( |
double |
offset_increment, |
|
|
size_t |
num_offsets |
|
) |
| |
|
private |
◆ CheckLinearOffsets()
bool carta::LineBoxRegions::CheckLinearOffsets |
( |
const std::vector< std::vector< double > > & |
box_centers, |
|
|
std::shared_ptr< casacore::CoordinateSystem > |
csys, |
|
|
double & |
increment |
|
) |
| |
|
private |
◆ FindPointAtTargetSeparation()
std::vector< double > carta::LineBoxRegions::FindPointAtTargetSeparation |
( |
std::shared_ptr< casacore::CoordinateSystem > |
coord_sys, |
|
|
const std::vector< double > & |
start_point, |
|
|
const std::vector< double > & |
end_point, |
|
|
double |
target_separation, |
|
|
double |
tolerance |
|
) |
| |
|
private |
◆ GetFixedAngularRegions()
bool carta::LineBoxRegions::GetFixedAngularRegions |
( |
const RegionState & |
line_region_state, |
|
|
std::shared_ptr< casacore::CoordinateSystem > |
line_coord_sys, |
|
|
int |
line_width, |
|
|
double & |
increment, |
|
|
std::vector< RegionState > & |
region_states, |
|
|
std::string & |
message |
|
) |
| |
|
private |
◆ GetFixedPixelRegions()
bool carta::LineBoxRegions::GetFixedPixelRegions |
( |
const RegionState & |
line_region_state, |
|
|
std::shared_ptr< casacore::CoordinateSystem > |
line_coord_sys, |
|
|
int |
line_width, |
|
|
double & |
increment, |
|
|
std::vector< RegionState > & |
region_states |
|
) |
| |
|
private |
◆ GetLineBoxRegions()
bool carta::LineBoxRegions::GetLineBoxRegions |
( |
const RegionState & |
line_region_state, |
|
|
std::shared_ptr< casacore::CoordinateSystem > |
line_coord_sys, |
|
|
int |
line_width, |
|
|
casacore::Quantity & |
region_increment, |
|
|
std::vector< RegionState > & |
region_states, |
|
|
std::string & |
message |
|
) |
| |
◆ GetLineRotation()
float carta::LineBoxRegions::GetLineRotation |
( |
const std::vector< double > & |
line_start, |
|
|
const std::vector< double > & |
line_end |
|
) |
| |
|
private |
◆ GetPointSeparation()
double carta::LineBoxRegions::GetPointSeparation |
( |
std::shared_ptr< casacore::CoordinateSystem > |
coord_sys, |
|
|
const std::vector< double > & |
point1, |
|
|
const std::vector< double > & |
point2 |
|
) |
| |
|
private |
◆ GetPolygonRegionState()
RegionState carta::LineBoxRegions::GetPolygonRegionState |
( |
std::shared_ptr< casacore::CoordinateSystem > |
coord_sys, |
|
|
int |
file_id, |
|
|
const std::vector< double > & |
box_start, |
|
|
const std::vector< double > & |
box_end, |
|
|
int |
pixel_width, |
|
|
double |
angular_width, |
|
|
float |
line_rotation, |
|
|
double |
tolerance |
|
) |
| |
|
private |
◆ GetSeparationTolerance()
double carta::LineBoxRegions::GetSeparationTolerance |
( |
std::shared_ptr< casacore::CoordinateSystem > |
csys | ) |
|
|
private |
◆ _mvdir_mutex
std::mutex carta::LineBoxRegions::_mvdir_mutex |
|
inlinestaticprivate |
The documentation for this class was generated from the following files: