BRL-CAD
SimpleRenderer Class Reference

#include <render_svc.h>

Inheritance diagram for SimpleRenderer:
[legend]
Collaboration diagram for SimpleRenderer:
[legend]

Public Types

typedef Matrix44 Transformation
 

Public Member Functions

 SimpleRenderer ()
 
 ~SimpleRenderer ()
 
virtual bool get_matrix (Matrix44 &result, TransformationPtr xform, float time)
 
virtual bool get_matrix (Matrix44 &result, ustring from, float time)
 
virtual bool get_matrix (Matrix44 &result, TransformationPtr xform)
 
virtual bool get_matrix (Matrix44 &result, ustring from)
 
void name_transform (const char *name, const Transformation &xform)
 
virtual bool get_array_attribute (void *renderstate, bool derivatives, ustring object, TypeDesc type, ustring name, int index, void *val)
 
virtual bool get_attribute (void *renderstate, bool derivatives, ustring object, TypeDesc type, ustring name, void *val)
 
virtual bool get_userdata (bool derivatives, ustring name, TypeDesc type, void *renderstate, void *val)
 
virtual bool has_userdata (ustring name, TypeDesc type, void *renderstate)
 
virtual void * get_pointcloud_attr_query (ustring *attr_names, TypeDesc *attr_types, int nattrs)
 
virtual int pointcloud (ustring filename, const OSL::Vec3 &center, float radius, int max_points, void *attr_query, void **attr_outdata)
 
virtual int pointcloud_search (ustring filename, const OSL::Vec3 &center, float radius, int max_points, size_t *out_indices, float *out_distances, int derivs_offset)
 
virtual int pointcloud_get (ustring filename, size_t *indices, int count, ustring attr_name, TypeDesc attr_type, void *out_data)
 

Detailed Description

Definition at line 39 of file render_svc.h.

Member Typedef Documentation

typedef Matrix44 Transformation

Definition at line 43 of file render_svc.h.

Constructor & Destructor Documentation

SimpleRenderer ( )
inline

Definition at line 45 of file render_svc.h.

~SimpleRenderer ( )
inline

Definition at line 46 of file render_svc.h.

Member Function Documentation

bool get_matrix ( Matrix44 &  result,
TransformationPtr  xform,
float  time 
)
virtual

Definition at line 33 of file render_svc.cpp.

bool get_matrix ( Matrix44 &  result,
ustring  from,
float  time 
)
virtual

Definition at line 44 of file render_svc.cpp.

bool get_matrix ( Matrix44 &  result,
TransformationPtr  xform 
)
virtual

Definition at line 56 of file render_svc.cpp.

bool get_matrix ( Matrix44 &  result,
ustring  from 
)
virtual

Definition at line 66 of file render_svc.cpp.

void name_transform ( const char *  name,
const Transformation xform 
)

Definition at line 81 of file render_svc.cpp.

References M.

bool get_array_attribute ( void *  renderstate,
bool  derivatives,
ustring  object,
TypeDesc  type,
ustring  name,
int  index,
void *  val 
)
virtual

Definition at line 88 of file render_svc.cpp.

bool get_attribute ( void *  renderstate,
bool  derivatives,
ustring  object,
TypeDesc  type,
ustring  name,
void *  val 
)
virtual

Definition at line 96 of file render_svc.cpp.

bool get_userdata ( bool  derivatives,
ustring  name,
TypeDesc  type,
void *  renderstate,
void *  val 
)
virtual

Definition at line 103 of file render_svc.cpp.

bool has_userdata ( ustring  name,
TypeDesc  type,
void *  renderstate 
)
virtual

Definition at line 109 of file render_svc.cpp.

void * get_pointcloud_attr_query ( ustring *  attr_names,
TypeDesc *  attr_types,
int  nattrs 
)
virtual

Definition at line 115 of file render_svc.cpp.

int pointcloud ( ustring  filename,
const OSL::Vec3 &  center,
float  radius,
int  max_points,
void *  attr_query,
void **  attr_outdata 
)
virtual

Definition at line 122 of file render_svc.cpp.

int pointcloud_search ( ustring  filename,
const OSL::Vec3 &  center,
float  radius,
int  max_points,
size_t *  out_indices,
float *  out_distances,
int  derivs_offset 
)
virtual

Definition at line 129 of file render_svc.cpp.

int pointcloud_get ( ustring  filename,
size_t *  indices,
int  count,
ustring  attr_name,
TypeDesc  attr_type,
void *  out_data 
)
virtual

Definition at line 137 of file render_svc.cpp.


The documentation for this class was generated from the following files: