public class SoHeightFieldDetail extends SoDetail
SoPickedPoint
object. If the picked geometry is an SoHeightFieldRender
node, use the getDetail method and cast the result to this class to get extra information about the the pick.
SoHeightFieldDetail
returns
SoHeightFieldProperty
SoHeightFieldProperty
nodes are inherited.
SoHeightFieldProperty
node.
SoHeightFieldProperty
nodes are inherited.
See also:
SoDetail
, SoHeightFieldProperty
, SoHeightFieldGeometry
, SoHeightFieldRender
Modifier and Type | Class and Description |
---|---|
static class |
SoHeightFieldDetail.PropertyInfo |
Inventor.ConstructorCommand
VERBOSE_LEVEL, ZeroHandle
Constructor and Description |
---|
SoHeightFieldDetail()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
SoDetail |
copy()
Returns an instance that is a copy of this instance.
|
SbVec4i32 |
getColor()
Returns the color of the picked cell.
|
float |
getHeight()
Get the height value of the nearest elevation point.
|
SbVec3i32 |
getIjkPos()
Returns the position in data space (cell coordinates) of the picked cell.
|
long |
getNumProperties()
Returns the number of active properties.
|
SoHeightFieldDetail.PropertyInfo |
getProperty(long propertyNumber)
Returns the specified property and its id.
|
double |
getValue(long propertyNumber)
Returns the value of the picked cell in the specified property (
SoHeightFieldProperty node). |
dispose, getAddress, getNativeResourceHandle, startInternalThreads, stopInternalThreads
public float getHeight()
public SoHeightFieldDetail.PropertyInfo getProperty(long propertyNumber)
propertyNumber
- is the number of the property to query. Use the getNumProperties
method to get the number of properties.
property
- is filled with a pointer to the queried property. NULL if propertyNumber is invalid.
id
- is filled with the id of the property. -1 if propertyNumber is invalid.public long getNumProperties()
public SbVec3i32 getIjkPos()
public SbVec4i32 getColor()
public SoDetail copy()
public double getValue(long propertyNumber)
SoHeightFieldProperty
node).
propertyNumber
- is the number of the property to query.
getNumProperties
method to get the number of properties.Generated on January 23, 2025, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com