![]() |
RenderMan API
23.0
|
#include <RixSceneGraph.h>
Public Member Functions | |
virtual RixSGError | Define (int32_t npolys, int32_t npoints, int32_t nverts)=0 |
virtual RixSGError | SetScheme (RtUString scheme)=0 |
![]() | |
virtual RtUString | Geometry () const =0 |
Return geometry type. More... | |
virtual RixSGError | SetGeometry (RtUString type)=0 |
virtual RtParamList const & | GetPrimVars () const =0 |
virtual RixSGError | SetPrimVars (RtParamList const &primvars)=0 |
![]() | |
virtual RixSGDagType | GetDagType () const =0 |
virtual RtUString | GetIdentifier () const =0 |
virtual RixSGError | SetIdentifier (RtUString identifier)=0 |
virtual RixSGError | SetTransform (unsigned numsamples, RtMatrix4x4 const *xforms, float const *times)=0 |
virtual RixSGError | SetTransformNumSamples (unsigned numsamples)=0 |
virtual RixSGError | SetTransformSample (unsigned sample, RtMatrix4x4 const &xform, float time)=0 |
RixSGError | SetTransform (RtMatrix4x4 const &xform) |
RixSGError | SetIdentity () |
virtual RixSGError | SetHidden (int state)=0 |
virtual int | GetHidden () const =0 |
virtual RixSGError | AddCoordinateSystem (RixSGGroup *coordsys)=0 |
virtual RixSGError | RemoveCoordinateSystem (RixSGGroup *coordsys)=0 |
virtual unsigned | GetNumCoordinateSystems () const =0 |
virtual RixSGGroup * | GetCoordinateSystem (unsigned idx) const =0 |
virtual RixSGError | AddChild (RixSGGroup *child)=0 |
virtual RixSGError | RemoveChild (RixSGGroup *child)=0 |
virtual unsigned | GetNumChildren () const =0 |
virtual RixSGGroup * | GetChild (unsigned idx) const =0 |
virtual unsigned | GetNumParents () const =0 |
virtual RixSGGroup * | GetParent (unsigned idx) const =0 |
virtual RixSGGroup * | FindDagNode (char const *path) const =0 |
virtual RixSGMaterial * | GetMaterial () const =0 |
virtual RixSGError | SetMaterial (RixSGMaterial *material)=0 |
virtual RixSGError | OverrideMaterial (RixSGMaterial *material, unsigned depth, RixSGGroup **path)=0 |
virtual RtParamList const & | GetAttributes () const =0 |
virtual RixSGError | SetAttributes (RtParamList const &attributes)=0 |
virtual RixSGError | SetNested (bool state)=0 |
virtual bool | GetNested () const =0 |
virtual RixSGError | SetInheritTransform (bool value)=0 |
RixSGGroup ()=default | |
virtual | ~RixSGGroup ()=default |
Protected Member Functions | |
RixSGMesh ()=default | |
virtual | ~RixSGMesh ()=default |
![]() | |
RixSGGeometry ()=default | |
virtual | ~RixSGGeometry ()=default |
Polygon or subdivision mesh
Definition at line 891 of file RixSceneGraph.h.
|
inlineprotecteddefault |
|
protectedvirtualdefault |
|
pure virtual |
Define a polygon or subdivision mesh
Define npolys
general planar polygon mesh that share vertices. Supports both concave and convex polygons but not holes. Subdivision surfaces may be defined by specifying a subdivision scheme other than "none".
Detail type | Size |
---|---|
constant | 1 |
uniform | npolys |
vertex | npoints |
varying | npoints |
facevarying | nverts |
[in] | npolys | The number of faces |
[in] | npoints | The number of vertices |
[in] | nverts | The number of facevarying vertices |
|
pure virtual |
Set subdivision scheme
Subdivision surfaces may be defined by specifying a subdivision scheme other than "none".
[in] | scheme | Supported schemes are "none", "catmull-clark", "loop", and "bilinear". |