RenderMan API  23.0
RixSGGeometry Class Referenceabstract

Special geometry DAG node. More...

#include <RixSceneGraph.h>

Inheritance diagram for RixSGGeometry:
RixSGGroup RixSGBlobby RixSGCurves RixSGMesh RixSGNuPatch RixSGPoints RixSGProcedural RixSGQuadric RixSGVolume

Public Member Functions

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
 
- Public Member Functions inherited from RixSGGroup
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 RixSGGroupGetCoordinateSystem (unsigned idx) const =0
 
virtual RixSGError AddChild (RixSGGroup *child)=0
 
virtual RixSGError RemoveChild (RixSGGroup *child)=0
 
virtual unsigned GetNumChildren () const =0
 
virtual RixSGGroupGetChild (unsigned idx) const =0
 
virtual unsigned GetNumParents () const =0
 
virtual RixSGGroupGetParent (unsigned idx) const =0
 
virtual RixSGGroupFindDagNode (char const *path) const =0
 
virtual RixSGMaterialGetMaterial () 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

 RixSGGeometry ()=default
 
virtual ~RixSGGeometry ()=default
 

Detailed Description

Special geometry DAG node.

Definition at line 804 of file RixSceneGraph.h.

Constructor & Destructor Documentation

◆ RixSGGeometry()

RixSGGeometry::RixSGGeometry ( )
inlineprotecteddefault

◆ ~RixSGGeometry()

virtual RixSGGeometry::~RixSGGeometry ( )
protectedvirtualdefault

Member Function Documentation

◆ Geometry()

virtual RtUString RixSGGeometry::Geometry ( ) const
pure virtual

Return geometry type.

◆ GetPrimVars()

virtual RtParamList const& RixSGGeometry::GetPrimVars ( ) const
pure virtual

Get primitive variable list

Parameters that are attached to and may vary over surface geometry are called primitive variables. Primitive variables are used to define the intrinsic properties of a surface such as position, normal, and surface topology. Primitive variables also define values that are used for shading such as texture coordinates and user data. Primitive variables are part of the geometry master description and may not vary per instance. Primitive variables which are declared to be of type point, vector, normal, or matrix are specified in object space and will be transformed into current space for shading.

See also
RixSGGeometry::SetPrimVars
Returns
Primitive variable list

◆ SetGeometry()

virtual RixSGError RixSGGeometry::SetGeometry ( RtUString  type)
pure virtual

Define special geometry

Special geometry primitives that are renderer specific.

Detail type Size
constant 1
uniform 1
vertex 1
varying 1
facevarying 1
Parameters
[in]typeSupported special primitive types are: "Ri:BrickMap"
Returns
Error code

Implemented in RixSGQuadric.

◆ SetPrimVars()

virtual RixSGError RixSGGeometry::SetPrimVars ( RtParamList const &  primvars)
pure virtual

Set primitive variable list

Parameters that are attached to and may vary over surface geometry are called primitive variables. Primitive variables are used to define the intrinsic properties of a surface such as position, normal, and surface topology. Primitive variables also define values that are used for shading such as texture coordinates and user data. Primitive variables are part of the geometry master description and may not vary per instance. Primitive variables which are declared to be of type point, vector, normal, or matrix are specified in object space and will be transformed into current space for shading.

See also
RixSGGeometry::GetPrimVars
Parameters
[in]primvarsPrimitive variable list
Returns
Error code

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