www.mooseframework.org
EulerAngleProvider2RGBAux.h
Go to the documentation of this file.
1 /****************************************************************/
2 /* MOOSE - Multiphysics Object Oriented Simulation Environment */
3 /* */
4 /* All contents are licensed under LGPL V2.1 */
5 /* See LICENSE for full restrictions */
6 /****************************************************************/
7 #ifndef EULERANGLEPROVIDER2RGBAUX_H
8 #define EULERANGLEPROVIDER2RGBAUX_H
9 
10 #include "AuxKernel.h"
11 #include "EulerAngleProvider.h"
12 #include "GrainTracker.h"
13 
14 // Forward Declarations
16 class GrainTracker;
17 class EulerAngleProvider;
18 
19 template <>
21 
25 class EulerAngleProvider2RGBAux : public AuxKernel
26 {
27 public:
28  EulerAngleProvider2RGBAux(const InputParameters & parameters);
29 
30 protected:
31  virtual Real computeValue();
32  virtual void precalculateValue();
33 
35  const unsigned int _sd;
36 
38  const unsigned int _xtal_class;
39 
41  const unsigned int _output_type;
42 
45 
48 
50  Real _value;
51 
53  const Point _no_grain_color;
54 };
55 
56 #endif // EULERANGLEPROVIDER2RGBAUX_H
const unsigned int _sd
Reference direction of the sample.
const unsigned int _xtal_class
Crystal structure of the sample.
const unsigned int _output_type
Type of value to be outputted.
const Point _no_grain_color
Vector containing values for color in regions without grains.
EulerAngleProvider2RGBAux(const InputParameters &parameters)
const EulerAngleProvider & _euler
Object providing the Euler angles.
Real _value
precalculated element value
const GrainTracker & _grain_tracker
Grain tracker object.
Abstract base class for user objects that implement the Euler Angle provider interface.
Output euler angles from user object to an AuxVariable.
InputParameters validParams< EulerAngleProvider2RGBAux >()