Classes | |
class | EdgeSegmentFinder |
Find/change the segment associated with a particular edge. More... | |
class | ChangeLightingDelta |
A DocumentDelta to change a Track::Track's Track::Lighting object to another one. More... | |
class | PropertyDeltaIdentifier |
Virtual base class to help with the Identifer template parameter of ChangePropertyDelta. More... | |
class | ChangePropertyDelta |
Generic DocumentDelta for changing a property without adding or deleting data. More... | |
class | VertexSegmentFinder |
Find/Change the segment associated with a particular vertex. More... | |
class | ChangeVertexSegmentDelta |
Command for switching the segment at a vertex in a path. More... | |
class | ClearVertexDelta |
Delta which deletes all edges attached to a vertex. More... | |
class | Document |
The set of data the editor exists to manipulate. More... | |
class | DocumentDelta |
Abstract base class for changes that can be made to a track. More... | |
class | FlipEdgeDelta |
Flip the start and finish ends of a edge. More... | |
class | InsertDelta |
Class to create an object in a Track. More... | |
class | InsertRemoveEdgeIdentifier |
InsertRemoveIdentifier for edges. More... | |
class | InsertRemoveIdentifier |
Base class that adds or removes an object with a fixed identity. More... | |
class | InsertRemoveTrackAttachmentIdentifier |
InsertRemoveIdentifier for TrackAttachments. More... | |
class | InsertRemoveVertexIdentifier |
InsertRemoveIdentifier for vertices. More... | |
class | RemoveVertexDelta |
DocumentDelta which removes a vertex with all associated edges. More... | |
class | NodePositionFinder |
Find or set the position of a vertex. More... | |
class | TrackAttachmentPositionFinder |
Find or set the position of a vertex. More... | |
class | RemoveDelta |
Class to remove something from a track. More... | |
class | VertexAngleFinder |
Find/Change the angle of a particular vertex. More... | |
class | EdgeStrengthFinder |
Find or set the edge gradient strength at an end of an edge edge. More... | |
class | StartEdgeFinder |
Find a path's starting edge. More... | |
class | SetStartPositionsDelta |
Command for creating start positions and other related tasks. More... | |
class | StackableDelta |
A DocumentDelta that will combine the effects of other DocumentDeltas. More... | |
class | SymmetricDelta |
A DocumentDelta where apply and unapply are the same thing. More... | |
Typedefs | |
typedef ChangePropertyDelta< EdgeSegmentFinder, std::size_t > | ChangeEdgeSegmentDelta |
Command for switching the segment along an edge in a path. | |
typedef ChangePropertyDelta< VertexSegmentFinder, std::size_t > | ChangeVertexSegmentOnlyDelta |
Command for switching the segment at a vertex in a path. | |
typedef InsertDelta< InsertRemoveEdgeIdentifier, Track::PathEdge > | InsertEdgeDelta |
DocumentDelta to insert a vertex into a track. | |
typedef RemoveDelta< InsertRemoveEdgeIdentifier, Track::PathEdge > | RemoveEdgeDelta |
DocumentDelta to remove an unconnected vertex in a track. | |
typedef InsertDelta< InsertRemoveTrackAttachmentIdentifier, boost::shared_ptr< Track::TrackAttachment > > | InsertTrackAttachmentDelta |
DocumentDelta to insert a TrackAttachment on an edge. | |
typedef RemoveDelta< InsertRemoveTrackAttachmentIdentifier, boost::shared_ptr< Track::TrackAttachment > > | RemoveTrackAttachmentDelta |
DocumentDelta to remove a TrackAttachment from an edge. | |
typedef InsertDelta< InsertRemoveVertexIdentifier, Track::PathVertex > | InsertVertexDelta |
DocumentDelta to insert a vertex into a track. | |
typedef RemoveDelta< InsertRemoveVertexIdentifier, Track::PathVertex > | RemoveVertexOnlyDelta |
DocumentDelta to remove an unconnected vertex in a track. | |
typedef ChangePropertyDelta< NodePositionFinder, btVector3 > | MoveNodeDelta |
Command for moving control points along the path. | |
typedef ChangePropertyDelta< TrackAttachmentPositionFinder, btVector3 > | MoveTrackAttachmentDelta |
Command for moving control points along the path. | |
typedef ChangePropertyDelta< VertexAngleFinder, btQuaternion > | RotateVertexDelta |
Command for changing the angle of a PathVertex in a Path. | |
typedef ChangePropertyDelta< EdgeStrengthFinder, btScalar > | SetEdgeStrengthDelta |
Command for changing the edge gradient strength at one end of an edge. | |
typedef ChangePropertyDelta< StartEdgeFinder, unsigned long int > | SetStartEdgeDelta |
Command for changing the starting edge of the path. | |
Functions | |
Document (const Track::Theme &theme) | |
Document (std::istream &source, const Track::Theme &theme) | |
~Document () | |
void | do_command (boost::shared_ptr< DocumentDelta > delta) |
void | preview_command (boost::shared_ptr< DocumentDelta > delta) |
void | cancel_preview () |
void | undo_command () |
void | redo_command () |
sigc::signal< void > | signal_command_run () |
bool | get_undo_avaliable () const |
bool | get_redo_avaliable () const |
void | save (std::ostream &destination) |
bool | is_saved () const |
const Track::Track & | get_track () const |
unsigned int | get_changes_since_save () const |
Used for objects that manipulate the track.
typedef ChangePropertyDelta<EdgeSegmentFinder, std::size_t> Document::ChangeEdgeSegmentDelta |
Command for switching the segment along an edge in a path.
Definition at line 48 of file ChangeEdgeSegmentDelta.h.
typedef ChangePropertyDelta<VertexSegmentFinder, std::size_t> Document::ChangeVertexSegmentOnlyDelta |
Command for switching the segment at a vertex in a path.
Does not remove associated edges, so it isn't safe to use this on arbitrary vertices.
Definition at line 56 of file ChangeVertexSegmentDelta.h.
DocumentDelta to remove an unconnected vertex in a track.
Definition at line 45 of file InsertEdgeDelta.h.
typedef InsertDelta<InsertRemoveTrackAttachmentIdentifier, boost::shared_ptr<Track::TrackAttachment> > Document::InsertTrackAttachmentDelta |
DocumentDelta to insert a TrackAttachment on an edge.
Definition at line 43 of file InsertTrackAttachmentDelta.h.
typedef RemoveDelta<InsertRemoveTrackAttachmentIdentifier, boost::shared_ptr<Track::TrackAttachment> > Document::RemoveTrackAttachmentDelta |
DocumentDelta to remove a TrackAttachment from an edge.
Definition at line 47 of file InsertTrackAttachmentDelta.h.
typedef RemoveDelta<InsertRemoveVertexIdentifier, Track::PathVertex> Document::RemoveVertexOnlyDelta |
DocumentDelta to remove an unconnected vertex in a track.
Definition at line 47 of file InsertVertexDelta.h.
typedef ChangePropertyDelta<NodePositionFinder, btVector3> Document::MoveNodeDelta |
typedef ChangePropertyDelta<TrackAttachmentPositionFinder, btVector3> Document::MoveTrackAttachmentDelta |
Command for moving control points along the path.
Definition at line 57 of file MoveTrackAttachmentDelta.h.
typedef ChangePropertyDelta<VertexAngleFinder, btQuaternion> Document::RotateVertexDelta |
Command for changing the angle of a PathVertex in a Path.
Definition at line 53 of file RotateVertexDelta.h.
typedef ChangePropertyDelta<EdgeStrengthFinder, btScalar> Document::SetEdgeStrengthDelta |
Command for changing the edge gradient strength at one end of an edge.
Definition at line 56 of file SetEdgeStrengthDelta.h.
typedef ChangePropertyDelta<StartEdgeFinder, unsigned long int> Document::SetStartEdgeDelta |
Command for changing the starting edge of the path.
Definition at line 34 of file SetStartEdgeDelta.h.
Document::Document | ( | const Track::Theme & | theme | ) |
Definition at line 22 of file Document.cpp.
Document::Document | ( | std::istream & | source, | |
const Track::Theme & | theme | |||
) |
Definition at line 29 of file Document.cpp.
Document::~Document | ( | ) |
Definition at line 36 of file Document.cpp.
void Document::do_command | ( | boost::shared_ptr< DocumentDelta > | delta | ) |
Definition at line 40 of file Document.cpp.
void Document::preview_command | ( | boost::shared_ptr< DocumentDelta > | delta | ) |
Definition at line 58 of file Document.cpp.
void Document::cancel_preview | ( | ) |
Definition at line 67 of file Document.cpp.
void Document::undo_command | ( | ) |
Definition at line 77 of file Document.cpp.
void Document::redo_command | ( | ) |
Definition at line 91 of file Document.cpp.
sigc::signal<void> Document::signal_command_run | ( | ) |
Definition at line 104 of file Document.cpp.
bool Document::get_undo_avaliable | ( | ) | const |
Definition at line 109 of file Document.cpp.
bool Document::get_redo_avaliable | ( | ) | const |
Definition at line 114 of file Document.cpp.
void Document::save | ( | std::ostream & | destination | ) |
Definition at line 119 of file Document.cpp.
bool Document::is_saved | ( | ) | const |
Definition at line 128 of file Document.cpp.
const Track::Track& Document::get_track | ( | ) | const |
Definition at line 133 of file Document.cpp.
unsigned int Document::get_changes_since_save | ( | ) | const |
Definition at line 138 of file Document.cpp.
Generated at Mon Sep 6 00:41:16 2010 by Doxygen version 1.4.7 for Racer version svn335.