Ptex
Functions
PTEX_NAMESPACE_BEGIN Namespace Reference

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)
 

Function Documentation

◆ Apply() [1/2]

template<class T , int nChan>
void PTEX_NAMESPACE_BEGIN::Apply ( PtexSeparableKernel k,
float *  result,
void *  data,
int  ,
int   
)

◆ Apply() [2/2]

template<class T , int nChan>
void PTEX_NAMESPACE_BEGIN::Apply ( PtexTriangleKernelIter k,
float *  result,
void *  data,
int  ,
int   
)

◆ ApplyN() [1/2]

template<class T >
void PTEX_NAMESPACE_BEGIN::ApplyN ( PtexSeparableKernel k,
float *  result,
void *  data,
int  nChan,
int  nTxChan 
)

◆ ApplyN() [2/2]

template<class T >
void PTEX_NAMESPACE_BEGIN::ApplyN ( PtexTriangleKernelIter k,
float *  result,
void *  data,
int  nChan,
int  nTxChan 
)

◆ ApplyS() [1/2]

template<class T , int nChan>
void PTEX_NAMESPACE_BEGIN::ApplyS ( PtexSeparableKernel k,
float *  result,
void *  data,
int  ,
int  nTxChan 
)

◆ ApplyS() [2/2]

template<class T , int nChan>
void PTEX_NAMESPACE_BEGIN::ApplyS ( PtexTriangleKernelIter k,
float *  result,
void *  data,
int  ,
int  nTxChan 
)

◆ checkFormat()

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().

◆ fileError()

std::string PTEX_NAMESPACE_BEGIN::fileError ( const char *  message,
const char *  path 
)

Definition at line 126 of file PtexWriter.cpp.

References fileError().

Referenced by fileError().

◆ gaussian()

float PTEX_NAMESPACE_BEGIN::gaussian ( float  x_squared)
inline

Definition at line 44 of file PtexTriangleKernel.cpp.

References gaussian(), and PtexTriangleKernelWidth.

Referenced by Apply(), ApplyN(), ApplyS(), and gaussian().

◆ OpenTempFile()

FILE * PTEX_NAMESPACE_BEGIN::OpenTempFile ( std::string &  tmppath)

Definition at line 78 of file PtexWriter.cpp.

References OpenTempFile().

Referenced by OpenTempFile().