RenderMan API
23.0
|
#include "prmanapi.h"
Go to the source code of this file.
Classes | |
struct | PtcDataPoint |
struct | PtcTreeNode |
Macros | |
#define | RMAN_POINTCLOUD_API_VERSION 5 |
Typedefs | |
typedef void * | PtcPointCloud |
typedef int64_t | PtcFilePos |
typedef struct PtcDataPoint | PtcDataPoint |
typedef struct PtcTreeNode | PtcTreeNode |
Functions | |
PRMANAPI PtcPointCloud | PtcCreatePointCloudFile (char *filename, int nvars, char **vartypes, char **varnames, float *world2eye, float *world2ndc, float *format) |
PRMANAPI PtcPointCloud | PtcCreateOrgPointCloudFile (char *filename, int npvars, char **pvartypes, char **pvarnames, int ntvars, char const **tvartypes, char const **tvarnames, float *world2eye, float *world2ndc, float *format) |
PRMANAPI int | PtcWriteDataPoint (PtcPointCloud pointcloud, float *point, float *normal, float radius, float *data) |
PRMANAPI int | PtcWriteTreeNode (PtcPointCloud pointcloud, int firstpoint, int npoints, float bbox[6], float *data, PtcFilePos childpos[8], PtcFilePos *filepos) |
PRMANAPI void | PtcFinishPointCloudFile (PtcPointCloud pointcloud) |
PRMANAPI PtcPointCloud | PtcOpenPointCloudFile (const char *filename, int *nvars, char **vartypes, char **varnames) |
PRMANAPI PtcPointCloud | PtcSafeOpenPointCloudFile (const char *filename) |
PRMANAPI int | PtcGetPointCloudInfo (PtcPointCloud pointcloud, char const *request, void *result) |
PRMANAPI void | PtcReadBegin (PtcPointCloud pointcloud) |
PRMANAPI int | PtcReadDataPoint (PtcPointCloud pointcloud, float *point, float *normal, float *radius, float *data) |
PRMANAPI int | PtcReadDataPoints (PtcPointCloud pointcloud, int firstpoint, int npoints, PtcDataPoint *pointlist) |
PRMANAPI int | PtcReadTreeNode (PtcPointCloud pointcloud, PtcFilePos filepos, int *firstpoint, int *npoints, float bbox[6], float *data, PtcFilePos childpos[8]) |
PRMANAPI int | PtcReadTreeNodes (PtcPointCloud pointcloud, PtcFilePos filepos[8], PtcTreeNode nodes[8]) |
PRMANAPI int | PtcGetNearestPointsData (PtcPointCloud pointcloud, float *point, float *normal, float maxdist, int numpoints, float *data) |
PRMANAPI void | PtcReadEnd (PtcPointCloud pointcloud) |
PRMANAPI void | PtcClosePointCloudFile (PtcPointCloud pointcloud) |
#define RMAN_POINTCLOUD_API_VERSION 5 |
Definition at line 69 of file pointcloud.h.
typedef struct PtcDataPoint PtcDataPoint |
typedef int64_t PtcFilePos |
Definition at line 46 of file pointcloud.h.
typedef void* PtcPointCloud |
Definition at line 43 of file pointcloud.h.
typedef struct PtcTreeNode PtcTreeNode |
PRMANAPI void PtcClosePointCloudFile | ( | PtcPointCloud | pointcloud | ) |
PRMANAPI PtcPointCloud PtcCreateOrgPointCloudFile | ( | char * | filename, |
int | npvars, | ||
char ** | pvartypes, | ||
char ** | pvarnames, | ||
int | ntvars, | ||
char const ** | tvartypes, | ||
char const ** | tvarnames, | ||
float * | world2eye, | ||
float * | world2ndc, | ||
float * | format | ||
) |
PRMANAPI PtcPointCloud PtcCreatePointCloudFile | ( | char * | filename, |
int | nvars, | ||
char ** | vartypes, | ||
char ** | varnames, | ||
float * | world2eye, | ||
float * | world2ndc, | ||
float * | format | ||
) |
PRMANAPI void PtcFinishPointCloudFile | ( | PtcPointCloud | pointcloud | ) |
PRMANAPI int PtcGetNearestPointsData | ( | PtcPointCloud | pointcloud, |
float * | point, | ||
float * | normal, | ||
float | maxdist, | ||
int | numpoints, | ||
float * | data | ||
) |
PRMANAPI int PtcGetPointCloudInfo | ( | PtcPointCloud | pointcloud, |
char const * | request, | ||
void * | result | ||
) |
PRMANAPI PtcPointCloud PtcOpenPointCloudFile | ( | const char * | filename, |
int * | nvars, | ||
char ** | vartypes, | ||
char ** | varnames | ||
) |
PRMANAPI void PtcReadBegin | ( | PtcPointCloud | pointcloud | ) |
PRMANAPI int PtcReadDataPoint | ( | PtcPointCloud | pointcloud, |
float * | point, | ||
float * | normal, | ||
float * | radius, | ||
float * | data | ||
) |
PRMANAPI int PtcReadDataPoints | ( | PtcPointCloud | pointcloud, |
int | firstpoint, | ||
int | npoints, | ||
PtcDataPoint * | pointlist | ||
) |
PRMANAPI void PtcReadEnd | ( | PtcPointCloud | pointcloud | ) |
PRMANAPI int PtcReadTreeNode | ( | PtcPointCloud | pointcloud, |
PtcFilePos | filepos, | ||
int * | firstpoint, | ||
int * | npoints, | ||
float | bbox[6], | ||
float * | data, | ||
PtcFilePos | childpos[8] | ||
) |
PRMANAPI int PtcReadTreeNodes | ( | PtcPointCloud | pointcloud, |
PtcFilePos | filepos[8], | ||
PtcTreeNode | nodes[8] | ||
) |
PRMANAPI PtcPointCloud PtcSafeOpenPointCloudFile | ( | const char * | filename | ) |
PRMANAPI int PtcWriteDataPoint | ( | PtcPointCloud | pointcloud, |
float * | point, | ||
float * | normal, | ||
float | radius, | ||
float * | data | ||
) |
PRMANAPI int PtcWriteTreeNode | ( | PtcPointCloud | pointcloud, |
int | firstpoint, | ||
int | npoints, | ||
float | bbox[6], | ||
float * | data, | ||
PtcFilePos | childpos[8], | ||
PtcFilePos * | filepos | ||
) |