Commit c4f2c7e1 authored by Will Schroeder's avatar Will Schroeder
Browse files

*** empty log message ***

parent fdff30c6
......@@ -43,8 +43,8 @@ public:
{this->DataSet->GetCellPoints(cellId, ptIds);};
void GetPointCells(int ptId, vlIdList *cellIds)
{this->DataSet->GetPointCells(ptId, cellIds);};
int FindCell(float x[3], vlCell *cell, float tol2)
{return this->DataSet->FindCell(x,cell,tol2);};
int FindCell(float x[3], vlCell *cell, float tol2, int& subId, float pc[3])
{return this->DataSet->FindCell(x,cell,tol2,subId,pc);};
void ComputeBounds() {this->DataSet->ComputeBounds();};
vlMapper *MakeMapper();
......
......@@ -44,8 +44,8 @@ public:
{this->Geometry->GetCellPoints(cellId, ptIds);};
void GetPointCells(int ptId, vlIdList *cellIds)
{this->Geometry->GetPointCells(ptId, cellIds);};
int FindCell(float x[3], vlCell *cell, float tol2)
{return this->Geometry->FindCell(x,cell,tol2);};
int FindCell(float x[3], vlCell *cell, float tol2, int& subId, float pc[3])
{return this->Geometry->FindCell(x,cell,tol2,subId,pc);};
void ComputeBounds() {this->Geometry->ComputeBounds();};
vlMapper *MakeMapper();
......
......@@ -58,11 +58,11 @@ void vlProbeFilter::Execute()
for (ptId=0; ptId < this->Source->GetNumberOfPoints(); ptId++)
{
x = this->Source->GetPoint(ptId);
cellId = this->Input->FindCell(x,NULL,tol2);
cellId = this->Input->FindCell(x,NULL,tol2,subId,pcoords);
if ( cellId >= 0 )
{
cell = this->Input->GetCell(cellId);
cell->EvaluatePosition(x,closestPoint,subId,pcoords,dist2,weights);
cell->EvaluateLocation(subId,pcoords,x,weights);
this->PointData.InterpolatePoint(pd,ptId,&(cell->PointIds),weights);
}
else
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment