OSSIM - Open Source Software Image Map
Version 1.9.0 (20180803)
|
#include <ossimPointCloudGeometry.h>
Public Types | |
enum | PositionFormat { UNKNOWN, GEOGRAPHIC, MAP_PROJECTED, ECF_METERS } |
Public Member Functions | |
ossimPointCloudGeometry (const ossimString &wkt) | |
Constructs from WKT specification. More... | |
ossimPointCloudGeometry (PositionFormat f=GEOGRAPHIC) | |
If arg left to default GEOGRAPHIC, this geometry is essentially unity transform except for a possible datum change if requested. More... | |
~ossimPointCloudGeometry () | |
bool | operator== (const ossimPointCloudGeometry &other) const |
PositionFormat | getRawPosFormat () const |
While the raw point positions may be specified in the data file as either geographic, map projected (feet or meters), or ECF meters, the point positions are stored in OSSIM as either as geographic or map (meters) only. More... | |
PositionFormat | getStoredPosFormat () const |
This method will return either GEOGRAPHIC or MAP_PROJECTION. More... | |
const ossimMapProjection * | getProjection () const |
const ossimDatum * | getDatum () const |
void | convertPos (const ossimDpt3d &stored_pos, ossimGpt &converted_gpos) const |
Method converts a generic 3D point as stored in the argument ossim3Dpt object, and converts it to an ossimGpt, using the preset datum provided in the argument gpt. More... | |
![]() | |
ossimObject () | |
virtual | ~ossimObject () |
virtual ossimObject * | dup () const |
virtual ossimString | getShortName () const |
virtual ossimString | getLongName () const |
virtual ossimString | getDescription () const |
virtual ossimString | getClassName () const |
virtual RTTItypeid | getType () const |
virtual bool | canCastTo (ossimObject *obj) const |
virtual bool | canCastTo (const RTTItypeid &id) const |
virtual bool | canCastTo (const ossimString &parentClassName) const |
virtual bool | saveState (ossimKeywordlist &kwl, const char *prefix=0) const |
virtual bool | loadState (const ossimKeywordlist &kwl, const char *prefix=0) |
virtual std::ostream & | print (std::ostream &out) const |
Generic print method. More... | |
virtual bool | isEqualTo (const ossimObject &obj, ossimCompareType compareType=OSSIM_COMPARE_FULL) const |
virtual void | accept (ossimVisitor &visitor) |
![]() | |
ossimReferenced () | |
ossimReferenced (const ossimReferenced &) | |
ossimReferenced & | operator= (const ossimReferenced &) |
void | ref () const |
increment the reference count by one, indicating that this object has another pointer which is referencing it. More... | |
void | unref () const |
decrement the reference count by one, indicating that a pointer to this object is referencing it. More... | |
void | unref_nodelete () const |
decrement the reference count by one, indicating that a pointer to this object is referencing it. More... | |
int | referenceCount () const |
Private Attributes | |
PositionFormat | m_format |
ossimRefPtr< ossimMapProjection > | m_projection |
const ossimDatum * | m_datum |
Additional Inherited Members | |
![]() | |
virtual | ~ossimReferenced () |
Definition at line 26 of file ossimPointCloudGeometry.h.
Enumerator | |
---|---|
UNKNOWN | |
GEOGRAPHIC | |
MAP_PROJECTED | |
ECF_METERS |
Definition at line 29 of file ossimPointCloudGeometry.h.
ossimPointCloudGeometry::ossimPointCloudGeometry | ( | const ossimString & | wkt | ) |
Constructs from WKT specification.
Since the projection units are unknown when the bounds are established, the caller will not know the units of the point coordinates for establishing the bounds.
Definition at line 18 of file ossimPointCloudGeometry.cpp.
References ossimWktProjectionFactory::createProjection(), ossimMapProjection::getDatum(), ossimWktProjectionFactory::instance(), ossimMapProjection::isGeographic(), m_datum, m_format, m_projection, MAP_PROJECTED, and ossimRefPtr< T >::valid().
|
inline |
If arg left to default GEOGRAPHIC, this geometry is essentially unity transform except for a possible datum change if requested.
Definition at line 48 of file ossimPointCloudGeometry.h.
|
inline |
Definition at line 53 of file ossimPointCloudGeometry.h.
void ossimPointCloudGeometry::convertPos | ( | const ossimDpt3d & | stored_pos, |
ossimGpt & | converted_gpos | ||
) | const |
Method converts a generic 3D point as stored in the argument ossim3Dpt object, and converts it to an ossimGpt, using the preset datum provided in the argument gpt.
Definition at line 46 of file ossimPointCloudGeometry.cpp.
References ossimGpt::changeDatum(), ossimGpt::datum(), ECF_METERS, GEOGRAPHIC, ossimUnitConversionTool::getMeters(), getProjection(), ossimMapProjection::getProjectionUnits(), ossimGpt::hgt, m_datum, m_format, m_projection, ossimGpt::makeNan(), MAP_PROJECTED, ossimRefPtr< T >::valid(), ossimDpt3d::x, ossimDpt3d::y, and ossimDpt3d::z.
Referenced by ossimPdalReader::parsePoint().
|
inline |
Definition at line 72 of file ossimPointCloudGeometry.h.
|
inline |
Definition at line 71 of file ossimPointCloudGeometry.h.
Referenced by convertPos().
|
inline |
While the raw point positions may be specified in the data file as either geographic, map projected (feet or meters), or ECF meters, the point positions are stored in OSSIM as either as geographic or map (meters) only.
This method is used by the Point cloud handler object for interpreting the input file's raw position format.
Definition at line 63 of file ossimPointCloudGeometry.h.
|
inline |
This method will return either GEOGRAPHIC or MAP_PROJECTION.
For the latter, the stored coordinates will be in meters.
Definition at line 69 of file ossimPointCloudGeometry.h.
bool ossimPointCloudGeometry::operator== | ( | const ossimPointCloudGeometry & | other | ) | const |
Definition at line 35 of file ossimPointCloudGeometry.cpp.
References m_format, m_projection, and ossimRefPtr< T >::valid().
|
private |
Definition at line 83 of file ossimPointCloudGeometry.h.
Referenced by convertPos(), and ossimPointCloudGeometry().
|
private |
Definition at line 81 of file ossimPointCloudGeometry.h.
Referenced by convertPos(), operator==(), and ossimPointCloudGeometry().
|
private |
Definition at line 82 of file ossimPointCloudGeometry.h.
Referenced by convertPos(), operator==(), and ossimPointCloudGeometry().