Module vrTransform
[frames] | no frames]

Module vrTransform

Functions
 
selectTransformVariantByName(node, name)
Applies a transform variant of a given node by name.
 
selectTransformVariantByName(nodeName, variantName)
Applies a transform variant for a given node by name.
 
selectTransformVariantByIndex(node, index)
Applies a transform variant of a given node by index.
 
selectTransformVariantByIndex(nodeName, index)
Applies a transform variant of a given node by index.
 
captureTransformVariants(name, nodes)
Creates transform variants with the given name for all nodes passed to this function.
 
getBBCenter()
Internal Function.
 
pickAxis()
Defines rotation axis over two pick points.
 
pickAxis3Points()
Defines rotation axis over three pick points.
Function Details

selectTransformVariantByName(node, name)

 

Applies a transform variant of a given node by name.

Parameters:
  • node (vrNodePtr) - The node with transform variants.
  • name (string) - The name of the transform variant

selectTransformVariantByName(nodeName, variantName)

 

Applies a transform variant for a given node by name.

Parameters:
  • nodeName (string) - The name of the node with transform variants.
  • variantName (string) - The name of the transform variant

selectTransformVariantByIndex(node, index)

 

Applies a transform variant of a given node by index.

Parameters:
  • node (vrNodePtr) - The node with transform variants.
  • index (int) - The index of the transform variant

selectTransformVariantByIndex(nodeName, index)

 

Applies a transform variant of a given node by index.

Parameters:
  • nodeName (string) - The name of the node with transform variants.
  • index (int) - The index of the transform variant

captureTransformVariants(name, nodes)

 

Creates transform variants with the given name for all nodes passed to this function.

The variant is created from the current state of the node. If a node already has a transform variant with that name, the variant is overwritten with the current transformation values of the node.

Parameters:
  • name (string) - name of the transform variant
  • nodes (list of vrNodePtr) - All transform nodes whose current state should be captured as transform variant.