8 #ifndef ssChordIntersector_H_
9 #define ssChordIntersector_H_
11 #include <vlutil/vlConfig.h>
12 #include <vlutil/vlPrint.h>
30 #ifdef DtSPATIAL_SUB_CELL_TYPE
31 #undef DtSPATIAL_SUB_CELL_TYPE
34 #if _MSC_VER == 1200 // Visual Studio 6.0
35 #define DtSPATIAL_SUB_CELL_TYPE DtSpatialSubdivision< T >::DtSpatialSubCellType
37 #define DtSPATIAL_SUB_CELL_TYPE typename DtSpatialSubdivision< T >::DtSpatialSubCellType
90 int xIndexStart,
int yIndexStart,
int zIndexStart,
91 int xIndexEnd,
int yIndexEnd,
int zIndexEnd,
92 double& tMin,
double& tMax)
const;
106 int indexStart,
int indexEnd,
double& tMin,
double& tMax)
const;
119 int xIndexStart,
int yIndexStart,
int zIndexStart,
120 int xIndexEnd,
int yIndexEnd,
int zIndexEnd,
139 double& nearestTime,
double& cellTime,
int* offsetToNext,
140 int xDir,
int yDir,
int zDir,
141 int xIndexStart,
int yIndexStart,
int zIndexStart)
const;
150 #define SSCHORDINTERSECTOR_HEADER
151 #include "geometry/ssChordIntersector.inl"
152 #undef SSCHORDINTERSECTOR_HEADER
154 #ifdef DtSPATIAL_SUB_CELL_TYPE
155 #undef DtSPATIAL_SUB_CELL_TYPE
NOTE: This entire class is deprecated, in favor of Dt3dChord.
Definition: chord.h:40
virtual bool intersect(const DtChord &chord, DtSpatialSubdivision< T > &spatialSubdivision) const
void determineDirectionOfTraversal(const DtChord &chord, DtSpatialSubdivision< T > &spatialSubdivision, double &nearestTime, double &cellTime, int *offsetToNext, int xDir, int yDir, int zDir, int xIndexStart, int yIndexStart, int zIndexStart) const
bool trimChordToSubdivision(const DtChord &chord, const DtSpatialSubdivision< T > &spatialSubdivision, int xIndexStart, int yIndexStart, int zIndexStart, int xIndexEnd, int yIndexEnd, int zIndexEnd, double &tMin, double &tMax) const
DtSsChordIntersector & operator=(const DtSsChordIntersector &orig)
int getRelativeDirection(int start, int end) const
Definition: ssFunctor.h:46
bool intersectStartingIn(const DtChord &chord, DtSpatialSubdivision< T > &spatialSubdivision, int xIndexStart, int yIndexStart, int zIndexStart, int xIndexEnd, int yIndexEnd, int zIndexEnd, DtSsFunctor< const DtChord, DtSPATIAL_SUB_CELL_TYPE > &functor) const
A DtChord is a finite line segment in 3-space, represented by two points. Data derived from the two e...
Contains the declaration of the DtExtent class.
bool trimChordInSingleDimension(const DtChord &chord, int minIndex, int maxIndex, DtPlane &minPlane, DtPlane &maxPlane, int indexStart, int indexEnd, double &tMin, double &tMax) const
Definition: ssChordIntersector.h:50
Definition: spatialSubdivision.h:68
virtual ~DtSsChordIntersector()