VTK
|
operator() for back-to-front sorting. More...
#include <vtkBlockSortHelper.h>
Public Member Functions | |
BackToFront (vtkRenderer *ren, vtkMatrix4x4 *volMatrix) | |
bool | operator() (T *first, T *second) |
bool | CompareByDistanceDescending (vtkImageData *first, vtkImageData *second) |
Compares distances from images (first, second) to the camera position. More... | |
void | ComputeCenter (double const *bounds, double *center) |
template<> | |
bool | operator() (vtkImageData *first, vtkImageData *second) |
template<> | |
bool | operator() (vtkVolumeMapper *first, vtkVolumeMapper *second) |
Public Attributes | |
double | CameraPosition [4] |
operator() for back-to-front sorting.
Definition at line 41 of file vtkBlockSortHelper.h.
|
inline |
Definition at line 46 of file vtkBlockSortHelper.h.
bool vtkBlockSortHelper::BackToFront< T >::operator() | ( | T * | first, |
T * | second | ||
) |
|
inline |
Compares distances from images (first, second) to the camera position.
Returns true if the distance of first is greater than the distance of second (descending order according to the std::sort convention).
Definition at line 70 of file vtkBlockSortHelper.h.
|
inline |
Definition at line 90 of file vtkBlockSortHelper.h.
|
inline |
Definition at line 100 of file vtkBlockSortHelper.h.
|
inline |
Definition at line 108 of file vtkBlockSortHelper.h.
double vtkBlockSortHelper::BackToFront< T >::CameraPosition[4] |
Definition at line 43 of file vtkBlockSortHelper.h.