Ptex
|
Functions | |
template<class T , int nChan> | |
void | Apply (PtexSeparableKernel &k, float *result, void *data, int, int) |
template<class T , int nChan> | |
void | ApplyS (PtexSeparableKernel &k, float *result, void *data, int, int nTxChan) |
template<class T > | |
void | ApplyN (PtexSeparableKernel &k, float *result, void *data, int nChan, int nTxChan) |
float | gaussian (float x_squared) |
template<class T , int nChan> | |
void | Apply (PtexTriangleKernelIter &k, float *result, void *data, int, int) |
template<class T , int nChan> | |
void | ApplyS (PtexTriangleKernelIter &k, float *result, void *data, int, int nTxChan) |
template<class T > | |
void | ApplyN (PtexTriangleKernelIter &k, float *result, void *data, int nChan, int nTxChan) |
FILE * | OpenTempFile (std::string &tmppath) |
std::string | fileError (const char *message, const char *path) |
bool | checkFormat (Ptex::MeshType mt, Ptex::DataType dt, int nchannels, int alphachan, Ptex::String &error) |
void PTEX_NAMESPACE_BEGIN::Apply | ( | PtexSeparableKernel & | k, |
float * | result, | ||
void * | data, | ||
int | , | ||
int | |||
) |
Definition at line 45 of file PtexSeparableKernel.cpp.
References Apply(), PtexSeparableKernel::ku, PtexSeparableKernel::kv, PtexSeparableKernel::res, PtexSeparableKernel::u, PtexSeparableKernel::uw, PtexSeparableKernel::v, and PtexSeparableKernel::vw.
void PTEX_NAMESPACE_BEGIN::Apply | ( | PtexTriangleKernelIter & | k, |
float * | result, | ||
void * | data, | ||
int | , | ||
int | |||
) |
Definition at line 53 of file PtexTriangleKernel.cpp.
References PtexTriangleKernelIter::A, Apply(), PtexTriangleKernelIter::B, PtexTriangleKernelIter::C, gaussian(), PtexUtils::max(), PtexUtils::min(), PtexTriangleKernelIter::rowlen, PtexTriangleKernelIter::u, PtexTriangleKernelIter::u1, PtexTriangleKernelIter::u2, PtexTriangleKernelIter::v, PtexTriangleKernelIter::v1, PtexTriangleKernelIter::v2, PtexTriangleKernelIter::w1, PtexTriangleKernelIter::w2, PtexTriangleKernelIter::weight, and PtexTriangleKernelIter::wscale.
void PTEX_NAMESPACE_BEGIN::ApplyN | ( | PtexSeparableKernel & | k, |
float * | result, | ||
void * | data, | ||
int | nChan, | ||
int | nTxChan | ||
) |
Definition at line 105 of file PtexSeparableKernel.cpp.
References ApplyN(), PtexSeparableKernel::ku, PtexSeparableKernel::kv, PtexSeparableKernel::res, PtexSeparableKernel::u, PtexSeparableKernel::uw, PtexSeparableKernel::v, and PtexSeparableKernel::vw.
void PTEX_NAMESPACE_BEGIN::ApplyN | ( | PtexTriangleKernelIter & | k, |
float * | result, | ||
void * | data, | ||
int | nChan, | ||
int | nTxChan | ||
) |
Definition at line 108 of file PtexTriangleKernel.cpp.
References PtexTriangleKernelIter::A, ApplyN(), PtexTriangleKernelIter::B, PtexTriangleKernelIter::C, gaussian(), PtexUtils::max(), PtexUtils::min(), PtexTriangleKernelIter::rowlen, PtexTriangleKernelIter::u, PtexTriangleKernelIter::u1, PtexTriangleKernelIter::u2, PtexTriangleKernelIter::v, PtexTriangleKernelIter::v1, PtexTriangleKernelIter::v2, PtexTriangleKernelIter::w1, PtexTriangleKernelIter::w2, PtexTriangleKernelIter::weight, and PtexTriangleKernelIter::wscale.
void PTEX_NAMESPACE_BEGIN::ApplyS | ( | PtexSeparableKernel & | k, |
float * | result, | ||
void * | data, | ||
int | , | ||
int | nTxChan | ||
) |
Definition at line 75 of file PtexSeparableKernel.cpp.
References ApplyS(), PtexSeparableKernel::ku, PtexSeparableKernel::kv, PtexSeparableKernel::res, PtexSeparableKernel::u, PtexSeparableKernel::uw, PtexSeparableKernel::v, and PtexSeparableKernel::vw.
void PTEX_NAMESPACE_BEGIN::ApplyS | ( | PtexTriangleKernelIter & | k, |
float * | result, | ||
void * | data, | ||
int | , | ||
int | nTxChan | ||
) |
Definition at line 81 of file PtexTriangleKernel.cpp.
References PtexTriangleKernelIter::A, ApplyS(), PtexTriangleKernelIter::B, PtexTriangleKernelIter::C, gaussian(), PtexUtils::max(), PtexUtils::min(), PtexTriangleKernelIter::rowlen, PtexTriangleKernelIter::u, PtexTriangleKernelIter::u1, PtexTriangleKernelIter::u2, PtexTriangleKernelIter::v, PtexTriangleKernelIter::v1, PtexTriangleKernelIter::v2, PtexTriangleKernelIter::w1, PtexTriangleKernelIter::w2, PtexTriangleKernelIter::weight, and PtexTriangleKernelIter::wscale.
bool PTEX_NAMESPACE_BEGIN::checkFormat | ( | Ptex::MeshType | mt, |
Ptex::DataType | dt, | ||
int | nchannels, | ||
int | alphachan, | ||
Ptex::String & | error | ||
) |
Definition at line 133 of file PtexWriter.cpp.
References checkFormat(), Ptex::dt_float, LittleEndian(), and Ptex::mt_quad.
Referenced by checkFormat().
std::string PTEX_NAMESPACE_BEGIN::fileError | ( | const char * | message, |
const char * | path | ||
) |
|
inline |
Definition at line 44 of file PtexTriangleKernel.cpp.
References gaussian(), and PtexTriangleKernelWidth.
Referenced by Apply(), ApplyN(), ApplyS(), and gaussian().
FILE * PTEX_NAMESPACE_BEGIN::OpenTempFile | ( | std::string & | tmppath | ) |
Definition at line 78 of file PtexWriter.cpp.
References OpenTempFile().
Referenced by OpenTempFile().