23 if (field_code &
Green)
25 if (field_code &
Blue)
34 : m_pointId(pcr.m_pointId),
35 m_position(pcr.m_position),
36 m_fieldMap (pcr.m_fieldMap)
60 if (found && (field_code &
Red))
62 if (found && (field_code &
Green))
64 if (found && (field_code &
Blue))
66 if (found && (field_code &
GpsTime))
68 if (found && (field_code &
Infrared))
100 std::map<FIELD_CODES, ossim_float32>::const_iterator v =
m_fieldMap.find(fc);
126 out <<
"ossimPointCloudRecord for pointId: " << p.
m_pointId 129 std::map<ossimPointRecord::FIELD_CODES, ossim_float32>::const_iterator iter = p.
m_fieldMap.begin();
135 out <<
"\n Intensity: ";
138 out <<
"\n ReturnNumber: ";
141 out <<
"\n NumberOfReturns: ";
153 out <<
"\n GpsTime: ";
156 out <<
"\n Infrared: ";
159 out <<
"\n Unidentified: ";
~ossimPointRecord()
Creates a point record with fields set to null values.
double nan()
Method to return ieee floating point double precision NAN.
ossim_float32 getField(FIELD_CODES fc) const
Return the float value of the requested field.
ossimPointRecord & operator=(const ossimPointRecord &pcr)
std::ostream & operator<<(std::ostream &out, const ossimPointRecord &p)
unsigned int ossim_uint32
virtual bool hasFields(ossim_uint32 code_mashup) const
Argument can be mash-up of OR'd codes for check of multiple fields.
ossimPointRecord(ossim_uint32 fields_code=0)
virtual ossim_uint32 getFieldCode() const
Returns mash-up of OR'd codes of multiple fields being stored.
void setField(FIELD_CODES fc, ossim_float32 value)
void clear()
Initializes point to undefined state:
std::basic_ostream< char > ostream
Base class for char output streams.
std::map< FIELD_CODES, ossim_float32 > m_fieldMap