VTK  9.1.0
Public Member Functions | List of all members
vtkBilinearQuadIntersection Class Reference

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. More...
 
double * GetP01Data ()
 Get direct access to the underlying point data. More...
 
double * GetP10Data ()
 Get direct access to the underlying point data. More...
 
double * GetP11Data ()
 Get direct access to the underlying point data. More...
 
vtkVector3d ComputeCartesianCoordinates (double u, double v)
 Compute cartesian coordinates of point in the quad using parameteric coordinates. More...
 
bool RayIntersection (const vtkVector3d &r, const vtkVector3d &q, vtkVector3d &uv)
 Compute the intersection between a ray r->q and the quad. More...
 

Detailed Description

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 30 of file vtkBilinearQuadIntersection.h.

Constructor & Destructor Documentation

◆ vtkBilinearQuadIntersection() [1/2]

vtkBilinearQuadIntersection::vtkBilinearQuadIntersection ( const vtkVector3d pt00,
const vtkVector3d Pt01,
const vtkVector3d Pt10,
const vtkVector3d Pt11 
)

◆ vtkBilinearQuadIntersection() [2/2]

vtkBilinearQuadIntersection::vtkBilinearQuadIntersection ( )
default

Member Function Documentation

◆ GetP00Data()

double * vtkBilinearQuadIntersection::GetP00Data ( )

Get direct access to the underlying point data.

◆ GetP01Data()

double * vtkBilinearQuadIntersection::GetP01Data ( )

Get direct access to the underlying point data.

◆ GetP10Data()

double * vtkBilinearQuadIntersection::GetP10Data ( )

Get direct access to the underlying point data.

◆ GetP11Data()

double * vtkBilinearQuadIntersection::GetP11Data ( )

Get direct access to the underlying point data.

◆ ComputeCartesianCoordinates()

vtkVector3d vtkBilinearQuadIntersection::ComputeCartesianCoordinates ( double  u,
double  v 
)

Compute cartesian coordinates of point in the quad using parameteric coordinates.

◆ RayIntersection()

bool vtkBilinearQuadIntersection::RayIntersection ( const vtkVector3d r,
const vtkVector3d q,
vtkVector3d uv 
)

Compute the intersection between a ray r->q and the quad.


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