RenderMan API  23.0
pointcloud.h File Reference
#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)
 

Macro Definition Documentation

◆ RMAN_POINTCLOUD_API_VERSION

#define RMAN_POINTCLOUD_API_VERSION   5

Definition at line 69 of file pointcloud.h.

Typedef Documentation

◆ PtcDataPoint

typedef struct PtcDataPoint PtcDataPoint

◆ PtcFilePos

typedef int64_t PtcFilePos

Definition at line 46 of file pointcloud.h.

◆ PtcPointCloud

typedef void* PtcPointCloud

Definition at line 43 of file pointcloud.h.

◆ PtcTreeNode

typedef struct PtcTreeNode PtcTreeNode

Function Documentation

◆ PtcClosePointCloudFile()

PRMANAPI void PtcClosePointCloudFile ( PtcPointCloud  pointcloud)

◆ PtcCreateOrgPointCloudFile()

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 
)

◆ PtcCreatePointCloudFile()

PRMANAPI PtcPointCloud PtcCreatePointCloudFile ( char *  filename,
int  nvars,
char **  vartypes,
char **  varnames,
float *  world2eye,
float *  world2ndc,
float *  format 
)

◆ PtcFinishPointCloudFile()

PRMANAPI void PtcFinishPointCloudFile ( PtcPointCloud  pointcloud)

◆ PtcGetNearestPointsData()

PRMANAPI int PtcGetNearestPointsData ( PtcPointCloud  pointcloud,
float *  point,
float *  normal,
float  maxdist,
int  numpoints,
float *  data 
)

◆ PtcGetPointCloudInfo()

PRMANAPI int PtcGetPointCloudInfo ( PtcPointCloud  pointcloud,
char const *  request,
void *  result 
)

◆ PtcOpenPointCloudFile()

PRMANAPI PtcPointCloud PtcOpenPointCloudFile ( const char *  filename,
int *  nvars,
char **  vartypes,
char **  varnames 
)

◆ PtcReadBegin()

PRMANAPI void PtcReadBegin ( PtcPointCloud  pointcloud)

◆ PtcReadDataPoint()

PRMANAPI int PtcReadDataPoint ( PtcPointCloud  pointcloud,
float *  point,
float *  normal,
float *  radius,
float *  data 
)

◆ PtcReadDataPoints()

PRMANAPI int PtcReadDataPoints ( PtcPointCloud  pointcloud,
int  firstpoint,
int  npoints,
PtcDataPoint pointlist 
)

◆ PtcReadEnd()

PRMANAPI void PtcReadEnd ( PtcPointCloud  pointcloud)

◆ PtcReadTreeNode()

PRMANAPI int PtcReadTreeNode ( PtcPointCloud  pointcloud,
PtcFilePos  filepos,
int *  firstpoint,
int *  npoints,
float  bbox[6],
float *  data,
PtcFilePos  childpos[8] 
)

◆ PtcReadTreeNodes()

PRMANAPI int PtcReadTreeNodes ( PtcPointCloud  pointcloud,
PtcFilePos  filepos[8],
PtcTreeNode  nodes[8] 
)

◆ PtcSafeOpenPointCloudFile()

PRMANAPI PtcPointCloud PtcSafeOpenPointCloudFile ( const char *  filename)

◆ PtcWriteDataPoint()

PRMANAPI int PtcWriteDataPoint ( PtcPointCloud  pointcloud,
float *  point,
float *  normal,
float  radius,
float *  data 
)

◆ PtcWriteTreeNode()

PRMANAPI int PtcWriteTreeNode ( PtcPointCloud  pointcloud,
int  firstpoint,
int  npoints,
float  bbox[6],
float *  data,
PtcFilePos  childpos[8],
PtcFilePos filepos 
)