Public Member Functions | Public Attributes

GenSoftSelData Struct Reference

Search for all occurrences

Detailed Description

A generic set of parameters defining how soft selection weights are calculated.

#include <ObjectWrapper.h>

Inheritance diagram for GenSoftSelData:
Inheritance graph
[legend]

List of all members.

Public Member Functions

CoreExport  GenSoftSelData ()
  Constructor; initializes all values to zero, except the falloff, which is initialized to a default of 20.0.

Public Attributes

BOOL  useSoftSel
  If TRUE, soft selection weights are enabled and active, otherwise FALSE if soft selection is not active.
BOOL  useEdgeDist
  If TRUE, the distance between vertices is computed along edges.
int  edgeIts
  This indicates the maximum number of edges the algorithm may travel along in finding the distance between vertices.
BOOL  ignoreBack
  If TRUE, vertices with a normal that points more than 90 degrees away from the average normal of the selection are not given any partial selections.
float  falloff
  The limit distance of the effect.
float  pinch
  Use this to affect the tangency of the curve near distance=0.
float  bubble
  Use this to change the curvature of the function.

Constructor & Destructor Documentation

CoreExport GenSoftSelData ( )

Constructor; initializes all values to zero, except the falloff, which is initialized to a default of 20.0.


Member Data Documentation

BOOL useSoftSel

If TRUE, soft selection weights are enabled and active, otherwise FALSE if soft selection is not active.

If TRUE, the distance between vertices is computed along edges.

If FALSE, it's computed directly through space.

int edgeIts

This indicates the maximum number of edges the algorithm may travel along in finding the distance between vertices.

(Maximum path length.)

WARNING: If useEdgeDist is FALSE, this is an n-squared algorithm: it compares every vertex not in the cluster with every vertex in it. If useEdgeDist is TRUE, the time it takes is proportional to the number of verts in the cluster multiplied by edgeIts.

BOOL ignoreBack

If TRUE, vertices with a normal that points more than 90 degrees away from the average normal of the selection are not given any partial selections.

They're either 1 if selected or 0 otherwise.

float falloff

The limit distance of the effect.

If distance > falloff, the function will always return 0.

float pinch

Use this to affect the tangency of the curve near distance=0.

Positive values produce a pointed tip, with a negative slope at 0, while negative values produce a dimple, with positive slope

float bubble

Use this to change the curvature of the function.

A value of 1.0 produces a half-dome. As you reduce this value, the sides of the dome slope more steeply. Negative values lower the base of the curve below 0.