ALBA
|
#include <mmaVolumeMaterial.h>
Public Member Functions | |
mmaVolumeMaterial () | |
virtual | ~mmaVolumeMaterial () |
albaTypeMacro (mmaVolumeMaterial, albaAttribute) | |
virtual void | Print (std::ostream &os, const int tabs=0) const |
virtual void | DeepCopy (const albaAttribute *a) |
virtual bool | Equals (const albaAttribute *a) |
void | UpdateProp () |
void | UpdateFromTables () |
void | ApplyGammaCorrection (int preset=-1) |
double const * | GetTableRange () |
void | SetTableRange (double *tableRange) |
void | SetTableRange (double a, double b) |
Public Member Functions inherited from albaAttribute | |
albaAbstractTypeMacro (albaAttribute, albaReferenceCounted) | |
void | operator= (const albaAttribute &a) |
bool | operator== (const albaAttribute &a) const |
virtual void | DeepCopy (const albaAttribute *a) |
albaAttribute * | MakeCopy () |
bool | Equals (const albaAttribute *a) const |
void | SetName (const char *name) |
const char * | GetName () const |
albaObject * | NewObjectInstance () const |
albaAttribute * | NewInstance () const |
virtual void | Print (std::ostream &os, const int tabs=0) const |
Public Member Functions inherited from albaReferenceCounted | |
albaReferenceCounted () | |
virtual | ~albaReferenceCounted () |
albaAbstractTypeMacro (albaReferenceCounted, albaObject) | |
virtual void | Delete () |
void | Register (void *obj) |
virtual void | UnRegister (void *obj) |
int | GetReferenceCount () |
void | SetReferenceCount (int) |
Public Member Functions inherited from albaObject | |
albaObject () | |
virtual | ~albaObject () |
virtual void | Delete () |
virtual const char * | GetTypeName () const |
virtual bool | IsA (const char *type_name) const |
virtual bool | IsA (const albaTypeID &type_id) const |
virtual albaObject * | NewObjectInstance () const =0 |
virtual const albaTypeID & | GetTypeId () const |
virtual void | Print (std::ostream &os, const int indent=0) const |
albaObject (const albaObject &c) | |
Public Member Functions inherited from albaStorable | |
albaStorable () | |
int | Store (albaStorageElement *element) |
int | Restore (albaStorageElement *element) |
albaObject * | CastToObject () |
bool | IsStorable () |
Public Attributes | |
vtkLookupTable * | m_ColorLut |
vtkPiecewiseFunction * | m_OpacityTransferFunction |
vtkPiecewiseFunction * | m_GradientTransferFunction |
vtkColorTransferFunction * | m_ColorTransferFunction |
vtkVolumeProperty * | m_VolumeProperty |
vtkVolumeProperty2 * | m_VolumeProperty2 |
albaString | m_MaterialName |
double | m_Level_LUT |
double | m_Window_LUT |
double | m_GammaCorrection |
double | m_HueRange [2] |
double | m_SaturationRange [2] |
int | m_NumValues |
int | m_InterpolationType |
int | m_Shade |
Protected Member Functions | |
virtual int | InternalStore (albaStorageElement *parent) |
virtual int | InternalRestore (albaStorageElement *node) |
virtual int | InternalStore (albaStorageElement *parent) |
virtual int | InternalRestore (albaStorageElement *node) |
virtual int | InternalStore (albaStorageElement *node)=0 |
virtual int | InternalRestore (albaStorageElement *node)=0 |
Protected Attributes | |
int | m_NumOpacityValues |
int | m_NumGradientValues |
int | m_NumColorValues |
Protected Attributes inherited from albaAttribute | |
albaString | m_Name |
Protected Attributes inherited from albaReferenceCounted | |
int | m_ReferenceCount |
Protected Attributes inherited from albaObject | |
bool | m_HeapFlag |
Protected Attributes inherited from albaStorable | |
bool | m_Storable |
Additional Inherited Members | |
Static Public Member Functions inherited from albaObject | |
static const char * | GetStaticTypeName () |
static bool | IsStaticType (const char *type_name) |
static bool | IsStaticType (const albaTypeID &type_id) |
static const albaTypeID & | GetStaticTypeId () |
static albaObject * | SafeDownCast (albaObject *o) |
Static Public Member Functions inherited from albaStorable | |
static albaStorable * | SafeCastToObject (albaObject *o) |
Definition at line 38 of file mmaVolumeMaterial.h.
mmaVolumeMaterial::mmaVolumeMaterial | ( | ) |
|
virtual |
mmaVolumeMaterial::albaTypeMacro | ( | mmaVolumeMaterial | , |
albaAttribute | |||
) |
|
virtual |
Print a dump of this object.
Reimplemented from albaAttribute.
|
virtual |
Copy the contents of another Meter attribute into this one.
Reimplemented from albaAttribute.
|
virtual |
Compare with another Meter attribute.
void mmaVolumeMaterial::UpdateProp | ( | ) |
Call to update volume properties.
void mmaVolumeMaterial::UpdateFromTables | ( | ) |
Used to update all member variables from LUT or Transfer Functions.
void mmaVolumeMaterial::ApplyGammaCorrection | ( | int | preset = -1 | ) |
Used to apply gamma correction to lut preset, need preset in order to avoid recursive applying on the same lut.
|
inline |
Returns TableRange.
Definition at line 84 of file mmaVolumeMaterial.h.
|
inline |
Sets TableRange.
Definition at line 87 of file mmaVolumeMaterial.h.
|
inline |
Definition at line 90 of file mmaVolumeMaterial.h.
|
protectedvirtual |
This is called by Store() and must be reimplemented by subclasses.
The node element where the object should store itself is passed as argument.
Reimplemented from albaAttribute.
|
protectedvirtual |
This is called by Restore() and must be reimplemented by subclasses The element from which the object should restore itself is passed as argument.
Reimplemented from albaAttribute.
vtkLookupTable* mmaVolumeMaterial::m_ColorLut |
Definition at line 64 of file mmaVolumeMaterial.h.
vtkPiecewiseFunction* mmaVolumeMaterial::m_OpacityTransferFunction |
Definition at line 65 of file mmaVolumeMaterial.h.
vtkPiecewiseFunction* mmaVolumeMaterial::m_GradientTransferFunction |
Definition at line 66 of file mmaVolumeMaterial.h.
vtkColorTransferFunction* mmaVolumeMaterial::m_ColorTransferFunction |
Definition at line 67 of file mmaVolumeMaterial.h.
vtkVolumeProperty* mmaVolumeMaterial::m_VolumeProperty |
Definition at line 68 of file mmaVolumeMaterial.h.
vtkVolumeProperty2* mmaVolumeMaterial::m_VolumeProperty2 |
Definition at line 69 of file mmaVolumeMaterial.h.
albaString mmaVolumeMaterial::m_MaterialName |
Associate a name to the volume material, this will be visible into the .msf file.
Definition at line 71 of file mmaVolumeMaterial.h.
double mmaVolumeMaterial::m_Level_LUT |
Definition at line 73 of file mmaVolumeMaterial.h.
double mmaVolumeMaterial::m_Window_LUT |
Definition at line 74 of file mmaVolumeMaterial.h.
double mmaVolumeMaterial::m_GammaCorrection |
Definition at line 75 of file mmaVolumeMaterial.h.
double mmaVolumeMaterial::m_HueRange[2] |
Definition at line 76 of file mmaVolumeMaterial.h.
double mmaVolumeMaterial::m_SaturationRange[2] |
Definition at line 77 of file mmaVolumeMaterial.h.
int mmaVolumeMaterial::m_NumValues |
Definition at line 78 of file mmaVolumeMaterial.h.
int mmaVolumeMaterial::m_InterpolationType |
Set the interpolation for the volume rendering: can be 0 (VTK_NEAREST_INTERPOLATION) or 1 (VTK_LINEAR_INTERPOLATION)
Definition at line 79 of file mmaVolumeMaterial.h.
int mmaVolumeMaterial::m_Shade |
Store the shade parameter for volume rendering (can be 0 pr 1)
Definition at line 80 of file mmaVolumeMaterial.h.
|
protected |
Definition at line 98 of file mmaVolumeMaterial.h.
|
protected |
Definition at line 99 of file mmaVolumeMaterial.h.
|
protected |
Definition at line 100 of file mmaVolumeMaterial.h.