HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
OP_OperatorFilter Class Reference

#include <OP_Network.h>

+ Inheritance diagram for OP_OperatorFilter:

Public Member Functions

 OP_OperatorFilter ()
 
virtual ~OP_OperatorFilter ()
 
virtual bool allowOperatorAsChild (OP_Operator *op)
 
virtual bool allowOperatorInTabMenu (OP_Operator *op)
 
virtual bool allowTool (const char *tool_name)
 
virtual bool allowToolSubmenus (const UT_StringHolder &tool_name, const UT_StringArray &submenus)
 

Detailed Description

Examples:
SOP/SOP_PrimVOP.C, SOP/SOP_PrimVOP.h, and VOP/VOP_CustomContext.h.

Definition at line 106 of file OP_Network.h.

Constructor & Destructor Documentation

OP_OperatorFilter::OP_OperatorFilter ( )
inline

Definition at line 109 of file OP_Network.h.

virtual OP_OperatorFilter::~OP_OperatorFilter ( )
inlinevirtual

Definition at line 110 of file OP_Network.h.

Member Function Documentation

virtual bool OP_OperatorFilter::allowOperatorAsChild ( OP_Operator op)
inlinevirtual

Returns true if an operator type can be created as a child, and false otherwise.

Reimplemented in SHOP_MaterialFilter, OP_NetworkOperatorFilter, VOP_CodeOperatorFilter, and HDK_Sample::SOP_CustomVopOperatorFilter.

Definition at line 114 of file OP_Network.h.

virtual bool OP_OperatorFilter::allowOperatorInTabMenu ( OP_Operator op)
inlinevirtual

Returns true if an operator type should be listed in the Tab menu, and false otherwise.

Reimplemented in OP_NetworkOperatorFilter.

Definition at line 118 of file OP_Network.h.

virtual bool OP_OperatorFilter::allowTool ( const char *  tool_name)
inlinevirtual

Returns true if a shelf tool by the given name can appear in the Tab menu for that (parent) network.

Definition at line 123 of file OP_Network.h.

virtual bool OP_OperatorFilter::allowToolSubmenus ( const UT_StringHolder tool_name,
const UT_StringArray submenus 
)
inlinevirtual

Returns true if a shelf tool by the given name can appear in the Tab menu for that (parent) network.

Reimplemented in OP_NetworkOperatorFilter.

Definition at line 127 of file OP_Network.h.


The documentation for this class was generated from the following file: