package prt
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- prt
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Type Members
-
type
GreyOrRGB[T] = Either[T, (T, T, T)]
Type alias for Either[T, (T, T, T)]
- implicit final class GreyOrRGBExtension [T] extends AnyVal
- implicit final class RGBExtension [T] extends AnyVal
-
type
TupleRGB[T] = (T, T, T)
Type alias for (T, T, T)
-
type
|[A, B] = Either[A, B]
Type alias for Either[A, B]
Value Members
-
implicit
def
makeGrey[A, B](a: A): Left[A, B]
Returns Left of an instance of Either[T, (T, T, T)]
-
implicit
def
makeRGB[A, B](b: B): Right[A, B]
Returns Right of an instance of Either[T, (T, T, T)]
- implicit def rgbSHVectorToScalismoLight(sh: TupleRGB[DenseVector[Double]]): SphericalHarmonicsLight
-
implicit
def
scalismoRGBToGreyOrRGB(color: RGB): GreyOrRGB[Double]
Converts a scalismo RGB value to an instance of GreyOrRGB[Double].
Converts a scalismo RGB value to an instance of GreyOrRGB[Double]. If the values of the RGB channels are identical, the result will be a monochromatic representation of the color, i.e. Left[Double, (Double, Double, Double)].
- implicit def traversableFromGreyOrRGB[A](greyOrRGB: GreyOrRGB[A]): Traversable[A]
- object GreyOrRGB