#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::Knob * | pathKnob () const |
Only valid after knobs() has been called. | |
DD::Image::Knob * | createMissingParentsKnob () const |
Only valid after knobs() has been called. | |
DD::Image::Knob * | missingParentTypeKnob () 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. | |
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. |