PoPointsFieldBars Class Reference

MeshViz Class to build a points field bars. More...

#include <MeshViz/graph/PoPointsFieldBars.h>

Inheritance diagram for PoPointsFieldBars:
PoGraphMaster PoBase SoBaseKit SoNode SoGetView SoFieldContainer SoBase SoRefCounter SoTypedObject

List of all members.

Public Member Functions

virtual SoType getTypeId () const
virtual const SoNodekitCataloggetNodekitCatalog () const
 PoPointsFieldBars ()
 PoPointsFieldBars (int numPoints, const SbVec3f *_point, const float *_value, float _width, float _height)
virtual void rebuild ()
void setDataMapping (PbDataMapping *dataMapping)
const PbDataMappinggetDataMapping () const

Static Public Member Functions

static SoType getClassTypeId ()
static const SoNodekitCataloggetClassNodekitCatalog ()

Public Attributes

SoMFVec3f point
SoMFFloat value
SoSFFloat width
SoSFFloat height

Detailed Description

MeshViz Class to build a points field bars.

Class to build parallelepipeds based on a point field. This class generates a set of parallelepipeds where the bases are on the plane XY and the heights are given by the altitude for each point on the point field. The parallelepipeds are colored as a function of values for each point.

Colors of the bars depend on the current data mapping. If the method setDataMapping(dataMapping) is called, the current data mapping is "dataMapping". Otherwise the current data mapping is specified in the current inherited state (cf property node PoDataMapping and its derived classes). If there is no current data-mapping (i.e setDataMapping() not called and no PoDataMapping node traversed before in the scene graph), all bars get the same color which is the inherited color.

FILE FORMAT/DEFAULT


Open Inventor Toolkit reference manual, generated on 15 Mar 2023
Copyright © Thermo Fisher Scientific All rights reserved.
http://www.openinventor.com/