Open Inventor Release 2024.1.3
 
Loading...
Searching...
No Matches
SoLineDetail Class Reference

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

#include <Inventor/details/SoLineDetail.h>

+ Inheritance diagram for SoLineDetail:

Public Member Functions

virtual SoType getTypeId () const
 Returns the type identifier for this specific instance.
 
 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.
 
virtual SoDetailcopy () const
 Returns an instance that is a copy of this instance.
 
- 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 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.

This class contains detail information about a line segment in a vertex-based shape made of line segments. The information includes the points at the ends of the segment, and the index of the segment within the shape.

SEE ALSO

SoDetail, SoPickedPoint, SoPrimitiveVertex, SoVertexShape

Definition at line 85 of file SoLineDetail.h.

Constructor & Destructor Documentation

◆ SoLineDetail()

SoLineDetail::SoLineDetail ( )

Constructor.

◆ ~SoLineDetail()

virtual SoLineDetail::~SoLineDetail ( )
virtual

Destructor.

Member Function Documentation

◆ copy()

virtual SoDetail * SoLineDetail::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.

Implements SoDetail.

Reimplemented in MoLineDetail, MoLineDetailI, MoLineDetailIj, and MoLineDetailIjk.

◆ getClassTypeId()

static SoType SoLineDetail::getClassTypeId ( )
static

Returns the type identifier for this class.


◆ getLineIndex()

int32_t SoLineDetail::getLineIndex ( ) const
inline

Returns the index of the line the segment is part of within a shape, such as the third line within an SoLineSet.

Definition at line 120 of file SoLineDetail.h.

◆ getPartIndex()

int32_t SoLineDetail::getPartIndex ( ) const
inline

Returns the index of the part containing the line segment within the shape.

Usually, the part index is the same as the line segment index, such as the fifth segment overall within an SoLineSet.

Definition at line 127 of file SoLineDetail.h.

◆ getPoint()

const SoPointDetail * SoLineDetail::getPoint ( int32_t  i) const

Returns information about the point forming the i'th end of the line, represented as an SoPointDetail.

◆ getPoint0()

const SoPointDetail * SoLineDetail::getPoint0 ( ) const
inline

Returns information about the first of two points forming the end vertices of the line segment, represented as an SoPointDetail.

Definition at line 103 of file SoLineDetail.h.

◆ getPoint1()

const SoPointDetail * SoLineDetail::getPoint1 ( ) const
inline

Returns information about the second of two points forming the end vertices of the line segment, represented as an SoPointDetail.

Definition at line 108 of file SoLineDetail.h.

◆ getTypeId()

virtual SoType SoLineDetail::getTypeId ( ) const
virtual

Returns the type identifier for this specific instance.

Implements SoTypedObject.

Reimplemented in MoLineDetail, MoLineDetailI, MoLineDetailIj, and MoLineDetailIjk.


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