OSSIM - Open Source Software Image Map  Version 1.9.0 (20180803)
ossimPointCloudSource.cpp
Go to the documentation of this file.
1 //**************************************************************************************************
2 //
3 // OSSIM (http://trac.osgeo.org/ossim/)
4 //
5 // License: LGPL -- See LICENSE.txt file in the top level directory for more details.
6 //
7 //**************************************************************************************************
8 
12 
13 RTTI_DEF1(ossimPointCloudSource, "ossimPointCloudSource" , ossimSource);
14 
15 
17  : ossimSource(owner)
18 {
19 }
20 
22  : ossimSource(rhs)
23 {
24 }
25 
27 {
28 }
29 
31 {
32  if (getInput(0) == 0)
33  return &m_nullPCR;
34 
35  return ((ossimPointCloudSource*)getInput(0))->getMinPoint();
36 }
37 
39 {
40  if (getInput(0) == 0)
41  return &m_nullPCR;
42 
43  return ((ossimPointCloudSource*)getInput(0))->getMaxPoint();
44 }
45 
47 {
48  if (getInput(0) == 0)
49  return 0;
50 
51  return ((ossimPointCloudSource*)getInput(0))->getFieldCode();
52 }
53 
55 {
56  if (getInput(0) != 0)
58 }
59 
61 {
62  if ( (i>0) || (p==0) )
63  return false;
64 
65  return (p->canCastTo("ossimPointCloudSource"));
66 }
virtual bool canConnectMyInputTo(ossim_int32, const ossimConnectableObject *) const
required to be overriden by derived classes
virtual const ossimPointRecord * getMinPoint() const
Assigns the two points with fields representing the extremes of the dataset.
ossimConnectableObject * getInput(ossim_uint32 index=0)
returns the object at the specified index.
unsigned int ossim_uint32
virtual ossim_uint32 getFieldCode() const
Fetches the data fields ids available from this source, OR'd together for testing against specific fi...
virtual bool canCastTo(ossimObject *obj) const
Definition: ossimObject.cpp:74
RTTI_DEF1(ossimPointCloudSource, "ossimPointCloudSource", ossimSource)
virtual void setFieldCode(ossim_uint32 fieldCode)
Sets the data fields ID of interest for this source, and all input sources connected to this...
virtual const ossimPointRecord * getMaxPoint() const
ossimPointCloudSource(ossimObject *owner=0)
int ossim_int32