PoMesh3DVec Class Reference
[Representation]

MeshViz Representation of vectors data of a volume mesh. More...

#include <MeshViz/3Ddata/PoMesh3DVec.h>

Inheritance diagram for PoMesh3DVec:
PoMesh3D PoMesh Po3DdataMaster PoBase SoBaseKit SoNode SoGetView SoFieldContainer SoBase SoRefCounter SoTypedObject PoMesh3DVecCrossSection PoMesh3DVecGridCrossSection

List of all members.

Public Types

enum  EliminationStatus {
  NONE,
  TOO_SMALL,
  TOO_LONG,
  TOO_SMALL_OR_LONG
}
enum  BodyShape {
  NO_BODY,
  LINE,
  CYLINDER
}
enum  BodyLengthType {
  CONSTANT_LENGTH,
  RELATIVE_LENGTH
}
enum  BodyRadiusType {
  CONSTANT_RADIUS,
  RELATIVE_RADIUS
}
enum  ArrowShape {
  NO_SHAPE,
  POINT,
  CHEVRON,
  TRIANGLE,
  RECTANGLE,
  CONE,
  BOX,
  SPHERE,
  INDIRECT_CHEVRON,
  INDIRECT_TRIANGLE,
  INDIRECT_CONE
}
enum  ArrowHeightType {
  CONSTANT_HEIGHT,
  RELATIVE_HEIGHT
}
enum  ArrowColoringType {
  CONSTANT_COLOR,
  MODULE_MAPPING_COLOR,
  SCALAR_MAPPING_COLOR
}

Public Member Functions

virtual SoType getTypeId () const
virtual const SoNodekitCataloggetNodekitCatalog () const
 PoMesh3DVec ()
virtual void rebuild ()

Static Public Member Functions

static SoType getClassTypeId ()
static const SoNodekitCataloggetClassNodekitCatalog ()

Public Attributes

SoSFInt32 density
SoSFEnum eliminationStatus
SoSFFloat minLength
SoSFFloat maxLength
SoSFEnum bodyShape
SoSFEnum bodyLengthType
SoSFFloat bodyLengthFactor
SoSFEnum bodyRadiusType
SoSFFloat bodyRadiusFactor
SoSFEnum bodyColoringType
SoSFEnum startArrowShape
SoSFEnum startArrowHeightType
SoSFFloat startArrowHeightFactor
SoSFFloat startArrowRadiusFactor
SoSFEnum startArrowColoringType
SoSFEnum endArrowShape
SoSFEnum endArrowHeightType
SoSFFloat endArrowHeightFactor
SoSFFloat endArrowRadiusFactor
SoSFEnum endArrowColoringType

Detailed Description

MeshViz Representation of vectors data of a volume mesh.

Class to build a vectors field on a volume mesh. This class handles all vectors attributes. A vector is represented by an arrow made of 3 parts, the body, the start-shape and the end-shape. The body is a line or a cylinder starting from a node of the mesh. The start-shape is a pattern drawn at the node position. The end-shape is a pattern drawn at the other extremity of the body. Several type of pattern can be used to draw the shape. The 3 parts can be scaled and colored according to the value of the different fields of the class.

The current mesh is used for the representation of vectors. See PoMesh for more explanations about the current mesh. The vectors of the mesh to be drawn, are defined by the method addVecsSet of the current mesh (see PoMeshProperty or PbMesh), and by the field PoMesh::vecsIndex. The node of the mesh are used as start point of the representation of the vectors.

FILE FORMAT/DEFAULT


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