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

#include <SOP_NodeVerb.h>

Inherits OP_NodeParms.

Inherited by SOP_AddParms, SOP_AgentUnpackParms, SOP_AttribCastParms, SOP_AttribCombineParms, SOP_AttribCreate_2_0Parms, SOP_AttribFillParms, SOP_AttribFromParmParms, SOP_AttribFromVolumeParms, SOP_AttribInterpolateParms, SOP_AttribMirrorParms, SOP_AttribPromoteParms, SOP_AttribReorientParms, SOP_AttribStringEditParms, SOP_AttribSwapParms, SOP_AttribTransferParms, SOP_AttributeParms, SOP_AttribVopParms, SOP_BasisParms, SOP_BlastParms, SOP_BlendShapes_2_0Parms, SOP_BlendShapesParms, SOP_BoneCaptureBiharmonicParms, SOP_BoneCaptureLinesParms, SOP_BoneDeformParms, SOP_BooleanParms, SOP_BoundParms, SOP_BoxParms, SOP_CacheIfParms, SOP_CapParms, SOP_CaptureAttribPackParms, SOP_CaptureAttribUnpackParms, SOP_CarveParms, SOP_CircleFromEdgesParms, SOP_CircleParms, SOP_ClipParms, SOP_ClusterParms, SOP_ConnectivityParms, SOP_ControlParms, SOP_ConvertParms, SOP_ConvertTetsParms, SOP_ConvertVolumeParms, SOP_ConvexDecompositionParms, SOP_CopyToPoints_2_0Parms, SOP_CopyToPointsParms, SOP_CopyTransformParms, SOP_CreaseParms, SOP_CrowdMotionPathAvoidCoreParms, SOP_CrowdMotionPathEditCoreParms, SOP_CrowdMotionPathEvaluateCoreParms, SOP_CurveFrameParms, SOP_CurveNetworkParms, SOP_CurveParms, SOP_CurvesectParms, SOP_DeleteParms, SOP_DeltaMushParms, SOP_DetangleParms, SOP_Dissolve_2_0Parms, SOP_DivideParms, SOP_EdgeCollapseParms, SOP_EdgeCuspParms, SOP_EdgeDivideParms, SOP_EdgeEqualizeParms, SOP_EdgeFlipParms, SOP_EdgeStraightenParms, SOP_EdgeTransportParms, SOP_EndsParms, SOP_EnumerateParms, SOP_ErrorNodeParms, SOP_ExtractCentroidParms, SOP_ExtractTransformParms, SOP_FacetParms, SOP_FeatherAttribInterpolateParms, SOP_FeatherBarbTangentsParms, SOP_FeatherRayCoreParms, SOP_FeatherTemplateInterpolateParms, SOP_FileParms, SOP_FitParms, SOP_FontParms, SOP_FractalParms, SOP_Fuse_2_0Parms, SOP_FuseParms, SOP_GridParms, SOP_GroupCombineParms, SOP_GroupCopyParms, SOP_GroupCreateParms, SOP_GroupDeleteParms, SOP_GroupExpandParms, SOP_GroupFindPathParms, SOP_GroupInvertParms, SOP_GroupPromoteParms, SOP_GroupRangeParms, SOP_GroupRenameParms, SOP_GroupsFromNameParms, SOP_GroupTransferParms, SOP_GuideGroomCoreParms, SOP_GuideMaskParms, SOP_GuideProcessCoreParms, SOP_HairClumpParms, SOP_HairGenCoreParms, SOP_HeatGeodesicParms, SOP_HoleParms, SOP_InflateParms, SOP_IntersectionAnalysisParms, SOP_IntersectionStitchParms, SOP_InvokeGraphParms, SOP_InvokeParms, SOP_IsoOffsetParms, SOP_JoinParms, SOP_KnifeParms, SOP_LinearSolverParms, SOP_LineParms, SOP_MatchTopologyParms, SOP_MaterialParms, SOP_Measure_2_0Parms, SOP_MeasureParms, SOP_MergePackedParms, SOP_MirrorParms, SOP_NameParms, SOP_NeighborSearchCLParms, SOP_NodeParmsOptions, SOP_NormalParms, SOP_NullParms, SOP_OpenCLParms, SOP_PackedEditParms, SOP_PackFolderParms, SOP_PackInjectParms, SOP_PackParms, SOP_PackPointsParms, SOP_PCAParms, SOP_PeakParms, SOP_PointCaptureCoreParms, SOP_PointCloudNormalParms, SOP_PointCloudReduceParms, SOP_PointCloudSurfaceParms, SOP_PointGenerateParms, SOP_PolyBevel_3_0Parms, SOP_PolyCutParms, SOP_PolyDoctorParms, SOP_PolyExpand2DParms, SOP_PolyExtrude_2_0Parms, SOP_PolyFillParms, SOP_PolyFrameParms, SOP_PolyPatchParms, SOP_PolyReduce_2_0Parms, SOP_PolySoupParms, SOP_PolySplit2Parms, SOP_PolyWireParms, SOP_PrimitiveParms, SOP_PrimitiveSplitParms, SOP_ProximityCaptureParms, SOP_QuadRemeshOGParms, SOP_QuadRemeshParms, SOP_RawImportParms, SOP_RayParms, SOP_RefineParms, SOP_RelaxParms, SOP_Remesh_2_0Parms, SOP_RemeshParms, SOP_RepackParms, SOP_ResampleParms, SOP_RestParms, SOP_ReverseParms, SOP_RevolveParms, SOP_RewireParms, SOP_SBlend_2_0Parms, SOP_SBlendParms, SOP_Scatter_2_0Parms, SOP_ShapeDiffParms, SOP_Smooth_2_0Parms, SOP_SoftTransformParms, SOP_Solidify_2_0Parms, SOP_SortParms, SOP_SphereParms, SOP_SplitPointsParms, SOP_StashParms, SOP_SubdivideParms, SOP_SurfaceSplatParms, SOP_Sweep_2_0Parms, SOP_SwitchIfParms, SOP_SwitchParms, SOP_TangentFieldParms, SOP_TetCraftParms, SOP_TetLayerParms, SOP_TetPartitionParms, SOP_Tetrahedralize_2_0Parms, SOP_TextureFeatureParms, SOP_TextureOpticalFlowParms, SOP_TopoTransferParms, SOP_TorusParms, SOP_TraceParms, SOP_TransformAxisParms, SOP_TransformByAttribParms, SOP_TransformParms, SOP_Triangulate2D_2_0Parms, SOP_Triangulate2D_3_0Parms, SOP_TriBezParms, SOP_TriDivideParms, SOP_TriStripParms, SOP_TubeParms, SOP_UnpackFolderParms, SOP_UnpackParms, SOP_UnpackPointsParms, SOP_UVAutoseamParms, SOP_UVFlatten_2_0Parms, SOP_UVFlatten_3_0Parms, SOP_UVLayout_2_0Parms, SOP_UVLayout_3_0Parms, SOP_UVProjectParms, SOP_UVRelaxParms, SOP_UVTransform_2_0Parms, SOP_UVUnwrapParms, SOP_VertexSplitParms, SOP_VisibilityParms, SOP_VolumeAmbientOcclusionParms, SOP_VolumeAnalysisParms, SOP_VolumeBinParms, SOP_VolumeBlurParms, SOP_VolumeBoundParms, SOP_VolumeBreakParms, SOP_VolumeCombineParms, SOP_VolumeCompressParms, SOP_VolumeConvolve3Parms, SOP_VolumeFeatherParms, SOP_VolumeFFTParms, SOP_VolumeFromAttribParms, SOP_VolumeMergeParms, SOP_VolumeMixParms, SOP_VolumeNormalizeParms, SOP_VolumeOpticalFlowParms, SOP_VolumePatchParms, SOP_VolumeRasterizeLatticeParms, SOP_VolumeRasterizeParticlesParms, SOP_VolumeReduceParms, SOP_VolumeResampleParms, SOP_VolumeResizeParms, SOP_VolumeSDFParms, SOP_VolumeSliceParms, SOP_VolumeSpliceParms, SOP_VolumeTrailParms, SOP_VolumeVisualizationParms, SOP_VolumeVopParms, SOP_VoronoiSplitParms, SOP_WatershedParms, SOP_WeightArrayBiharmonicParms, SOP_WeightArrayInterpolateParms, SOP_WindingNumberParms, SOP_WireBlendParms, and SOP_WireParms.

