VTK
9.4.20241221
|
Class to perform non planar quad intersection. More...
#include <vtkBilinearQuadIntersection.h>
Public Member Functions | |
vtkBilinearQuadIntersection (const vtkVector3d &pt00, const vtkVector3d &Pt01, const vtkVector3d &Pt10, const vtkVector3d &Pt11) | |
vtkBilinearQuadIntersection ()=default | |
double * | GetP00Data () |
Get direct access to the underlying point data. | |
double * | GetP01Data () |
Get direct access to the underlying point data. | |
double * | GetP10Data () |
Get direct access to the underlying point data. | |
double * | GetP11Data () |
Get direct access to the underlying point data. | |
vtkVector3d | ComputeCartesianCoordinates (double u, double v) |
Compute cartesian coordinates of point in the quad using parameteric coordinates. | |
bool | RayIntersection (const vtkVector3d &r, const vtkVector3d &q, vtkVector3d &uv) |
Compute the intersection between a ray r->q and the quad. | |
Class to perform non planar quad intersection.
Class for non planar quad intersection. This class is an updated and fixed version of the code by Ramsey et al. (http://shaunramsey.com/research/bp/).
Definition at line 22 of file vtkBilinearQuadIntersection.h.
vtkBilinearQuadIntersection::vtkBilinearQuadIntersection | ( | const vtkVector3d & | pt00, |
const vtkVector3d & | Pt01, | ||
const vtkVector3d & | Pt10, | ||
const vtkVector3d & | Pt11 | ||
) |
|
default |
double * vtkBilinearQuadIntersection::GetP00Data | ( | ) |
Get direct access to the underlying point data.
double * vtkBilinearQuadIntersection::GetP01Data | ( | ) |
Get direct access to the underlying point data.
double * vtkBilinearQuadIntersection::GetP10Data | ( | ) |
Get direct access to the underlying point data.
double * vtkBilinearQuadIntersection::GetP11Data | ( | ) |
Get direct access to the underlying point data.
vtkVector3d vtkBilinearQuadIntersection::ComputeCartesianCoordinates | ( | double | u, |
double | v | ||
) |
Compute cartesian coordinates of point in the quad using parameteric coordinates.
bool vtkBilinearQuadIntersection::RayIntersection | ( | const vtkVector3d & | r, |
const vtkVector3d & | q, | ||
vtkVector3d & | uv | ||
) |
Compute the intersection between a ray r->q and the quad.