#include <vuSphericFilter.h>
Inheritance diagram for vuSphericFilter< SIZE, TYPE >:
Public Member Functions | |
vuSphericFilter () | |
vuSphericFilter (const vuString &filterName) | |
vuSphericFilter (const vuSphericFilter< SIZE, TYPE > &other) | |
virtual | ~vuSphericFilter () |
void | setVolume (vu1611< SIZE, TYPE > *volume) |
Sets the volume, on which the filter is applied. | |
vu1611< SIZE, TYPE > * | getVolume () |
Returns the volume. | |
virtual void | calcFilteredViews (vuSphericView< SIZE, TYPE > **&views, dword &count)=0 |
filters the views This method holds the functionality of the filter. | |
void | applyFilteredViews (vuSphericViewFilter< SIZE, TYPE > *viewFilter) |
this function should be used to apply the filtered views to the according viewFilter | |
bool | operator== (const vuSphericFilter< SIZE, TYPE > &other) |
bool | operator!= (const vuSphericFilter< SIZE, TYPE > &other) |
Static Public Member Functions | |
bool | getNearestViews (dword *&idxList, dword &count, vuVector lookFrom, dword numOfViews, vuSphericView< SIZE, TYPE > *&views) |
bool | getNearestViews (dword *&idxList, dword &count, vuVector lookFrom, dword numOfViews, vuSphericView< SIZE, TYPE > **views) |
Protected Member Functions | |
void | log (const char *msg) |
bool | getNearestViews (dword *&idxList, dword &count) |
computes the &count nearest views, according to the camera | |
bool | getNearestViews (dword *&idxList, dword &count, vuVector lookFrom) |
Protected Attributes | |
vu1611< SIZE, TYPE > * | m_volume |
The volume, on which the filter is applied. |
|
Definition at line 24 of file vuSphericFilter.cpp. References vuSphericFilter< SIZE, TYPE >::m_volume. |
|
Definition at line 30 of file vuSphericFilter.cpp. References vuSphericFilter< SIZE, TYPE >::m_volume. |
|
Definition at line 37 of file vuSphericFilter.cpp. References vuSphericFilter< SIZE, TYPE >::m_volume. |
|
Definition at line 45 of file vuSphericFilter.cpp. |
|
this function should be used to apply the filtered views to the according viewFilter
Definition at line 68 of file vuSphericFilter.cpp. References vuSphericFilter< SIZE, TYPE >::calcFilteredViews(), CHECKNDELETE, dword, vuSphericViewFilter< SIZE, TYPE >::setNumberOfViews(), and vuSphericViewFilter< SIZE, TYPE >::setView(). |
Here is the call graph for this function:
|
filters the views This method holds the functionality of the filter. It has to be implemented by subclasses. Referenced by vuSphericFilter< SIZE, TYPE >::applyFilteredViews(). |
|
Definition at line 181 of file vuSphericFilter.cpp. References vuVector::dot, dot(), dword, vuSphericView< SIZE, TYPE >::getLookFrom(), and vuVector::makeUnit(). |
Here is the call graph for this function:
|
Definition at line 118 of file vuSphericFilter.cpp. References vuVector::dot, dot(), dword, vuSphericView< SIZE, TYPE >::getLookFrom(), and vuVector::makeUnit(). |
Here is the call graph for this function:
|
Definition at line 105 of file vuSphericFilter.cpp. References vuSphericFilter< SIZE, TYPE >::getNearestViews(), vuSphericFilter< SIZE, TYPE >::log(), and vuSphericFilter< SIZE, TYPE >::m_volume. |
Here is the call graph for this function:
|
computes the &count nearest views, according to the camera
Definition at line 83 of file vuSphericFilter.cpp. References vuCamera::getLookAtVector(), vuSphericFilter< SIZE, TYPE >::log(), vuSphericFilter< SIZE, TYPE >::m_volume, and vuVector::makeUnit(). Referenced by vuSphLfFlt_Z_Axis< SIZE, TYPE >::calcFilteredViews(), vuSphLfFlt_XZ_Axis< SIZE, TYPE >::calcFilteredViews(), vuSphLfFlt_XYZ_Axis< SIZE, TYPE >::calcFilteredViews(), vuSphLfFlt_Triangle< SIZE, TYPE >::calcFilteredViews(), vuSphLfFlt_Nearest< SIZE, TYPE >::calcFilteredViews(), vuSphLfFlt_Line< SIZE, TYPE >::calcFilteredViews(), vuSphLfFlt_BestMatch< SIZE, TYPE >::calcFilteredViews(), vuSphericFilter< SIZE, TYPE >::getNearestViews(), vuSphericInteractive< SIZE, TYPE >::indexOfNearestView(), vuSimpleFBR< SIZE, TYPE >::OnButtonSnap2View(), vuSphLfFlt_Line< SIZE, TYPE >::preview(), and vuSphLfFlt_BestMatch< SIZE, TYPE >::preview(). |
Here is the call graph for this function:
|
Returns the volume.
Definition at line 56 of file vuSphericFilter.cpp. |
|
Definition at line 62 of file vuSphericFilter.cpp. Referenced by vuSphLfFlt_BestMatch< SIZE, TYPE >::calcFilteredViews(), and vuSphericFilter< SIZE, TYPE >::getNearestViews(). |
|
Definition at line 251 of file vuSphericFilter.cpp. References vuSphericFilter< SIZE, TYPE >::operator==(). |
Here is the call graph for this function:
|
Definition at line 244 of file vuSphericFilter.cpp. Referenced by vuSphericFilter< SIZE, TYPE >::operator!=(). |
|
Sets the volume, on which the filter is applied.
Definition at line 50 of file vuSphericFilter.cpp. References vuSphericFilter< SIZE, TYPE >::m_volume. Referenced by vu1611_2< SIZE, TYPE >::setFilter(). |
|
The volume, on which the filter is applied.
Definition at line 54 of file vuSphericFilter.h. Referenced by vuSphericFilter< SIZE, TYPE >::getNearestViews(), vuSphericFilter< SIZE, TYPE >::setVolume(), and vuSphericFilter< SIZE, TYPE >::vuSphericFilter(). |