The type for missing parent prims we create. More...
Inherits DD::Image::GeomOpEngine.
Protected Member Functions | |
SourceEngine (Op *parent) | |
SourceGeomOp * | sourceGeomOp () const |
void | processScenegraph (usg::GeomSceneContext &context) override |
void | editComposedStage (usg::GeomSceneContext &context) override |
virtual void | createPrims (usg::GeomSceneContext &context, const usg::Path &path)=0 |
Returns the parent prim created by the engine (if any). You can access this in createPrims(). More... | |
usg::Prim & | parentPrim () |
Protected Attributes | |
usg::GeomStateTarget | materialTopologyTarget |
'material-topology' - affects the define-geometry target | |
usg::GeomStateTarget | materialPropertyTarget |
'material-property' - affects the edit-stage target | |
usg::GeomStateTarget | modifyXformTarget |
'modify-xform' - affects the modify-values target | |
usg::Token | _parentPrimType |
The type of prim to create for the main prim's parent (default Xform) | |
usg::Prim | _parentPrim |
The parent prim created by the engine (if any) | |
The type for missing parent prims we create.
The plugin author must at least implement the createPrims() method.
|
overrideprotected |
Initializes the scene state then calls the subclass createPrims().
References _parentPrim, _parentPrimType, createPrims(), DD::Image::Op::iop(), DD::Image::SourceGeomOp::materialInput(), DD::Image::SourceGeomOp::mergeInput(), and DD::Image::Op::nodeFullPath().
|
overrideprotected |
Updates the shader attribs for the output frame and view.
References DD::Image::Op::iop(), and DD::Image::SourceGeomOp::materialInput().
|
protectedpure virtual |
Returns the parent prim created by the engine (if any). You can access this in createPrims().
Subclasses implement this to create primitives. context is the scene context path is the suggested path for the new prims. If an Xform or Scope parent prim was created this will be the path of that prim and and subclasses must append a new path component for prims they create.
Referenced by processScenegraph().
©2024 The Foundry Visionmongers, Ltd. All Rights Reserved. |