------------------------------------------------------------------------------
| 988 | |
| 989 | //------------------------------------------------------------------------------ |
| 990 | void vtkLineIntegralConvolution2D::SetVectorTexParameters(vtkTextureObject* tex) |
| 991 | { |
| 992 | tex->SetBaseLevel(0); |
| 993 | tex->SetMaxLevel(0); |
| 994 | tex->SetWrapS(vtkTextureObject::ClampToBorder); |
| 995 | tex->SetWrapT(vtkTextureObject::ClampToBorder); |
| 996 | tex->SetBorderColor(0.0, 0.0, 0.0, 0.0); |
| 997 | tex->SetMinificationFilter(vtkTextureObject::Linear); |
| 998 | tex->SetMagnificationFilter(vtkTextureObject::Linear); |
| 999 | // note : as a side affect it sets the parameters |
| 1000 | // that is needed here. |
| 1001 | tex->Bind(); |
| 1002 | } |
| 1003 | |
| 1004 | //------------------------------------------------------------------------------ |
| 1005 | void vtkLineIntegralConvolution2D::SetComponentIds(int c0, int c1) |