public class SoModelScaleElement extends SoModelMatrixElement
SoMatrixTransform
or a direct set of the SoModelMatrix with a not diagonalizable matrix, so the getScaleFactor can return a vector containing one or more NaN or zeros. This element has some limitation related to the way transformation also rigid ones are accumulated. So please use it with attention also because for the moment the SbMatrix.getTransform
method does not return any status
This element stores just the scale pportion of the current model matrix the cumulative transformation applied to subsequent shapes. Because the matrix is cumulative, this class is derived from SoAccumulatedElement
. The set()
method replaces the current matrix, while all the others (mult()
, translateBy()
, etc.) multiply into it. Node id's of the nodes that affect the element are accumulated properly.
See also:
SoMatrixTransform
, SoRotation
, SoRotationXYZ
, SoScale
, SoTransform
, SoTranslation
, SoUnits
Inventor.ConstructorCommand
VERBOSE_LEVEL, ZeroHandle
Modifier and Type | Method and Description |
---|---|
static int |
getClassStackIndex()
Deprecated.
As of Open Inventor 9.3 replaced by SoElement.getClassStackIndex(Class)
|
SbVec3f |
getScaleFactor()
Returns the of this element model scale - if the overall SoModelMatrix is diagonazible Not all the SoModelMatrix are diagonalizable because a
SoMatrixTransform or a direct set of the SoModelMatrix with a not diagonalizable matrix, so the getScaleFactor can return a vector containing one or more NaN or zeros. |
static SbVec3f |
getScaleFactor(SoState state)
Returns current model scale - if the overall SoModelMatrix is diagonazible Not all the SoModelMatrix are diagonalizable because a
SoMatrixTransform or a direct set of the SoModelMatrix with a not diagonalizable matrix, so the getScaleFactor can return a vector containing one or more NaN or zeros. |
get, getCombinedCullMatrix, makeIdentity, mult, popMatrix, push, pushMatrix, rotateBy, scaleBy, set, set, setCullMatrix, translateBy
getClassStackIndex, pop
dispose, getNativeResourceHandle
public SbVec3f getScaleFactor()
SoMatrixTransform
or a direct set of the SoModelMatrix with a not diagonalizable matrix, so the getScaleFactor can return a vector containing one or more NaN or zeros.@Deprecated public static int getClassStackIndex()
public static SbVec3f getScaleFactor(SoState state)
SoMatrixTransform
or a direct set of the SoModelMatrix with a not diagonalizable matrix, so the getScaleFactor can return a vector containing one or more NaN or zeros.Generated on July 31, 2019, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com