Nuke binary plugins 16.0.1
 
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Loading...
Searching...
No Matches
DD::Image::PathKnobs Class Reference

#include <GeomOpKnobs.h>

Public Member Functions

 PathKnobs (const std::string &primPath="{nodename}", const std::string &knobNamePrefix="")
 
void knobs (Knob_Callback f, GeomOp *op)
 
const std::string & primPath () const
 
const std::string & pathKnobName () const
 
const std::string & createMissingParentsKnobName () const
 
const std::string & missingParentTypeKnobName () const
 
DD::Image::KnobpathKnob () const
 Only valid after knobs() has been called.
 
DD::Image::KnobcreateMissingParentsKnob () const
 Only valid after knobs() has been called.
 
DD::Image::KnobmissingParentTypeKnob () const
 Only valid after knobs() has been called.
 
Binding getBinding (GeomOpEngine *engine) const
 

Protected Types

enum class  ParentType { Scope , Xform }
 Possible types to create for missing parents.
 

Protected Attributes

std::string _primPath
 The root path for created prims.
 
std::string _pathKnobName
 
std::string _createMissingParentsKnobName
 
std::string _missingParentTypeKnobName
 
DD::Image::Knob_pathKnob
 
DD::Image::Knob_createMissingParentsKnob
 
DD::Image::Knob_missingParentTypeKnob
 
bool _createMissingParents
 
ParentType _missingParentType
 Whether to create the missing parent prims or not.
 

Detailed Description

A class which provides common UI for creating prims. Create one of these and call the knobs method to make the knobs. Then call the apply method to create the missing parents.



©2025 The Foundry Visionmongers, Ltd. All Rights Reserved.
www.foundry.com