Cortex  10.0.0-a4
Classes | Enumerations | Functions
IECoreRI Namespace Reference

The IECoreRI namespace holds all the functionality implemented in libIECoreRI. More...

Classes

class  ParameterList
 
class  PrimitiveVariableList
 
class  PTCParticleReader
 
class  PTCParticleWriter
 
class  Renderer
 
class  RIBWriter
 
class  ScopedContext
 
class  SLOReader
 
class  SXExecutor
 
struct  SXTypeTraits
 
class  TestCase
 A class to help implement unit tests for IECoreRI functionality. More...
 

Enumerations

enum  TypeId {
  PTCParticleReaderTypeId = 106000, PTCParticleWriterTypeId = 106001, RendererTypeId = 106002, RIBWriterTypeId = 106003,
  SLOReaderTypeId = 106004, SXRendererTypeId = 106005, DTEXDeepImageReaderTypeId = 106006, DTEXDeepImageWriterTypeId = 106007,
  SHWDeepImageReaderTypeId = 106008, SHWDeepImageWriterTypeId = 106009, LastCoreRITypeId = 106999
}
 

Functions

IECORERI_API bool withRiProceduralV ()
 Returns true if IECoreRI was built against a renderer API with the RiProceduralV function.
 
 IE_CORE_DECLAREPTR (PTCParticleReader)
 
 IE_CORE_DECLAREPTR (PTCParticleWriter)
 
 IE_CORE_FORWARDDECLARE (RendererImplementation)
 
 IE_CORE_DECLAREPTR (Renderer)
 
 IE_CORE_DECLAREPTR (RIBWriter)
 
 IE_CORE_DECLAREPTR (SLOReader)
 
 IE_CORE_FORWARDDECLARE (SXRendererImplementation)
 
 IE_CORE_DECLAREPTR (SXRenderer)
 
def executeProcedural (name, version, args)
 This convenience function loads a named and versioned procedural using the default IECore procedural loader, parses the args string to set the procedural parameters and then renders the procedural. More...
 

Detailed Description

The IECoreRI namespace holds all the functionality implemented in libIECoreRI.

Enumeration Type Documentation

Enumerator
LastCoreRITypeId 

If we ever get here we should start over again.

Function Documentation

def IECoreRI.executeProcedural (   name,
  version,
  args 
)

This convenience function loads a named and versioned procedural using the default IECore procedural loader, parses the args string to set the procedural parameters and then renders the procedural.

It's useful to use this in the command string for a dynamicload procedural that executes python.

References IECore::Reader.create(), IECore.ClassLoader.defaultProceduralLoader(), IECore.registerRunTimeTyped(), and IECore::RunTimeTyped.staticTypeId().