VTK  9.2.6
vtkBlockSortHelper::BackToFront< T > Struct Template Reference

operator() for back-to-front sorting. More...

#include <vtkBlockSortHelper.h>

Collaboration diagram for vtkBlockSortHelper::BackToFront< T >:
[legend]

Public Member Functions

 BackToFront (vtkRenderer *ren, vtkMatrix4x4 *volMatrix)
 BackToFront (const vtkVector3d &camPos, const vtkVector3d &viewdirection, bool is_parallel)
template<typename TT>
int CompareOrderWithUncertainty (TT &first, TT &second)
int CompareBoundsOrderWithUncertainty (const double abounds[6], const double bbounds[6])

Public Attributes

vtkVector3d CameraPosition
vtkVector3d CameraViewDirection
bool CameraIsParallel

Detailed Description

template<typename T>
struct vtkBlockSortHelper::BackToFront< T >

operator() for back-to-front sorting.

Note
Use as the 'comp' parameter of std::sort.

Definition at line 55 of file vtkBlockSortHelper.h.

Constructor & Destructor Documentation

◆ BackToFront() [1/2]

template<typename T>
vtkBlockSortHelper::BackToFront< T >::BackToFront ( vtkRenderer * ren,
vtkMatrix4x4 * volMatrix )
inline

Definition at line 62 of file vtkBlockSortHelper.h.

◆ BackToFront() [2/2]

template<typename T>
vtkBlockSortHelper::BackToFront< T >::BackToFront ( const vtkVector3d & camPos,
const vtkVector3d & viewdirection,
bool is_parallel )
inline

Definition at line 95 of file vtkBlockSortHelper.h.

Member Function Documentation

◆ CompareOrderWithUncertainty()

template<typename T>
template<typename TT>
int vtkBlockSortHelper::BackToFront< T >::CompareOrderWithUncertainty ( TT & first,
TT & second )
inline

Definition at line 106 of file vtkBlockSortHelper.h.

◆ CompareBoundsOrderWithUncertainty()

template<typename T>
int vtkBlockSortHelper::BackToFront< T >::CompareBoundsOrderWithUncertainty ( const double abounds[6],
const double bbounds[6] )
inline

Definition at line 117 of file vtkBlockSortHelper.h.

Member Data Documentation

◆ CameraPosition

template<typename T>
vtkVector3d vtkBlockSortHelper::BackToFront< T >::CameraPosition

Definition at line 57 of file vtkBlockSortHelper.h.

◆ CameraViewDirection

template<typename T>
vtkVector3d vtkBlockSortHelper::BackToFront< T >::CameraViewDirection

Definition at line 58 of file vtkBlockSortHelper.h.

◆ CameraIsParallel

template<typename T>
bool vtkBlockSortHelper::BackToFront< T >::CameraIsParallel

Definition at line 59 of file vtkBlockSortHelper.h.


The documentation for this struct was generated from the following file: