void applyAcrossEdge(PtexTriangleKernel &k, const Ptex::FaceInfo &f, int eid)
PtexTriangleFilter(PtexTexture *tx, const PtexFilter::Options &opts)
void applyIter(PtexTriangleKernelIter &k, PtexFaceData *dh)
Triangle filter kernel (in normalized triangle coords)
virtual void eval(float *result, int firstchan, int nchannels, int faceid, float u, float v, float uw1, float vw1, float uw2, float vw2, float width, float blur)
Apply filter to a ptex data file.
void apply(PtexTriangleKernel &k, int faceid, const Ptex::FaceInfo &f)
virtual ~PtexTriangleFilter()
Interface for reading data from a ptex file.
Triangle filter kernel iterator (in texel coords)
void buildKernel(PtexTriangleKernel &k, float u, float v, float uw1, float vw1, float uw2, float vw2, float width, float blur, Res faceRes)
virtual void release()
Release resources held by this pointer (pointer becomes invalid).
void splitAndApply(PtexTriangleKernel &k, int faceid, const Ptex::FaceInfo &f)
Public API classes for reading, writing, caching, and filtering Ptex files.