SoLineDetail Class Reference
[Details]

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

#include <Inventor/details/SoLineDetail.h>

Inheritance diagram for SoLineDetail:
SoDetail SoTypedObject MoLineDetail MoLineDetailI MoLineDetailIj MoLineDetailIjk

List of all members.

Public Member Functions

virtual SoType getTypeId () const
 SoLineDetail ()
virtual ~SoLineDetail ()
const SoPointDetailgetPoint0 () const
const SoPointDetailgetPoint1 () const
const SoPointDetailgetPoint (int32_t i) const
int32_t getLineIndex () const
int32_t getPartIndex () const
virtual SoDetailcopy () 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. 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


Constructor & Destructor Documentation

SoLineDetail::SoLineDetail (  ) 

Constructor.

virtual SoLineDetail::~SoLineDetail (  )  [virtual]

Destructor.


Member Function Documentation

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.

static SoType SoLineDetail::getClassTypeId (  )  [static]

Returns the type identifier for this class.

Reimplemented from SoDetail.

Reimplemented in MoLineDetail, MoLineDetailI, MoLineDetailIj, and MoLineDetailIjk.

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.

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.

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.

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.

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.

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:

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