Public Member Functions

 SOP_NodeParms ()
 
bool applyGeometryOverride (GU_ConstDetailHandle gdh)
 
bool applyGeometryOverrideFromNode (SOP_Node *node, OP_Context &context, SOP_NodeCache *cache)
 
- Public Member Functions inherited from OP_NodeParms
 OP_NodeParms ()
 
virtual ~OP_NodeParms ()
 
void loadFromOp (const LoadParms &loadparms)
 
bool applyOptionsOverride (const UT_Options *options)
 
virtual void copyFrom (const OP_NodeParms *src)
 
virtual exint getNumParms () const
 
virtual const char * getParmName (exint idx) const
 
virtual ParmType getParmType (exint idx) const
 
virtual bool isParmColorRamp (exint idx) const
 
virtual void getParmValue (exint idx, exint &value) const
 
virtual void getParmValue (exint idx, fpreal &value) const
 
virtual void getParmValue (exint idx, UT_Vector2D &value) const
 
virtual void getParmValue (exint idx, UT_Vector3D &value) const
 
virtual void getParmValue (exint idx, UT_Vector4D &value) const
 
virtual void getParmValue (exint idx, UT_Matrix2D &value) const
 
virtual void getParmValue (exint idx, UT_Matrix3D &value) const
 
virtual void getParmValue (exint idx, UT_Matrix4D &value) const
 
