Nuke binary plugins  14.0.8
DD::Image::SourceGeomOp::SourceEngine Class Referenceabstract

The type for missing parent prims we create. More...

Inherits DD::Image::GeomOpEngine.

Protected Member Functions

 SourceEngine (Op *parent)
 
SourceGeomOpsourceGeomOp () 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)
 

Detailed Description

The type for missing parent prims we create.

The plugin author must at least implement the createPrims() method.

Member Function Documentation

void SourceGeomOp::SourceEngine::processScenegraph ( usg::GeomSceneContext &  context)
overrideprotected
void SourceGeomOp::SourceEngine::editComposedStage ( usg::GeomSceneContext &  context)
overrideprotected

Updates the shader attribs for the output frame and view.

References DD::Image::Op::iop(), and DD::Image::SourceGeomOp::materialInput().

virtual void DD::Image::SourceGeomOp::SourceEngine::createPrims ( usg::GeomSceneContext &  context,
const usg::Path &  path 
)
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.
www.foundry.com