Developer Documentation
Loading...
Searching...
No Matches
VSI::ElementFunction Class Reference

#include <Plugin-VSI/scene/elementFunction.hh>

Inheritance diagram for VSI::ElementFunction:

Public Slots

void editFunction ()
 

Public Member Functions

 ElementFunction (Function *_f, SceneElement *_element)
 Constructor.
 
 ~ElementFunction ()
 Destructor.
 
SceneElementelement ()
 The scene element of this function element.
 
Functionfunction ()
 Function class.
 
GraphicsScenescene ()
 Scene.
 
void saveToXml (QDomDocument &_doc, QDomElement &_root)
 Save to xml.
 
void loadElementFunctionFromXml (QDomElement &_domElement)
 Load from xml.
 

Private Attributes

SceneElementelement_
 
Functionfunction_
 
GraphicsScenescene_
 

Detailed Description

Class that represents a function of an element. It holds the VSI::GraphicsScene to edit the function

Definition at line 66 of file elementFunction.hh.

Constructor & Destructor Documentation

◆ ElementFunction()

VSI::ElementFunction::ElementFunction ( Function _f,
SceneElement _element 
)

Constructor.

Definition at line 64 of file elementFunction.cc.

◆ ~ElementFunction()

VSI::ElementFunction::~ElementFunction ( )

Destructor.

Definition at line 76 of file elementFunction.cc.

Member Function Documentation

◆ editFunction

void VSI::ElementFunction::editFunction ( )
slot

Definition at line 103 of file elementFunction.cc.

◆ element()

SceneElement * VSI::ElementFunction::element ( )
inline

The scene element of this function element.

Definition at line 79 of file elementFunction.hh.

◆ function()

Function * VSI::ElementFunction::function ( )
inline

Function class.

Definition at line 82 of file elementFunction.hh.

◆ loadElementFunctionFromXml()

void VSI::ElementFunction::loadElementFunctionFromXml ( QDomElement &  _domElement)

Load from xml.

Definition at line 95 of file elementFunction.cc.

◆ saveToXml()

void VSI::ElementFunction::saveToXml ( QDomDocument &  _doc,
QDomElement &  _root 
)

Save to xml.

Definition at line 84 of file elementFunction.cc.

◆ scene()

GraphicsScene * VSI::ElementFunction::scene ( )
inline

Scene.

Definition at line 85 of file elementFunction.hh.

Member Data Documentation

◆ element_

SceneElement* VSI::ElementFunction::element_
private

Definition at line 100 of file elementFunction.hh.

◆ function_

Function* VSI::ElementFunction::function_
private

Definition at line 101 of file elementFunction.hh.

◆ scene_

GraphicsScene* VSI::ElementFunction::scene_
private

Definition at line 103 of file elementFunction.hh.


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