TensionCurve.h header

#include <ew/app/TensionCurve.h>

Namespace ew::app

TensionPoint struct

struct ew::app::TensionPoint

One rated scene on the tension curve: a document and the dramatic tension (1-10) the writer assigned it. Only rated scenes appear, so the curve shows the arc of the scenes that have been mapped rather than treating unrated scenes as zero tension.

Members

ew::core::ContentId ew::app::TensionPoint::id

The document's id.

QString ew::app::TensionPoint::title

The document's title.

int ew::app::TensionPoint::tension = 0

The dramatic tension level (1-10).

Functions

std::vector< TensionPoint > ew::app::tensionCurve(const ew::core::Project &project)

The tension curve of project: the rated scenes (tension greater than zero) in manuscript reading order, so a client can plot the story's dramatic arc.