virtual void getParmValue (exint idx, UT_StringHolder &value) const
 
virtual void getParmValue (exint idx, UT_SharedPtr< UT_Ramp > &value) const
 
virtual void getParmValue (exint idx, PRM_DataItemHandle &value) const
 
virtual void setParmValue (exint idx, const exint &value)
 
virtual void setParmValue (exint idx, const fpreal &value)
 
virtual void setParmValue (exint idx, const UT_Vector2D &value)
 
virtual void setParmValue (exint idx, const UT_Vector3D &value)
 
virtual void setParmValue (exint idx, const UT_Vector4D &value)
 
virtual void setParmValue (exint idx, const UT_Matrix2D &value)
 
virtual void setParmValue (exint idx, const UT_Matrix3D &value)
 
virtual void setParmValue (exint idx, const UT_Matrix4D &value)
 
virtual void setParmValue (exint idx, const UT_StringHolder &value)
 
virtual void setParmValue (exint idx, const UT_SharedPtr< UT_Ramp > &value)
 
virtual void setParmValue (exint idx, const PRM_DataItemHandle &value)
 
virtual exint getNestNumParms (TempIndex idx) const
 
virtual const char * getNestParmName (TempIndex idx) const
 
virtual ParmType getNestParmType (TempIndex idx) const
 
virtual void getNestParmValue (TempIndex idx, TempIndex instance, exint &value) const
 
virtual void getNestParmValue (TempIndex idx, TempIndex instance, fpreal &value) const
 
virtual void getNestParmValue (TempIndex idx, TempIndex instance, UT_Vector2D &value) const
 
virtual void getNestParmValue (TempIndex idx, TempIndex instance, UT_Vector3D &value) const
 
virtual void getNestParmValue (TempIndex idx, TempIndex instance, UT_Vector4D &value) const
 
virtual void getNestParmValue (TempIndex idx, TempIndex instance, UT_Matrix2D &value) const
 
virtual void getNestParmValue (TempIndex idx, TempIndex instance, UT_Matrix3D &value) const
 
virtual void getNestParmValue (TempIndex idx, TempIndex instance, UT_Matrix4D &value) const
 
