PoMesh2DVec Class Reference
[Representation]

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

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

Inheritance diagram for PoMesh2DVec:
PoMesh2D PoMesh Po3DdataMaster PoBase SoBaseKit SoNode SoGetView SoFieldContainer SoBase SoRefCounter SoTypedObject

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
 PoMesh2DVec ()
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 surface mesh.

Class to build a vectors field on a surface 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, PbMesh or PbMesh2D), 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 4 Sep 2023
Copyright © Thermo Fisher Scientific All rights reserved.
https://www.openinventor.com/