www.mooseframework.org
EulerAngleVariables2RGBAux.h
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://www.mooseframework.org
3 //*
4 //* All rights reserved, see COPYRIGHT for full restrictions
5 //* https://github.com/idaholab/moose/blob/master/COPYRIGHT
6 //*
7 //* Licensed under LGPL 2.1, please see LICENSE for details
8 //* https://www.gnu.org/licenses/lgpl-2.1.html
9 
10 #pragma once
11 
12 #include "AuxKernel.h"
13 
15 
16 template <>
18 
24 class EulerAngleVariables2RGBAux : public AuxKernel
25 {
26 public:
27  EulerAngleVariables2RGBAux(const InputParameters & parameters);
28 
29 protected:
30  virtual Real computeValue();
31 
32 private:
34  const unsigned int _sd;
35 
37  const unsigned int _output_type;
38 
40  const VariableValue & _phi1;
41  const VariableValue & _phi;
42  const VariableValue & _phi2;
44 
46  const VariableValue & _phase;
47 
49  const VariableValue & _sym;
50 };
51 
EulerAngleVariables2RGBAux::_output_type
const unsigned int _output_type
Type of value to be outputted.
Definition: EulerAngleVariables2RGBAux.h:37
EulerAngleVariables2RGBAux::computeValue
virtual Real computeValue()
Definition: EulerAngleVariables2RGBAux.C:45
EulerAngleVariables2RGBAux::_phi1
const VariableValue & _phi1
Euler angles to visualize.
Definition: EulerAngleVariables2RGBAux.h:40
EulerAngleVariables2RGBAux::_sd
const unsigned int _sd
Reference direction of the sample.
Definition: EulerAngleVariables2RGBAux.h:34
validParams< EulerAngleVariables2RGBAux >
InputParameters validParams< EulerAngleVariables2RGBAux >()
Definition: EulerAngleVariables2RGBAux.C:17
EulerAngleVariables2RGBAux
Create an encoded RGB triplet from Euler angle data.
Definition: EulerAngleVariables2RGBAux.h:24
EulerAngleVariables2RGBAux::EulerAngleVariables2RGBAux
EulerAngleVariables2RGBAux(const InputParameters &parameters)
Definition: EulerAngleVariables2RGBAux.C:32
EulerAngleVariables2RGBAux::_phase
const VariableValue & _phase
EBSD Phase index.
Definition: EulerAngleVariables2RGBAux.h:46
EulerAngleVariables2RGBAux::_phi
const VariableValue & _phi
Definition: EulerAngleVariables2RGBAux.h:41
EulerAngleVariables2RGBAux::_sym
const VariableValue & _sym
EBSD Crystal symmetry identifier.
Definition: EulerAngleVariables2RGBAux.h:49
EulerAngleVariables2RGBAux::_phi2
const VariableValue & _phi2
Definition: EulerAngleVariables2RGBAux.h:42