virtual void getNestParmValue (TempIndex idx, TempIndex instance, UT_StringHolder &value) const
 
virtual void getNestParmValue (TempIndex idx, TempIndex instance, UT_SharedPtr< UT_Ramp > &value) const
 
virtual void getNestParmValue (TempIndex idx, TempIndex instance, PRM_DataItemHandle &value) const
 
virtual void setNestParmValue (TempIndex idx, TempIndex instance, const exint &value)
 
virtual void setNestParmValue (TempIndex idx, TempIndex instance, const fpreal &value)
 
virtual void setNestParmValue (TempIndex idx, TempIndex instance, const UT_Vector2D &value)
 
virtual void setNestParmValue (TempIndex idx, TempIndex instance, const UT_Vector3D &value)
 
virtual void setNestParmValue (TempIndex idx, TempIndex instance, const UT_Vector4D &value)
 
virtual void setNestParmValue (TempIndex idx, TempIndex instance, const UT_Matrix2D &value)
 
virtual void setNestParmValue (TempIndex idx, TempIndex instance, const UT_Matrix3D &value)
 
virtual void setNestParmValue (TempIndex idx, TempIndex instance, const UT_Matrix4D &value)
 
virtual void setNestParmValue (TempIndex idx, TempIndex instance, const UT_StringHolder &value)
 
virtual void setNestParmValue (TempIndex idx, TempIndex instance, const UT_SharedPtr< UT_Ramp > &value)
 
virtual void setNestParmValue (TempIndex idx, TempIndex instance, const PRM_DataItemHandle &value)
 
virtual int64 getMemoryUsage (bool inclusive) const
 
template<>
void coerceValue (exint &result, const exint &src) const
 
template<>
void coerceValue (bool &result, const exint &src) const
 
template<>
void coerceValue (exint &result, const bool &src) const
 
template<>
void coerceValue (bool &result, const bool &src) const
 
template<>
void coerceValue (fpreal &result, const fpreal &src) const
 
template<>
void coerceValue (UT_Vector2D &result, const UT_Vector2D &src) const
 
template<>
void coerceValue (UT_Vector3D &result, const UT_Vector3D &src) const
 
template<>
void coerceValue (UT_Vector4D &result, const UT_Vector4D &src) const
 
template<>
void coerceValue (UT_Matrix2D &result, const UT_Matrix2D &src) const
 
template<>
void coerceValue (UT_Matrix3D &result, const UT_Matrix3D &src) const
 
template<>
void coerceValue (UT_Matrix4D &result, const UT_Matrix4D &src) const
 
template<>
void coerceValue (UT_StringHolder &result, const UT_StringHolder &src) const
 
template<>
void coerceValue (UT_SharedPtr< UT_Ramp > &result, const UT_SharedPtr< UT_Ramp > &src) const
 
template<>
void coerceValue (PRM_DataItemHandle &result, const PRM_DataItemHandle &src) const
 
template<>
void coerceValue (UT_Vector2I &result, const UT_Vector2D &src) const
 
template<>
void coerceValue (UT_Vector2D &result, const UT_Vector2I &src) const
 
template<>
void coerceValue (UT_Vector3I &result, const UT_Vector3D &src) const
 
template<>
void coerceValue (UT_Vector3D &result, const UT_Vector3I &src) const
 
template<>
void coerceValue (UT_Vector4I &result, const UT_Vector4D &src) const
 
template<>
void coerceValue (UT_Vector4D &result, const UT_Vector4I &src) const
 
template<>
exint clampMinValue (fpreal clamp, const exint &src) const
 
template<>
bool clampMinValue (fpreal clamp, const bool &src) const
 
template<>
fpreal clampMinValue (fpreal clamp, const fpreal &src) const
 
template<>
UT_Vector2D clampMinValue (fpreal clamp, const UT_Vector2D &src) const
 
template<>
UT_Vector3D clampMinValue (fpreal clamp, const UT_Vector3D &src) const
 
template<>
UT_Vector4D clampMinValue (fpreal clamp, const UT_Vector4D &src) const
 
