Blame view

src/Request/ParamsRequestImpl/Nodes/Requests/RequestOutputPlotOrbitSerieNodeClass.php 1.07 KB
26a23052   Benjamin Renard   Add Interval Tick...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<?php

define ("REQUESTOUTPUTPLOTORBITSERIE_NAME", "orbitserie");

define ("REQUESTOUTPUTPLOTORBITSERIE_PROJECTION", "projection");

abstract class RequestOutputPlotOrbitSerieProjectionEnum
{
	const XY = "XY";
	const XZ = "XZ";
	const YZ = "YZ";
	const XR = "XR";
	const YR = "YR";
	const ZR = "ZR";
}

/**
 * @class RequestOutputPlotOrbitSerieNodeClass
 * @brief Definition of an orbit serie for a plot of a plot request
 * @details
*/
class RequestOutputPlotOrbitSerieNodeClass extends RequestOutputPlotBaseSerieNodeClass
{
	public function __construct()
	{
		parent::__construct(REQUESTOUTPUTPLOTORBITSERIE_NAME);
	}

	public function setProjection($projection)
	{
		$this->setAttribute(REQUESTOUTPUTPLOTORBITSERIE_PROJECTION, $projection);
	}

	public function getProjection()
	{
		return $this->getAttribute(REQUESTOUTPUTPLOTORBITSERIE_PROJECTION);
	}
966bd5f8   Benjamin Renard   Add request to ge...
38
39
40
41
42
43
	
	public function loadFromNode($xmlNode)
	{
		$this->setProjection($this->getXmlNodeAttribute($xmlNode, REQUESTOUTPUTPLOTORBITSERIE_PROJECTION));
		parent::loadFromNode($xmlNode);
	}
26a23052   Benjamin Renard   Add Interval Tick...
44
45
46
}

?>