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 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, 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 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, 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 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, 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 Ptex::dt_float, LittleEndian(), and Ptex::mt_quad.
Referenced by PtexWriter::edit(), and PtexWriter::open().
std::string PTEX_NAMESPACE_BEGIN::fileError | ( | const char * | message, |
const char * | path | ||
) |
Definition at line 126 of file PtexWriter.cpp.
Referenced by PtexMainWriter::close(), PtexWriter::edit(), PtexMainWriter::finish(), PtexMainWriter::PtexMainWriter(), and PtexWriterBase::PtexWriterBase().
|
inline |
Definition at line 44 of file PtexTriangleKernel.cpp.
References PtexTriangleKernelWidth.
Referenced by Apply(), PtexTriangleKernelIter::applyConst(), ApplyN(), and ApplyS().
FILE* PTEX_NAMESPACE_BEGIN::OpenTempFile | ( | std::string & | tmppath | ) |
Definition at line 78 of file PtexWriter.cpp.
Referenced by PtexMainWriter::PtexMainWriter(), and PtexWriterBase::PtexWriterBase().