MoLineDetail Class Reference
[Details]

Stores detail information about vertex-based shapes made of line segments. More...

#include <MeshVizXLM/mapping/details/MoLineDetail.h>

Inheritance diagram for MoLineDetail:
SoLineDetail SoDetail SoTypedObject MoLineDetailI MoLineDetailIj MoLineDetailIjk

List of all members.

Public Member Functions

virtual SoType getTypeId () const
 MoLineDetail ()
virtual ~MoLineDetail ()
double getValue (const SbVec3f &point) const
std::vector< double > getValues (const SbVec3f &point) const
const MoMeshDetailgetMeshDetail () const
const MoLineMeshDetailgetMeshRepresentationDetail () const
virtual MoLineDetailcopy () const

Static Public Member Functions

static SoType getClassTypeId ()

Detailed Description

Stores detail information about vertex-based shapes made of line segments.

This class contains detail information about a line segment in a vertex-based shape made of line segments (extends SoLineDetail). Additional information includes the input mesh and the mesh representation details. It also allows computing the value of the mapped scalarset used for coloring at any points along the line segment.

Detail objects are returned by the SoPickedPoint class after picking.

SEE ALSO

SoDetail, SoPickedPoint, SoLineDetail, MoMeshDetail, MoLineMeshDetail, SoPickedPoint, SoPrimitiveVertex, SoVertexShape


Constructor & Destructor Documentation

MoLineDetail::MoLineDetail (  ) 

Constructor.

virtual MoLineDetail::~MoLineDetail (  )  [virtual]

Destructor.


Member Function Documentation

virtual MoLineDetail* MoLineDetail::copy (  )  const [virtual]

Returns an instance that is a copy of this instance. The caller is responsible for deleting the copy when it is no longer needed.

Reimplemented from SoLineDetail.

Reimplemented in MoLineDetailI, MoLineDetailIj, and MoLineDetailIjk.

static SoType MoLineDetail::getClassTypeId (  )  [static]

Returns the type identifier for this class.

Reimplemented from SoLineDetail.

Reimplemented in MoLineDetailI, MoLineDetailIj, and MoLineDetailIjk.

const MoMeshDetail* MoLineDetail::getMeshDetail (  )  const [inline]

Returns information about the input mesh containing the cell that the line belongs to, represented as a MoMeshDetail.

const MoLineMeshDetail* MoLineDetail::getMeshRepresentationDetail (  )  const [inline]

Returns information about the mesh representation (outline, clipline, .

..) containing the line, represented as an MoLineMeshDetail, if available, returns NULL otherwise.

virtual SoType MoLineDetail::getTypeId (  )  const [virtual]

Returns the type identifier for this specific instance.

Reimplemented from SoLineDetail.

Reimplemented in MoLineDetailI, MoLineDetailIj, and MoLineDetailIjk.

double MoLineDetail::getValue ( const SbVec3f point  )  const

Computes and returns the first value of the mapped scalarset at the given point.

Returns DBL_MAX if point not along the line or no mapped scalarset available.

std::vector<double> MoLineDetail::getValues ( const SbVec3f point  )  const

Computes and returns all values of the mapped scalarsets at the given point.

Returns an empty vector if point not inside the face or no mapped scalarset available.


The documentation for this class was generated from the following file:

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