|
| IE_CORE_DECLARERUNTIMETYPED (CapturingRenderer, Renderer) |
|
void | setOption (const std::string &name, ConstDataPtr value) override |
|
ConstDataPtr | getOption (const std::string &name) const override |
| Get the value of a previously set option.
|
|
void | camera (const std::string &name, const CompoundDataMap ¶meters) override |
|
void | display (const std::string &name, const std::string &type, const std::string &data, const CompoundDataMap ¶meters) override |
|
void | worldBegin () override |
|
void | worldEnd () override |
| Finishes the world block.
|
|
void | transformBegin () override |
|
void | transformEnd () override |
| Returns to the transform state saved by the last transformBegin() call.
|
|
void | setTransform (const Imath::M44f &m) override |
| Sets the current transform.
|
|
void | setTransform (const std::string &coordinateSystem) override |
|
Imath::M44f | getTransform () const override |
| Returns the current transform.
|
|
Imath::M44f | getTransform (const std::string &coordinateSystem) const override |
| Returns the transform associated with the named coordinate system.
|
|
void | concatTransform (const Imath::M44f &m) override |
| Concatenates the specified transform onto the current transform.
|
|
void | coordinateSystem (const std::string &name) override |
|
void | attributeBegin () override |
|
void | attributeEnd () override |
| Return to the attribute state saved by the last call to attributeBegin().
|
|
void | setAttribute (const std::string &name, ConstDataPtr value) override |
|
ConstDataPtr | getAttribute (const std::string &name) const override |
| Return the value of the named attribute.
|
|
void | shader (const std::string &type, const std::string &name, const CompoundDataMap ¶meters) override |
| Specifies a shader to be applied to subsequent primitives.
|
|
void | light (const std::string &name, const std::string &handle, const CompoundDataMap ¶meters) override |
| Specifies a light to apply to subsequent primitives.
|
|
void | illuminate (const std::string &lightHandle, bool on) override |
| Turns the specified light on or off for the current attribute state.
|
|
void | motionBegin (const std::set< float > ×) override |
|
void | motionEnd () override |
|
void | points (size_t numPoints, const PrimitiveVariableMap &primVars) override |
| Renders a set of points.
|
|
void | disk (float radius, float z, float thetaMax, const PrimitiveVariableMap &primVars) override |
|
void | curves (const CubicBasisf &basis, bool periodic, ConstIntVectorDataPtr numVertices, const IECore::PrimitiveVariableMap &primVars) override |
| Renders a set of curves.
|
|
void | text (const std::string &font, const std::string &text, float kerning=1.0f, const PrimitiveVariableMap &primVars=PrimitiveVariableMap()) override |
| Renders some text.
|
|
void | sphere (float radius, float zMin, float zMax, float thetaMax, const PrimitiveVariableMap &primVars) override |
|
void | image (const Imath::Box2i &dataWindow, const Imath::Box2i &displayWindow, const PrimitiveVariableMap &primVars) override |
|
void | mesh (ConstIntVectorDataPtr vertsPerFace, ConstIntVectorDataPtr vertIds, const std::string &interpolation, const PrimitiveVariableMap &primVars) override |
|
void | nurbs (int uOrder, ConstFloatVectorDataPtr uKnot, float uMin, float uMax, int vOrder, ConstFloatVectorDataPtr vKnot, float vMin, float vMax, const PrimitiveVariableMap &primVars) override |
| Renders a nurbs surface.
|
|
void | patchMesh (const CubicBasisf &uBasis, const CubicBasisf &vBasis, int nu, bool uPeriodic, int nv, bool vPeriodic, const PrimitiveVariableMap &primVars) override |
| Render a patch mesh.
|
|
void | geometry (const std::string &type, const CompoundDataMap &topology, const PrimitiveVariableMap &primVars) override |
| Generic call for specifying renderer specify geometry types.
|
|
void | procedural (ProceduralPtr proc) override |
| Renders a piece of procedural geometry.
|
|
void | instanceBegin (const std::string &name, const CompoundDataMap ¶meters) override |
| Starts the description of a portion of a scene to be instanced.
|
|
void | instanceEnd () override |
| Ends the description of an instance.
|
|
void | instance (const std::string &name) override |
|
DataPtr | command (const std::string &name, const CompoundDataMap ¶meters) override |
|
void | editBegin (const std::string &editType, const CompoundDataMap ¶meters) override |
|
void | editEnd () override |
| Ends the current scene edit.
|
|
ConstGroupPtr | world () |
|
| IE_CORE_DECLARERUNTIMETYPED (Renderer, RunTimeTyped) |
|
| IE_CORE_DECLAREPTR (Procedural) |
|
| IE_CORE_DECLAREPTR (ExternalProcedural) |
|
| IE_CORE_DECLAREMEMBERPTR (RunTimeTyped) |
|
virtual TypeId | typeId () const |
|
virtual const char * | typeName () const |
|
virtual bool | isInstanceOf (TypeId typeId) const |
|
virtual bool | isInstanceOf (const char *typeName) const |
|
| IE_CORE_DECLAREMEMBERPTR (RefCounted) |
|
void | addRef () const |
| Add a reference to the current object.
|
|
void | removeRef () const |
| Remove a reference from the current object.
|
|
RefCount | refCount () const |
| Returns the current reference count.
|
|
|
typedef RefCounted | BaseClass |
| A typedef for the class this class derives from. All RunTimeTyped classes define this typedef.
|
|
typedef size_t | RefCount |
|
static TypeId | staticTypeId () |
| Returns the TypeId for this class, without needing an instance.
|
|
static const char * | staticTypeName () |
| Returns the type name for this class, without needing an instance.
|
|
static TypeId | baseTypeId () |
|
static const char * | baseTypeName () |
|
static bool | inheritsFrom (TypeId typeId) |
| Returns true if this class inherits from the specified type.
|
|
static bool | inheritsFrom (const char *typeName) |
| Returns true if this class inherits from the specified type.
|
|
static bool | inheritsFrom (TypeId type, TypeId baseType) |
| Returns true if type inherits from baseType.
|
|
static bool | inheritsFrom (const char *typeName, const char *baseTypeName) |
| Returns true if typeName inherits from baseTypeName.
|
|
static TypeId | baseTypeId (TypeId typeId) |
| Returns the base type of the given type, or InvalidTypeId if no such base exists.
|
|
static const std::vector< TypeId > & | baseTypeIds (TypeId typeId) |
|
static const std::set< TypeId > & | derivedTypeIds (TypeId typeId) |
|
static TypeId | typeIdFromTypeName (const char *typeName) |
|
static const char * | typeNameFromTypeId (TypeId typeId) |
|
static void | registerType (TypeId derivedTypeId, const char *derivedTypeName, TypeId baseTypeId) |
| Allows external modules to register their own type ids.
|
|
typedef std::map< TypeId, TypeId > | BaseTypeRegistryMap |
|
typedef std::map< TypeId, std::vector< TypeId > > | BaseTypesRegistryMap |
|
typedef std::map< TypeId, std::set< TypeId > > | DerivedTypesRegistryMap |
|
typedef tbb::spin_rw_mutex | Mutex |
|
typedef std::map< TypeId, std::string > | TypeIdsToTypeNamesMap |
|
typedef std::map< std::string, TypeId > | TypeNamesToTypeIdsMap |
|
static BaseTypeRegistryMap & | baseTypeRegistry () |
|
static DerivedTypesRegistryMap & | derivedTypesRegistry () |
|
static BaseTypesRegistryMap & | completeBaseTypesRegistry () |
|
static DerivedTypesRegistryMap & | completeDerivedTypesRegistry () |
|
static void | derivedTypeIdsWalk (TypeId typeId, std::set< TypeId > &) |
|
static TypeIdsToTypeNamesMap & | typeIdsToTypeNames () |
|
static TypeNamesToTypeIdsMap & | typeNamesToTypeIds () |
|
static Mutex | g_baseTypeIdsMutex |
|
static Mutex | g_derivedTypeIdsMutex |
|
The CapturingRenderer doesn't render images at all, but instead turns what it is given into IECore Groups and Primitives which can then be used for further processing. Currently it doesn't support any calls before worldBegin(), as there is no IECore class to represent an entire scene. The world generated by the renderer can be retrieved as an IECore::Group using the world() method.