ResidualVM logo ResidualVM website - Forums - Contact us BuildBot - Doxygen - Wiki curved edge

A 2D path for 2D items. More...

#include <path.h>

Inheritance diagram for Stark::Resources::Path2D:
Collaboration diagram for Stark::Resources::Path2D:

List of all members.

Classes

struct  Vertex

Public Member Functions

 Path2D (Object *parent, byte subType, uint16 index, const Common::String &name)
virtual ~Path2D ()
virtual void readData (Formats::XRCReadStream *stream) override
 Deserialize the resource static data and initial state.
uint getEdgeCount () const override
 Get the edge count in the path.

Protected Member Functions

float getVertexWeight (uint vertexIndex) const override
Math::Vector3d getVertexPosition (uint vertexIndex) const override

Private Member Functions

void printData () override

Private Attributes

Common::Array< Vertex_vertices

Detailed Description

A 2D path for 2D items.

Definition at line 96 of file path.h.


Constructor & Destructor Documentation

Stark::Resources::Path2D::Path2D ( Object parent,
byte  subType,
uint16  index,
const Common::String name 
)

Definition at line 103 of file path.cpp.

Stark::Resources::Path2D::~Path2D (  )  [virtual]

Definition at line 131 of file path.cpp.


Member Function Documentation

uint Stark::Resources::Path2D::getEdgeCount (  )  const [override, virtual]

Get the edge count in the path.

Implements Stark::Resources::Path.

Definition at line 134 of file path.cpp.

Math::Vector3d Stark::Resources::Path2D::getVertexPosition ( uint  vertexIndex  )  const [override, protected, virtual]

Implements Stark::Resources::Path.

Definition at line 138 of file path.cpp.

float Stark::Resources::Path2D::getVertexWeight ( uint  vertexIndex  )  const [override, protected, virtual]

Implements Stark::Resources::Path.

Definition at line 143 of file path.cpp.

void Stark::Resources::Path2D::printData (  )  [override, private, virtual]

Reimplemented from Stark::Resources::Path.

Definition at line 122 of file path.cpp.

void Stark::Resources::Path2D::readData ( Formats::XRCReadStream stream  )  [override, virtual]

Deserialize the resource static data and initial state.

Reimplemented from Stark::Resources::Path.

Definition at line 107 of file path.cpp.


Member Data Documentation

Definition at line 120 of file path.h.


The documentation for this class was generated from the following files:


Generated on Sat Jul 20 2019 05:03:36 for ResidualVM by doxygen 1.7.1
curved edge   curved edge