class tsLine : public SoVertexShape

Feedback node, rendering a one dimensional signal as a line

Inheritance:


Public Fields

SoSFFloat complexity
Old stuff, out of date.
SoSFTime future
Old stuff, out of date.
SoSFTime past
Old stuff, out of date.

Public Methods

virtual SbBool affectsState()
Becasue it is a feedback node, it does not affect the state of an action!
static void initClass()
Makes this class known to the OpenInventor type system. static void initClass();
tsLine()
Constructor

Protected

Action behaviour:
virtual void GLRender(SoGLRenderAction *action)
This implements the GL rendering action.
void GLRenderRegular(tsData1RFloat* dataNode, GLenum GLMode, float timeNow, int startIdx, int endIdx)
Called from GLRender(), renders regular sampled signal data (tsData1RFloat, ...).
void GLRenderNonregular(tsData1NFloat* dataNode, GLenum GLMode, float timeNow, int startIdx, int endIdx)
Called from GLRender(), renders irregular sampled signal data (tsData1NFloat, ...).
virtual void generatePrimitives(SoAction *action)
Produces primitive representation for picking.
virtual void computeBBox(SoAction *action, SbBox3f &box, SbVec3f &center)
Computes the bounding box and center of a shape

Private Methods

void _computeIndices(float time, float past, float future, tsDataBase* dataNode, int& startIdx, int& endIdx)
Computes the time axis indices (startIdx, endIdx) for windowed drawing between -past and +future
SO_NODE_HEADER(tsLine)
Inventor macro
virtual ~tsLine()
Destructor

Documentation

Feedback node, rendering a one dimensional signal as a line. Time is mapped to the X-axis, signal values (spectra: amplitude) to Y-axis.

Takes time to render for from tsTimeElement. Takes signal data from a tsData2Element, normal vectors from a tsNormalElement. Material and draw style is standard. Texture mapping is not yet implemented!

SO_NODE_HEADER(tsLine)
Inventor macro

SoSFTime past
Old stuff, out of date.

SoSFTime future
Old stuff, out of date.

SoSFFloat complexity
Old stuff, out of date.

static void initClass()
Makes this class known to the OpenInventor type system. static void initClass();

tsLine()
Constructor

virtual SbBool affectsState()
Becasue it is a feedback node, it does not affect the state of an action!

Action behaviour:

virtual void GLRender(SoGLRenderAction *action)
This implements the GL rendering action.

void GLRenderRegular(tsData1RFloat* dataNode, GLenum GLMode, float timeNow, int startIdx, int endIdx)
Called from GLRender(), renders regular sampled signal data (tsData1RFloat, ...).

void GLRenderNonregular(tsData1NFloat* dataNode, GLenum GLMode, float timeNow, int startIdx, int endIdx)
Called from GLRender(), renders irregular sampled signal data (tsData1NFloat, ...).

virtual void generatePrimitives(SoAction *action)
Generates a representation of the shape in primitives (points,lines and triangels, here lines only). Implementing this method, the picking mechanism for all vertex shapes can be employed.

virtual void computeBBox(SoAction *action, SbBox3f &box, SbVec3f &center)
Computes the bounding box and center of a shape. Called from a inherited doBoundingBox() method.

void _computeIndices(float time, float past, float future, tsDataBase* dataNode, int& startIdx, int& endIdx)
Computes the time axis indices (startIdx, endIdx) for windowed drawing between -past and +future.

virtual ~tsLine()
Destructor


This class has no child classes.
Author:
(c) Andreas Lücke
Version:
0.0
See Also:
tsSurface tsData1Base

alphabetic index hierarchy of classes


This page is part of the tsKit's reference manual by Andreas Lücke.
Back to tsKit-Home

generated by doc++