ROOT logo
// $Id: SMorph.h 2438 2010-08-15 19:16:01Z matevz $

// Copyright (C) 1999-2008, Matevz Tadel. All rights reserved.
// This file is part of GLED, released under GNU General Public License version 2.
// For the licensing terms see $GLEDSYS/LICENSE or http://www.gnu.org/.

#ifndef Geom1_SMorph_H
#define Geom1_SMorph_H

#include <Glasses/ZNode.h>
#include <Stones/ZColor.h>

class ZImage;
class TubeTvor;

class SMorph : public ZNode
{
  MAC_RNR_FRIENDS(SMorph);

private:
  void		Messofy(Float_t ct, Float_t st, Float_t phi);
  void		_init(Float_t r);

protected:
  Int_t		mTLevel;	// X{gST} 7 Value(-range=>[2,100, 1], -join=>1)
  Int_t		mPLevel;	// X{gST} 7 Value(-range=>[3,100, 1])

  Float_t	mTx;		// X{gST} 7 Value(-range=>[-10,10, 1,100], -join=>1)
  Float_t	mCx;		// X{gST} 7 Value(-range=>[-10,10, 1,100], -join=>1)
  Float_t	mRz;		// X{gST} 7 Value(-range=>[-10,10, 1,100])
  Float_t       mThetaMin;      // X{gST} 7 Value(-range=>[0,1, 1,1000], -join=>1)
  Float_t       mThetaMax;      // X{gST} 7 Value(-range=>[0,1, 1,1000])
  Float_t       mPhiMean;       // X{gST} 7 Value(-range=>[0,1, 1,1000], -join=>1)
  Float_t       mPhiRange;      // X{gST} 7 Value(-range=>[0,1, 1,1000])
  Bool_t	bEquiSurf;	// X{gST} 7 Bool()
  ZColor	mColor;		// X{PGST} 7 ColorButt()

  ZLink<ZImage>	mTexture;	// X{gST} L{} RnrBits{4,0,5,0}
  Float_t	mTexX0;         // X{gST} 7 Value(-range=>[-1e3,1e3,1,1000], -join=>1)
  Float_t	mTexY0;         // X{gST} 7 Value(-range=>[-1e3,1e3,1,1000])
  Float_t	mTexXC;         // X{gST} 7 Value(-range=>[-1e3,1e3,1,1000], -join=>1)
  Float_t	mTexYC;         // X{gST} 7 Value(-range=>[-1e3,1e3,1,1000])
  Float_t	mTexYOff;	// X{gST} 7 Value(-range=>[-10,10,1,1000])

  TubeTvor*	pTuber;		//!
  Bool_t	bTextured;	//!

public:
  SMorph(const Text_t* n="SMorph", const Text_t* t=0) : ZNode(n,t)
  { _init(1); }
  SMorph(Float_t r, const Text_t* n="SMorph", const Text_t* t=0) : ZNode(n,t)
  { _init(r); }
  virtual ~SMorph();

  // virtuals
  virtual void Triangulate();

#include "SMorph.h7"
  ClassDef(SMorph, 1);
}; // endclass SMorph


#endif
 SMorph.h:1
 SMorph.h:2
 SMorph.h:3
 SMorph.h:4
 SMorph.h:5
 SMorph.h:6
 SMorph.h:7
 SMorph.h:8
 SMorph.h:9
 SMorph.h:10
 SMorph.h:11
 SMorph.h:12
 SMorph.h:13
 SMorph.h:14
 SMorph.h:15
 SMorph.h:16
 SMorph.h:17
 SMorph.h:18
 SMorph.h:19
 SMorph.h:20
 SMorph.h:21
 SMorph.h:22
 SMorph.h:23
 SMorph.h:24
 SMorph.h:25
 SMorph.h:26
 SMorph.h:27
 SMorph.h:28
 SMorph.h:29
 SMorph.h:30
 SMorph.h:31
 SMorph.h:32
 SMorph.h:33
 SMorph.h:34
 SMorph.h:35
 SMorph.h:36
 SMorph.h:37
 SMorph.h:38
 SMorph.h:39
 SMorph.h:40
 SMorph.h:41
 SMorph.h:42
 SMorph.h:43
 SMorph.h:44
 SMorph.h:45
 SMorph.h:46
 SMorph.h:47
 SMorph.h:48
 SMorph.h:49
 SMorph.h:50
 SMorph.h:51
 SMorph.h:52
 SMorph.h:53
 SMorph.h:54
 SMorph.h:55
 SMorph.h:56
 SMorph.h:57
 SMorph.h:58
 SMorph.h:59
 SMorph.h:60
 SMorph.h:61
 SMorph.h:62
 SMorph.h:63