Open Inventor Release 2024.1.0
 
Loading...
Searching...
No Matches
MoLineDetailI Class Reference

Stores detail information about vertex-based shapes made of line segments from unstructured meshes and structured line meshes. More...

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

+ Inheritance diagram for MoLineDetailI:

Public Member Functions

virtual SoType getTypeId () const
 Returns the type identifier for this specific instance.
 
 MoLineDetailI ()
 Constructor.
 
virtual ~MoLineDetailI ()
 Destructor.
 
size_t getCellIndex () const
 Returns the index of the cell containing the face within the input mesh.
 
virtual MoLineDetailIcopy () const
 Returns an instance that is a copy of this instance.
 
- Public Member Functions inherited from MoLineDetail
 MoLineDetail ()
 Constructor.
 
virtual ~MoLineDetail ()
 Destructor.
 
double getValue (const SbVec3f &point) const
 Computes and returns the first value of the mapped scalarset at the given point.
 
std::vector< double > getValues (const SbVec3f &point) const
 Computes and returns all values of the mapped scalarsets at the given point.
 
const MoMeshDetailgetMeshDetail () const
 Returns information about the input mesh containing the cell that the line belongs to, represented as a MoMeshDetail.
 
const MoLineMeshDetailgetMeshRepresentationDetail () const
 Returns information about the mesh representation (outline, clipline, ...) containing the line, represented as an MoLineMeshDetail, if available, returns NULL otherwise.
 
- Public Member Functions inherited from SoLineDetail
 SoLineDetail ()
 Constructor.
 
virtual ~SoLineDetail ()
 Destructor.
 
const SoPointDetailgetPoint0 () const
 Returns information about the first of two points forming the end vertices of the line segment, represented as an SoPointDetail.
 
const SoPointDetailgetPoint1 () const
 Returns information about the second of two points forming the end vertices of the line segment, represented as an SoPointDetail.
 
const SoPointDetailgetPoint (int32_t i) const
 Returns information about the point forming the i'th end of the line, represented as an SoPointDetail.
 
int32_t getLineIndex () const
 Returns the index of the line the segment is part of within a shape, such as the third line within an SoLineSet.
 
int32_t getPartIndex () const
 Returns the index of the part containing the line segment within the shape.
 
- Public Member Functions inherited from SoTypedObject
SbBool isOfType (const SoType &type) const
 Returns TRUE if this object is of the type specified in type or is derived from that type.
 
template<typename TypedObjectClass >
SbBool isOfType () const
 Returns TRUE if this object is of the type of class TypedObjectClass or is derived from that class.
 

Static Public Member Functions

static SoType getClassTypeId ()
 Returns the type identifier for this class.
 
- Static Public Member Functions inherited from MoLineDetail
static SoType getClassTypeId ()
 Returns the type identifier for this class.
 
- Static Public Member Functions inherited from SoLineDetail
static SoType getClassTypeId ()
 Returns the type identifier for this class.
 
- Static Public Member Functions inherited from SoDetail
static SoType getClassTypeId ()
 Returns type identifier for this class.
 
- Static Public Member Functions inherited from SoTypedObject
static SoType getClassTypeId ()
 Returns the type identifier for this class.
 

Detailed Description

Stores detail information about vertex-based shapes made of line segments from unstructured meshes and structured line meshes.

This class contains detail information about a line segment in a vertex-based shape made of line segments (extends MoLineDetail). Additional information includes the index of the cell containing the line in the mesh stored in the associated MoMeshDetail (see MoLineDetail::getMeshDetail()).

SEE ALSO

SoDetail, MoLineDetail, MoMeshDetail, MoSurfaceMeshDetail, SoPickedPoint, SoPrimitiveVertex, SoVertexShape

Definition at line 64 of file MoLineDetailI.h.

Constructor & Destructor Documentation

◆ MoLineDetailI()

MoLineDetailI::MoLineDetailI ( )

Constructor.

◆ ~MoLineDetailI()

virtual MoLineDetailI::~MoLineDetailI ( )
virtual

Destructor.

Member Function Documentation

◆ copy()

virtual MoLineDetailI * MoLineDetailI::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 MoLineDetail.

◆ getCellIndex()

size_t MoLineDetailI::getCellIndex ( ) const
inline

Returns the index of the cell containing the face within the input mesh.

Definition at line 81 of file MoLineDetailI.h.

◆ getClassTypeId()

static SoType MoLineDetailI::getClassTypeId ( )
static

Returns the type identifier for this class.


◆ getTypeId()

virtual SoType MoLineDetailI::getTypeId ( ) const
virtual

Returns the type identifier for this specific instance.

Reimplemented from MoLineDetail.


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