55#ifndef _SO_LINE_DETAIL_
56#define _SO_LINE_DETAIL_
120 { setLineIndex ((
int32_t) i); }
122 { setPartIndex ((
int32_t) i); }
#define SoEXTENDER
Provide inline template functions for abs, swap, min, max, and clamp.
#define INVENTOR_API
Disable some annoying warnings on MSVC 6.
#define SO_DETAIL_HEADER(className)
Macros to be called within the class definition header for a detail subclass:
Base class for describing detail information about a shape node.
Stores detail information about vertex-based shapes made of line segments.
void setPoint0(const SoPointDetail *pd)
Copies a point detail from the given detail.
const SoPointDetail * getPoint1() const
These return information about the two points forming the end vertices of the line segment,...
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...
virtual SoDetail * copy() const
Returns an instance that is a copy of this instance.
void setPoint1(const SoPointDetail *pd)
void setPartIndex(long i)
const SoPointDetail * getPoint0() const
These return information about the two points forming the end vertices of the line segment,...
void setLineIndex(long i)
void setLineIndex(int32_t i)
Sets the line index and part index.
SoLineDetail()
Constructor and destructor.
void setPartIndex(int32_t i)
int32_t getPartIndex() const
Returns the index of the part containing the line segment within the shape.
virtual ~SoLineDetail()
Constructor and destructor.
Stores detail information about vertex-based shapes made of points.