|
Isis 3.0 Object Programmers' Reference |
Home |
#include <ImagePolygon.h>
Inheritance diagram for Isis::ImagePolygon:


This class creates polygons defining an image boundary, reads the polygon from a cube blob, and writes a polygon to a cube blob. The GEOS (Geometry Engine Open Source) package is used to create and manipulate the polygons. See http://geos.refractions.net for information about this package.
For internal use only.
Definition at line 149 of file ImagePolygon.h.
Public Member Functions | |
| ImagePolygon () | |
| Constructs a Polygon object, setting the polygon name. | |
| ~ImagePolygon () | |
| Destroys the Polygon object. | |
| void | Create (Cube &cube, int sampinc=1, int lineinc=1, int ss=1, int sl=1, int ns=0, int nl=0, int band=1) |
| Create a Polygon from given cube. | |
| void | Emission (double emission) |
| Set the maximum emission angle ( light refleted to camera ). | |
| void | Incidence (double incidence) |
| Set the maximum incidence angle ( light contacting the planet ). | |
| void | EllipsoidLimb (bool ellip) |
| If a limb is detected, use un ellipsoid shape model if true. | |
| void | SubpixelAccuracy (int div) |
| The subpixel accuracy to use. | |
| geos::geom::MultiPolygon * | Polys () |
| Return a geos Multipolygon. | |
| void | Read (const std::string &file) |
| This reads Pvl values from a specified file. | |
| virtual void | Read (Isis::Pvl &pvl, std::fstream &is) |
| void | Write (const std::string &file) |
| Write the blob data out to a file. | |
| void | Write (Isis::Pvl &pvl, std::fstream &istm, const std::string &detachedFilename="") |
| Write the blob data out to a Pvl object. | |
| std::string | Type () const |
| std::string | Name () const |
| PvlObject & | Label () |
Protected Member Functions | |
| void | ReadData (std::fstream &is) |
| Reads Multipolygon from cube blob. | |
| void | WriteInit () |
| Initializes for writing polygon to cube blob. | |
| void | WriteData (std::fstream &os) |
| Writes polygon to cube blob. | |
| void | Find (Isis::Pvl &pvl) |
| virtual void | ReadInit () |
Protected Attributes | |
| Isis::PvlObject | p_blobPvl |
| Pvl Blob object. | |
| std::string | p_blobName |
| Name of the Blob object. | |
| char * | p_buffer |
| Buffer blob data is stored in. | |
| BigInt | p_startByte |
| Byte blob data starts at in buffer. | |
| int | p_nbytes |
| Size of blob data (in bytes). | |
| std::string | p_type |
| Type of data stored in the buffer. | |
| std::string | p_detached |
| Used for reading detached blobs. | |
| std::string | p_labelFile |
| The file containing the labels. | |
Private Member Functions | |
| bool | SetImage (const double sample, const double line) |
| Sets the sample/line values of the cube to get lat/lon values. | |
| geos::geom::Coordinate | FindFirstPoint () |
| Finds the first point that projects in an image. | |
| void | WalkPoly () |
| Walks the image finding its lon lat polygon and stores it to p_pts. | |
| geos::geom::Coordinate | FindNextPoint (geos::geom::Coordinate *currentPoint, geos::geom::Coordinate lastPoint, int recursionDepth=0) |
| Finds the next point on the image using a left hand rule walking algorithm. | |
| double | DistanceSquared (const geos::geom::Coordinate *p1, const geos::geom::Coordinate *p2) |
| Calculates the distance squared between two coordinates. | |
| void | MoveBackInsideImage (double &sample, double &line, double sinc, double linc) |
| This method ensures sample/line after sinc/linc have been applied is inside the image. | |
| bool | InsideImage (double sample, double line) |
| This returns true if sample/line are inside the cube. | |
| void | Fix360Poly () |
| If the cube crosses the 0/360 boundary and does not include a pole, the polygon is separated into multiple polygons, usually one on each side of the boundary. | |
| void | FixPolePoly (std::vector< geos::geom::Coordinate > *crossingPoints) |
| If the cube crosses the 0/360 boundary and contains a pole, Some points are added to allow the polygon to unwrap properly. | |
| bool | IsLimb () |
| Returns True when the input image is a limb image. | |
| geos::geom::Coordinate | FindBestPoint (geos::geom::Coordinate *currentPoint, geos::geom::Coordinate newPoint, geos::geom::Coordinate lastPoint) |
| While walking the image in sample/line space, this function finds the best valid point between the first valid point found and the last point which failed its validity test using a linear search. | |
| geos::geom::Coordinate | FixCornerSkip (geos::geom::Coordinate *currentPoint, geos::geom::Coordinate newPoint) |
| Looks at the next possible point relative to the lasts and attempts to adjust the point outward to grab valid corner data. | |
| void | FindSubpixel (std::vector< geos::geom::Coordinate > *points) |
| Takes p_polygons in sample/line space and finds its subpixel accuracy. | |
Private Attributes | |
| Cube * | p_cube |
| The cube provided. | |
| bool | p_isProjected |
| True when the provided cube is projected. | |
| Brick * | p_brick |
| Used to check for valid DNs. | |
| geos::geom::CoordinateSequence * | p_pts |
| The sequence of coordinates that compose the boundry of the image. | |
| geos::geom::MultiPolygon * | p_polygons |
| The multipolygon of the image. | |
| std::string | p_polyStr |
| The string representation of the polygon. | |
| UniversalGroundMap * | p_gMap |
| The cube's ground map. | |
| int | p_cubeStartSamp |
| The the sample of the first valid point in the cube. | |
| int | p_cubeStartLine |
| The the line of the first valid point in the cube. | |
| int | p_cubeSamps |
| The number of samples in the cube. | |
| int | p_cubeLines |
| The number of lines in the cube. | |
| int | p_sampinc |
| The increment for walking along the polygon in the sample direction. | |
| int | p_lineinc |
| The increment for walking along the polygon in the line direcction. | |
| double | p_emission |
| The maximum emission angle to consider valid. | |
| double | p_incidence |
| The maximum incidence angle to consider valid. | |
| bool | p_ellipsoid |
| Uses an ellipsoid if a limb is detected. | |
| int | p_subpixelAccuracy |
| The subpixel accuracy to use. | |
| Isis::ImagePolygon::ImagePolygon | ( | ) |
Constructs a Polygon object, setting the polygon name.
Definition at line 50 of file ImagePolygon.cpp.
References p_cubeStartLine, p_cubeStartSamp, p_ellipsoid, p_emission, p_incidence, p_polygons, and p_subpixelAccuracy.
| Isis::ImagePolygon::~ImagePolygon | ( | ) |
| void Isis::ImagePolygon::Create | ( | Cube & | cube, | |
| int | sampinc = 1, |
|||
| int | lineinc = 1, |
|||
| int | ss = 1, |
|||
| int | sl = 1, |
|||
| int | ns = 0, |
|||
| int | nl = 0, |
|||
| int | band = 1 | |||
| ) |
Create a Polygon from given cube.
| [in] | cube | (Cube &) Cube used to create polygon |
| [in] | sampinc | (Default=1) (in) Pixel increment to define the granularity of the resulting polygon in the sample direction |
| [in] | lineinc | (Default=1) (in) Pixel increment to define the granularity of the resulting polygon in the line direction |
| [in] | ss | (Default=1) (in) Starting sample number |
| [in] | sl | (Default=1) (in) Starting Line number |
| [in] | ns | (Default=0) (in) Number of samples used to create the polygon. Default of 0 will cause ns to be set to the number of samples in the cube. |
| [in] | nl | (Default=0) (in) Number of lines used to create the polygon. Default of 0 will cause nl to be set to the number of lines in the cube. |
| [in] | band | (Default=1) (in) Image band number |
Definition at line 93 of file ImagePolygon.cpp.
References _FILEINFO_, Isis::Camera::BasicMapping(), cam, Isis::UniversalGroundMap::Camera(), Isis::Cube::Camera(), Isis::iException::Clear(), cube, e, Isis::Cube::Filename(), Fix360Poly(), Isis::Camera::HasProjection(), Isis::Sensor::IgnoreElevationModel(), IsLimb(), Isis::Cube::Lines(), Isis::iException::Message(), p_brick, p_cube, p_cubeLines, p_cubeSamps, p_cubeStartLine, p_cubeStartSamp, p_ellipsoid, p_gMap, p_isProjected, p_lineinc, p_pts, p_sampinc, Isis::Cube::PixelType(), proj, Isis::Cube::Projection(), Isis::Cube::Samples(), Isis::UniversalGroundMap::SetBand(), and WalkPoly().
| double Isis::ImagePolygon::DistanceSquared | ( | const geos::geom::Coordinate * | p1, | |
| const geos::geom::Coordinate * | p2 | |||
| ) | [private] |
Calculates the distance squared between two coordinates.
| p1 | The first Coordinate for the calculation | |
| p2 | The second Coordinate for the calculation |
Definition at line 1115 of file ImagePolygon.cpp.
Referenced by FixPolePoly(), and WalkPoly().
| void Isis::ImagePolygon::EllipsoidLimb | ( | bool | ellip | ) | [inline] |
If a limb is detected, use un ellipsoid shape model if true.
If false, use the default (spiceinit defined) shape model.
| ellip | True to use ellipsoid on limb images |
Definition at line 177 of file ImagePolygon.h.
References p_ellipsoid.
| void Isis::ImagePolygon::Emission | ( | double | emission | ) | [inline] |
Set the maximum emission angle ( light refleted to camera ).
| emission | The maximum valid emission angle |
Definition at line 163 of file ImagePolygon.h.
References p_emission.
| geos::geom::Coordinate Isis::ImagePolygon::FindBestPoint | ( | geos::geom::Coordinate * | currentPoint, | |
| geos::geom::Coordinate | newPoint, | |||
| geos::geom::Coordinate | lastPoint | |||
| ) | [private] |
While walking the image in sample/line space, this function finds the best valid point between the first valid point found and the last point which failed its validity test using a linear search.
| currentPoint | The last point added to the polygon | |
| newPoint | The first valid point found for the next step. | |
| lastPoint | The last point that was found to be invalid which checking for the next step. |
Definition at line 1149 of file ImagePolygon.cpp.
References FixCornerSkip(), p_cubeLines, p_cubeSamps, p_cubeStartLine, p_cubeStartSamp, p_lineinc, p_sampinc, SetImage(), x, and y.
Referenced by FindNextPoint().
| geos::geom::Coordinate Isis::ImagePolygon::FindFirstPoint | ( | ) | [private] |
Finds the first point that projects in an image.
Definition at line 407 of file ImagePolygon.cpp.
References _FILEINFO_, line, Isis::iException::Message(), p_cubeLines, p_cubeSamps, p_cubeStartLine, p_cubeStartSamp, sample, and SetImage().
Referenced by WalkPoly().
| geos::geom::Coordinate Isis::ImagePolygon::FindNextPoint | ( | geos::geom::Coordinate * | currentPoint, | |
| geos::geom::Coordinate | lastPoint, | |||
| int | recursionDepth = 0 | |||
| ) | [private] |
Finds the next point on the image using a left hand rule walking algorithm.
To initiate the walk pass it the same point for both currentPoint and lastPoint.
| [in] | currentPoint | (geos::geom::Coordinate *currentPoint) This is the currentPoint in the path. You are looking for its successor. |
| [in] | lastPoint | (geos::geom::Coordinate lastPoint) This is the lastPoint in the path, it allows the algorithm to calculate direction. |
| [in] | recursionDepth | (int) This optional parameter keeps track of how far it has walked around a point. By default it is zero. |
Definition at line 196 of file ImagePolygon.cpp.
References _FILEINFO_, FindBestPoint(), InsideImage(), line, Isis::iException::Message(), MoveBackInsideImage(), p_lineinc, p_sampinc, SetImage(), x, and y.
Referenced by WalkPoly().
| void Isis::ImagePolygon::FindSubpixel | ( | std::vector< geos::geom::Coordinate > * | points | ) | [private] |
Takes p_polygons in sample/line space and finds its subpixel accuracy.
This algorithm depends on a left-hand-turn algorithm and assumes that the vector of Coordinates provided is not empty.
| points | The vector of Coordinate to set to subpixel accuracy |
Definition at line 1266 of file ImagePolygon.cpp.
References InsideImage(), p_lineinc, p_sampinc, p_subpixelAccuracy, SetImage(), x, and y.
Referenced by WalkPoly().
| void Isis::ImagePolygon::Fix360Poly | ( | ) | [private] |
If the cube crosses the 0/360 boundary and does not include a pole, the polygon is separated into multiple polygons, usually one on each side of the boundary.
These polygons are put into a geos Multipolygon. If the cube does not cross the 0/360 boundary then the Multipolygon will be a single Polygon.
Definition at line 853 of file ImagePolygon.cpp.
References _FILEINFO_, dist, e, Isis::globalFactory, Isis::PolygonTools::Intersect(), latitude, longitude, Isis::PolygonTools::MakeMultiPolygon(), Isis::iException::Message(), p_polygons, and p_pts.
Referenced by Create().
| geos::geom::Coordinate Isis::ImagePolygon::FixCornerSkip | ( | geos::geom::Coordinate * | currentPoint, | |
| geos::geom::Coordinate | newPoint | |||
| ) | [private] |
Looks at the next possible point relative to the lasts and attempts to adjust the point outward to grab valid corner data.
| currentPoint | The last valid point added to the polygon | |
| newPoint | The new point to be added to the polygon |
Definition at line 1210 of file ImagePolygon.cpp.
References p_cubeLines, p_cubeSamps, p_lineinc, p_sampinc, and SetImage().
Referenced by FindBestPoint().
| void Isis::ImagePolygon::FixPolePoly | ( | std::vector< geos::geom::Coordinate > * | crossingPoints | ) | [private] |
If the cube crosses the 0/360 boundary and contains a pole, Some points are added to allow the polygon to unwrap properly.
Throws an error if both poles are in the image. Returns if there is no pole in the image.
| crossingPoints | The coordinate sequence that crosses the 0/360 boundry |
Definition at line 607 of file ImagePolygon.cpp.
References _FILEINFO_, Isis::UniversalGroundMap::Camera(), dist, DistanceSquared(), Isis::Sensor::EmissionAngle(), Isis::Sensor::IncidenceAngle(), Isis::iException::Message(), p_emission, p_gMap, p_incidence, p_pts, and Isis::UniversalGroundMap::SetUniversalGround().
Referenced by WalkPoly().
| void Isis::ImagePolygon::Incidence | ( | double | incidence | ) | [inline] |
Set the maximum incidence angle ( light contacting the planet ).
| incidence | The maximum valid incidence angle |
Definition at line 169 of file ImagePolygon.h.
References p_incidence.
| bool Isis::ImagePolygon::InsideImage | ( | double | sample, | |
| double | line | |||
| ) | [private] |
This returns true if sample/line are inside the cube.
| sample | ||
| line |
Definition at line 393 of file ImagePolygon.cpp.
References p_cubeLines, p_cubeSamps, p_cubeStartLine, and p_cubeStartSamp.
Referenced by FindNextPoint(), and FindSubpixel().
| bool Isis::ImagePolygon::IsLimb | ( | ) | [private] |
Returns True when the input image is a limb image.
Definition at line 1125 of file ImagePolygon.cpp.
References p_cubeLines, p_cubeSamps, and SetImage().
Referenced by Create().
| void Isis::ImagePolygon::MoveBackInsideImage | ( | double & | sample, | |
| double & | line, | |||
| double | sinc, | |||
| double | linc | |||
| ) | [private] |
This method ensures sample/line after sinc/linc have been applied is inside the image.
If not, it snaps to the edge of the image - given we didn't start at the edge.
| sample | Sample after sinc applied | |
| line | Line after linc applied | |
| sinc | Sample increment (we can back up at most this much) | |
| linc | Line increment (we can back up at most this much) |
Definition at line 325 of file ImagePolygon.cpp.
References p_cubeLines, p_cubeSamps, p_cubeStartLine, and p_cubeStartSamp.
Referenced by FindNextPoint().
| geos::geom::MultiPolygon* Isis::ImagePolygon::Polys | ( | ) | [inline] |
| void Isis::Blob::Read | ( | const std::string & | file | ) | [inherited] |
This reads Pvl values from a specified file.
| file | The filename to read from. |
| Isis::iException::Io | - Unable to open file | |
| Isis::iException::Pvl | - Invalid label format |
Definition at line 141 of file Blob.cpp.
References _FILEINFO_, e, Isis::Message::FileOpen(), in, Isis::iException::Message(), Isis::Blob::p_blobName, Isis::Blob::p_type, and pvl().
Referenced by Isis::Blob::Blob(), Isis::History::History(), Isis::OriginalLabel::OriginalLabel(), Isis::OriginalLabel::Read(), Isis::History::Read(), Isis::Cube::Read(), and Isis::Table::Table().
| void Isis::ImagePolygon::ReadData | ( | std::fstream & | is | ) | [protected, virtual] |
Reads Multipolygon from cube blob.
| [in] | is | (std::fstream) Input stream to read from |
Reimplemented from Isis::Blob.
Definition at line 1052 of file ImagePolygon.cpp.
References _FILEINFO_, Isis::globalFactory, Isis::iException::Message(), Isis::Blob::p_blobName, Isis::Blob::p_nbytes, p_polygons, p_polyStr, Isis::Blob::p_startByte, and Isis::Blob::p_type.
| bool Isis::ImagePolygon::SetImage | ( | const double | sample, | |
| const double | line | |||
| ) | [private] |
Sets the sample/line values of the cube to get lat/lon values.
This method checks whether the image pixel is Null for level 2 images and if so, it is considered an invalid pixel.
| [in] | sample | (const double) Sample coordinate of the cube |
| [in] | line | (const double) Line coordinate of the cube |
This check has been removed because it causes push frame cameras to fail inbetween the framelets, resulting in only the first framlet to be walked, leaving out the rest of the image.
This can cause autoseed/jigsaw issues, since they require conversion from lat/lon to samp/line
Definition at line 780 of file ImagePolygon.cpp.
References Isis::UniversalGroundMap::Camera(), Isis::Sensor::EmissionAngle(), Isis::Sensor::IncidenceAngle(), Isis::IsNullPixel(), p_brick, p_cube, p_emission, p_gMap, p_incidence, p_isProjected, Isis::Cube::Read(), Isis::Brick::SetBasePosition(), and Isis::UniversalGroundMap::SetImage().
Referenced by FindBestPoint(), FindFirstPoint(), FindNextPoint(), FindSubpixel(), FixCornerSkip(), IsLimb(), and WalkPoly().
| void Isis::ImagePolygon::SubpixelAccuracy | ( | int | div | ) | [inline] |
The subpixel accuracy to use.
This accuracy is the number of binary steps to take to find the subpixel accuracy. A higher number provided gives more accurate results at the cost of runtime.
ImagePolygon's constructor sets a default value of 50
| div | The subpixel accuracy to use |
Definition at line 188 of file ImagePolygon.h.
References p_subpixelAccuracy.
| void Isis::ImagePolygon::WalkPoly | ( | ) | [private] |
Walks the image finding its lon lat polygon and stores it to p_pts.
WARNING: Very large pixel increments for cubes that have cameras/projections with no data at any of the 4 corners can still fail in this algorithm.
Definition at line 430 of file ImagePolygon.cpp.
References _FILEINFO_, DistanceSquared(), FindFirstPoint(), FindNextPoint(), FindSubpixel(), FixPolePoly(), Isis::globalFactory, Isis::iException::Message(), p_cubeLines, p_cubeSamps, p_gMap, p_lineinc, p_pts, p_sampinc, SetImage(), Isis::UniversalGroundMap::UniversalLatitude(), Isis::UniversalGroundMap::UniversalLongitude(), x, and y.
Referenced by Create().
| void Isis::Blob::Write | ( | Isis::Pvl & | pvl, | |
| std::fstream & | stm, | |||
| const std::string & | detachedFilename = "" | |||
| ) | [inherited] |
Write the blob data out to a Pvl object.
| pvl | The pvl object to update | |
| stm | stream to write data to | |
| detachedFilename | If the stream is detached from the labels give the name of the file |
Definition at line 345 of file Blob.cpp.
References Isis::PvlContainer::DeleteKeyword(), Isis::PvlContainer::Name(), Isis::Blob::p_blobPvl, Isis::Blob::p_nbytes, Isis::Blob::p_type, pvl(), Isis::Blob::WriteData(), and Isis::Blob::WriteInit().
| void Isis::Blob::Write | ( | const std::string & | file | ) | [inherited] |
Write the blob data out to a file.
| file | The filename to write to. |
| Isis::iException::Io | - Unable to open file | |
| Isis::iException::Io | - Error preparing to write data to file | |
| Isis::iException::Io | - Error creating file |
Definition at line 296 of file Blob.cpp.
References _FILEINFO_, e, in, Isis::iException::Message(), Isis::Blob::p_blobName, Isis::Blob::p_blobPvl, Isis::Blob::p_nbytes, Isis::Blob::p_startByte, Isis::Blob::p_type, pvl(), Isis::Blob::WriteData(), and Isis::Blob::WriteInit().
Referenced by Isis::Cube::Write().
| void Isis::ImagePolygon::WriteData | ( | std::fstream & | os | ) | [protected, virtual] |
Writes polygon to cube blob.
| [in] | os | (std::fstream &) Output steam blob data will be written to |
| Isis::iException::Io | - Error writing data to stream |
Reimplemented from Isis::Blob.
Definition at line 1102 of file ImagePolygon.cpp.
References Isis::Blob::p_nbytes, and p_polyStr.
| void Isis::ImagePolygon::WriteInit | ( | ) | [protected, virtual] |
Initializes for writing polygon to cube blob.
Reimplemented from Isis::Blob.
Definition at line 1080 of file ImagePolygon.cpp.
References _FILEINFO_, Isis::iException::Message(), Isis::Blob::p_nbytes, p_polygons, and p_polyStr.
std::string Isis::Blob::p_blobName [protected, inherited] |
Name of the Blob object.
Definition at line 72 of file Blob.h.
Referenced by Isis::Blob::Blob(), Isis::Blob::Find(), Isis::Blob::Name(), Isis::Blob::operator=(), Isis::Blob::Read(), Isis::Table::ReadData(), ReadData(), Isis::Blob::ReadData(), Isis::Blob::Write(), and Isis::Blob::WriteData().
Isis::PvlObject Isis::Blob::p_blobPvl [protected, inherited] |
Definition at line 71 of file Blob.h.
Referenced by Isis::Blob::Blob(), Isis::Blob::Find(), Isis::Blob::Label(), Isis::Blob::operator=(), Isis::Table::ReadInit(), Isis::Table::Table(), Isis::Blob::Write(), and Isis::Table::WriteInit().
Brick* Isis::ImagePolygon::p_brick [private] |
Used to check for valid DNs.
Definition at line 228 of file ImagePolygon.h.
Referenced by Create(), and SetImage().
char* Isis::Blob::p_buffer [protected, inherited] |
Buffer blob data is stored in.
Definition at line 74 of file Blob.h.
Referenced by Isis::Blob::Blob(), Isis::Blob::operator=(), Isis::Blob::ReadData(), Isis::History::ReturnHist(), Isis::OriginalLabel::ReturnLabels(), Isis::Blob::WriteData(), Isis::OriginalLabel::WriteInit(), Isis::History::WriteInit(), and Isis::Blob::~Blob().
Cube* Isis::ImagePolygon::p_cube [private] |
The cube provided.
Definition at line 225 of file ImagePolygon.h.
Referenced by Create(), and SetImage().
int Isis::ImagePolygon::p_cubeLines [private] |
The number of lines in the cube.
Definition at line 241 of file ImagePolygon.h.
Referenced by Create(), FindBestPoint(), FindFirstPoint(), FixCornerSkip(), InsideImage(), IsLimb(), MoveBackInsideImage(), and WalkPoly().
int Isis::ImagePolygon::p_cubeSamps [private] |
The number of samples in the cube.
Definition at line 240 of file ImagePolygon.h.
Referenced by Create(), FindBestPoint(), FindFirstPoint(), FixCornerSkip(), InsideImage(), IsLimb(), MoveBackInsideImage(), and WalkPoly().
int Isis::ImagePolygon::p_cubeStartLine [private] |
The the line of the first valid point in the cube.
Definition at line 239 of file ImagePolygon.h.
Referenced by Create(), FindBestPoint(), FindFirstPoint(), ImagePolygon(), InsideImage(), and MoveBackInsideImage().
int Isis::ImagePolygon::p_cubeStartSamp [private] |
The the sample of the first valid point in the cube.
Definition at line 238 of file ImagePolygon.h.
Referenced by Create(), FindBestPoint(), FindFirstPoint(), ImagePolygon(), InsideImage(), and MoveBackInsideImage().
std::string Isis::Blob::p_detached [protected, inherited] |
Used for reading detached blobs.
Definition at line 78 of file Blob.h.
Referenced by Isis::Blob::Blob(), Isis::Blob::Find(), Isis::Blob::operator=(), and Isis::Blob::Read().
bool Isis::ImagePolygon::p_ellipsoid [private] |
Uses an ellipsoid if a limb is detected.
Definition at line 248 of file ImagePolygon.h.
Referenced by Create(), EllipsoidLimb(), and ImagePolygon().
double Isis::ImagePolygon::p_emission [private] |
The maximum emission angle to consider valid.
Definition at line 246 of file ImagePolygon.h.
Referenced by Emission(), FixPolePoly(), ImagePolygon(), and SetImage().
UniversalGroundMap* Isis::ImagePolygon::p_gMap [private] |
The cube's ground map.
Definition at line 236 of file ImagePolygon.h.
Referenced by Create(), FixPolePoly(), SetImage(), and WalkPoly().
double Isis::ImagePolygon::p_incidence [private] |
The maximum incidence angle to consider valid.
Definition at line 247 of file ImagePolygon.h.
Referenced by FixPolePoly(), ImagePolygon(), Incidence(), and SetImage().
bool Isis::ImagePolygon::p_isProjected [private] |
True when the provided cube is projected.
Definition at line 226 of file ImagePolygon.h.
Referenced by Create(), and SetImage().
std::string Isis::Blob::p_labelFile [protected, inherited] |
The file containing the labels.
Definition at line 79 of file Blob.h.
Referenced by Isis::Blob::Blob(), Isis::Blob::Find(), and Isis::Blob::operator=().
int Isis::ImagePolygon::p_lineinc [private] |
The increment for walking along the polygon in the line direcction.
Definition at line 244 of file ImagePolygon.h.
Referenced by Create(), FindBestPoint(), FindNextPoint(), FindSubpixel(), FixCornerSkip(), and WalkPoly().
int Isis::Blob::p_nbytes [protected, inherited] |
Size of blob data (in bytes).
Definition at line 76 of file Blob.h.
Referenced by Isis::Blob::Blob(), Isis::Blob::Find(), Isis::Blob::operator=(), ReadData(), Isis::Blob::ReadData(), Isis::History::ReturnHist(), Isis::OriginalLabel::ReturnLabels(), Isis::Blob::Write(), WriteData(), Isis::Blob::WriteData(), Isis::Table::WriteInit(), Isis::OriginalLabel::WriteInit(), WriteInit(), and Isis::History::WriteInit().
geos::geom::MultiPolygon* Isis::ImagePolygon::p_polygons [private] |
The multipolygon of the image.
Definition at line 232 of file ImagePolygon.h.
Referenced by Fix360Poly(), ImagePolygon(), Polys(), ReadData(), WriteInit(), and ~ImagePolygon().
std::string Isis::ImagePolygon::p_polyStr [private] |
The string representation of the polygon.
Definition at line 234 of file ImagePolygon.h.
Referenced by ReadData(), WriteData(), and WriteInit().
geos::geom::CoordinateSequence* Isis::ImagePolygon::p_pts [private] |
The sequence of coordinates that compose the boundry of the image.
Definition at line 230 of file ImagePolygon.h.
Referenced by Create(), Fix360Poly(), FixPolePoly(), and WalkPoly().
int Isis::ImagePolygon::p_sampinc [private] |
The increment for walking along the polygon in the sample direction.
Definition at line 243 of file ImagePolygon.h.
Referenced by Create(), FindBestPoint(), FindNextPoint(), FindSubpixel(), FixCornerSkip(), and WalkPoly().
BigInt Isis::Blob::p_startByte [protected, inherited] |
Byte blob data starts at in buffer.
Definition at line 75 of file Blob.h.
Referenced by Isis::Blob::Blob(), Isis::Blob::Find(), Isis::Blob::operator=(), Isis::Table::ReadData(), ReadData(), Isis::Blob::ReadData(), and Isis::Blob::Write().
int Isis::ImagePolygon::p_subpixelAccuracy [private] |
The subpixel accuracy to use.
Definition at line 250 of file ImagePolygon.h.
Referenced by FindSubpixel(), ImagePolygon(), and SubpixelAccuracy().
std::string Isis::Blob::p_type [protected, inherited] |
Type of data stored in the buffer.
Definition at line 77 of file Blob.h.
Referenced by Isis::Blob::Blob(), Isis::Blob::Find(), Isis::Blob::operator=(), Isis::Blob::Read(), ReadData(), Isis::Blob::ReadData(), Isis::Blob::Type(), Isis::Blob::Write(), and Isis::Blob::WriteData().