template<>
UT_Matrix2D clampMinValue (fpreal clamp, const UT_Matrix2D &src) const
 
template<>
UT_Matrix3D clampMinValue (fpreal clamp, const UT_Matrix3D &src) const
 
template<>
UT_Matrix4D clampMinValue (fpreal clamp, const UT_Matrix4D &src) const
 
template<>
UT_Vector2I clampMinValue (fpreal clamp, const UT_Vector2I &src) const
 
template<>
UT_Vector3I clampMinValue (fpreal clamp, const UT_Vector3I &src) const
 
template<>
UT_Vector4I clampMinValue (fpreal clamp, const UT_Vector4I &src) const
 
template<>
UT_SharedPtr< UT_RampclampMinValue (fpreal clamp, const UT_SharedPtr< UT_Ramp > &src) const
 
template<>
exint clampMaxValue (fpreal clamp, const exint &src) const
 
template<>
bool clampMaxValue (fpreal clamp, const bool &src) const
 
template<>
fpreal clampMaxValue (fpreal clamp, const fpreal &src) const
 
template<>
UT_Vector2D clampMaxValue (fpreal clamp, const UT_Vector2D &src) const
 
template<>
UT_Vector3D clampMaxValue (fpreal clamp, const UT_Vector3D &src) const
 
template<>
UT_Vector4D clampMaxValue (fpreal clamp, const UT_Vector4D &src) const
 
template<>
UT_Matrix2D clampMaxValue (fpreal clamp, const UT_Matrix2D &src) const
 
template<>
UT_Matrix3D clampMaxValue (fpreal clamp, const UT_Matrix3D &src) const
 
template<>
UT_Matrix4D clampMaxValue (fpreal clamp, const UT_Matrix4D &src) const
 
template<>
UT_Vector2I clampMaxValue (fpreal clamp, const UT_Vector2I &src) const
 
template<>
UT_Vector3I clampMaxValue (fpreal clamp, const UT_Vector3I &src) const
 
template<>
UT_Vector4I clampMaxValue (fpreal clamp, const UT_Vector4I &src) const
 

Static Public Member Functions

static bool nodeHasGeometryOverride (SOP_Node *node, OP_Context &context)
 

Additional Inherited Members

- Public Types inherited from OP_NodeParms
enum  ParmType {
  PARM_INTEGER, PARM_FLOAT, PARM_VECTOR2, PARM_VECTOR3,
  PARM_VECTOR4, PARM_MATRIX2, PARM_MATRIX3, PARM_MATRIX4,
  PARM_STRING, PARM_RAMP, PARM_DATA, PARM_MULTIPARM,
  PARM_UNSUPPORTED
}
 
- Protected Member Functions inherited from OP_NodeParms
virtual void loadFromOpSubclass (const LoadParms &loadparms)=0
 
 OP_NodeParms (const OP_NodeParms &)=default
 
OP_NodeParmsoperator= (const OP_NodeParms &)=default
 
template<typename T , typename S >
void coerceValue (T &result, const S &src) const
 
template<typename T >
T clampMinValue (fpreal minvalue, const T &src) const
 
template<typename T >
T clampMaxValue (fpreal maxvalue, const T &src) const
 

Detailed Description

Definition at line 58 of file SOP_NodeVerb.h.

Constructor & Destructor Documentation

SOP_NodeParms::SOP_NodeParms ( )
inline

Definition at line 61 of file SOP_NodeVerb.h.

Member Function Documentation

bool SOP_NodeParms::applyGeometryOverride ( GU_ConstDetailHandle  gdh)

Overloads all the parameters according to matching attributes in provided geometry.

bool SOP_NodeParms::applyGeometryOverrideFromNode ( SOP_Node node,
OP_Context context,
SOP_NodeCache cache 
)

Detects specially named parameters, cooks required inputs using the traditional cook engine.

static bool SOP_NodeParms::nodeHasGeometryOverride ( SOP_Node node,
OP_Context context 
)
static

Returns if the node has the specially named parameters that may require a parameter override. This will disable traditional cooking.


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