OSSIM - Open Source Software Image Map
Version 1.9.0 (20180803)
|
#include <ossimAtbPointSource.h>
Public Member Functions | |
ossimAtbPointSource () | |
ossimAtbPointSource (ossimGridRemapSource *remap_source, const ossimDpt &view_point) | |
void | setRemapSource (ossimGridRemapSource *image_source) |
ossimGridRemapSource * | getRemapSource () |
void | setViewPoint (const ossimDpt &view_point) |
const ossimDpt & | getViewPoint () const |
void | getSourceValue (void *value) |
void | setKernelSize (int side_size) |
void | setGridRemapEngine (ossimGridRemapEngine *engine) |
![]() | |
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 |
Protected Member Functions | |
virtual | ~ossimAtbPointSource () |
![]() | |
virtual | ~ossimReferenced () |
Private Attributes | |
ossimRefPtr< ossimGridRemapSource > | theRemapSource |
ossimDpt | theViewPoint |
ossimRefPtr< ossimGridRemapEngine > | theGridRemapEngine |
int | theKernelSize |
bool | theViewPointIsValid |
ossimAtbPointSource::ossimAtbPointSource | ( | ) |
Definition at line 37 of file ossimAtbPointSource.cpp.
ossimAtbPointSource::ossimAtbPointSource | ( | ossimGridRemapSource * | remap_source, |
const ossimDpt & | view_point | ||
) |
Definition at line 54 of file ossimAtbPointSource.cpp.
|
protectedvirtual |
Definition at line 74 of file ossimAtbPointSource.cpp.
|
inline |
Returns the reference to the remapper feeding this source.
Definition at line 50 of file ossimAtbPointSource.h.
References ossimRefPtr< T >::get(), and theRemapSource.
void ossimAtbPointSource::getSourceValue | ( | void * | value | ) |
Returns the computed value vector corresponding to the region about the view point. The ATB Remap engine performs the actual computation, since the definition of "value" is algorithm dependent (the value may be in a different color space).
Definition at line 132 of file ossimAtbPointSource.cpp.
|
inline |
Returns the view point corresponding to this point source.
Definition at line 60 of file ossimAtbPointSource.h.
References theViewPoint.
|
inline |
Sets the ATB remap engine reference owned by the controller. This engine is the only object that understands how to compute remap parameters from pixel data. This permits easily modifying the ATB algorithm without the support classes such as this one.
Definition at line 82 of file ossimAtbPointSource.h.
References theGridRemapEngine.
void ossimAtbPointSource::setKernelSize | ( | int | side_size | ) |
Method to set the kernel size used in computing statistics. The kernel will be resized to NxN.
Definition at line 179 of file ossimAtbPointSource.cpp.
void ossimAtbPointSource::setRemapSource | ( | ossimGridRemapSource * | image_source | ) |
Sets the pointer of the source of pixels used to compute the stats.
Definition at line 84 of file ossimAtbPointSource.cpp.
void ossimAtbPointSource::setViewPoint | ( | const ossimDpt & | view_point | ) |
Sets the view coordinates corresponding to this point.
Definition at line 107 of file ossimAtbPointSource.cpp.
|
private |
Definition at line 91 of file ossimAtbPointSource.h.
Referenced by setGridRemapEngine().
|
private |
Definition at line 92 of file ossimAtbPointSource.h.
|
private |
Definition at line 89 of file ossimAtbPointSource.h.
Referenced by getRemapSource().
|
private |
Definition at line 90 of file ossimAtbPointSource.h.
Referenced by getViewPoint().
|
private |
Definition at line 93 of file ossimAtbPointSource.h.