#include <mitkGridVolumeMapperProperty.h>


Public Types | |
| enum | MapperType { RAYCAST = 0 } |
| typedef GridVolumeMapperProperty | Self |
| typedef EnumerationProperty | Superclass |
| typedef itk::SmartPointer< Self > | Pointer |
| typedef itk::SmartPointer < const Self > | ConstPointer |
Public Member Functions | |
| virtual const char * | GetClassName () const |
| virtual void | SetVolumeMapperToRayCast () |
Static Public Member Functions | |
| static Pointer | New () |
| static Pointer | New (const IdType &_arg) |
| static Pointer | New (const std::string &_arg) |
Protected Member Functions | |
| GridVolumeMapperProperty () | |
| GridVolumeMapperProperty (const IdType &value) | |
| GridVolumeMapperProperty (const std::string &value) | |
| virtual bool | AddEnum (const std::string &name, const IdType &id) |
| virtual void | AddRepresentationTypes () |
Extends the enumeration prop mitkEnumerationPropery. Adds the value (constant/Id/string representation): PT/0/Projected Tetrahedra, ZSWEEP/1/ZSweep, RAYCAST/2/Ray Cast Default is the Wireframe representation
Definition at line 33 of file mitkGridVolumeMapperProperty.h.
| typedef itk::SmartPointer<const Self> mitk::GridVolumeMapperProperty::ConstPointer |
Reimplemented from mitk::EnumerationProperty.
Definition at line 44 of file mitkGridVolumeMapperProperty.h.
| typedef itk::SmartPointer<Self> mitk::GridVolumeMapperProperty::Pointer |
Reimplemented from mitk::EnumerationProperty.
Definition at line 44 of file mitkGridVolumeMapperProperty.h.
Reimplemented from mitk::EnumerationProperty.
Definition at line 44 of file mitkGridVolumeMapperProperty.h.
Reimplemented from mitk::EnumerationProperty.
Definition at line 44 of file mitkGridVolumeMapperProperty.h.
Definition at line 37 of file mitkGridVolumeMapperProperty.h.
{ RAYCAST = 0
#if (VTK_MAJOR_VERSION >= 5)
, PT = 1, ZSWEEP = 2
#endif
};
| mitk::GridVolumeMapperProperty::GridVolumeMapperProperty | ( | ) | [protected] |
Constructor. Sets the representation to a default value of Wireframe(1)
Definition at line 22 of file mitkGridVolumeMapperProperty.cpp.
References AddRepresentationTypes(), RAYCAST, and mitk::EnumerationProperty::SetValue().
{
AddRepresentationTypes();
#if (VTK_MAJOR_VERSION >= 5)
SetValue( PT );
#else
SetValue( RAYCAST );
#endif
}
| mitk::GridVolumeMapperProperty::GridVolumeMapperProperty | ( | const IdType & | value ) | [protected] |
Constructor. Sets the representation to the given value. If it is not valid, the representation is set to Wireframe(1)
| value | the integer representation of the representation |
Definition at line 33 of file mitkGridVolumeMapperProperty.cpp.
{
AddRepresentationTypes();
if ( IsValidEnumerationValue( value ) )
{
SetValue( value );
}
else
{
#if (VTK_MAJOR_VERSION >= 5)
SetValue( PT );
#else
SetValue( RAYCAST );
#endif
}
}
| mitk::GridVolumeMapperProperty::GridVolumeMapperProperty | ( | const std::string & | value ) | [protected] |
Constructor. Sets the representation to the given value. If it is not valid, the representation is set to Wireframe(1)
| value | the string representation of the representation |
Definition at line 51 of file mitkGridVolumeMapperProperty.cpp.
{
AddRepresentationTypes();
if ( IsValidEnumerationValue( value ) )
{
SetValue( value );
}
else
{
#if (VTK_MAJOR_VERSION >= 5)
SetValue( PT );
#else
SetValue( RAYCAST );
#endif
}
}
| bool mitk::GridVolumeMapperProperty::AddEnum | ( | const std::string & | name, |
| const IdType & | id | ||
| ) | [protected, virtual] |
this function is overridden as protected, so that the user may not add additional invalid representation types.
Reimplemented from mitk::EnumerationProperty.
Definition at line 101 of file mitkGridVolumeMapperProperty.cpp.
{
return Superclass::AddEnum( name, id );
}
| void mitk::GridVolumeMapperProperty::AddRepresentationTypes | ( | ) | [protected, virtual] |
Adds the enumeration types as defined by vtk to the list of known enumeration values.
Definition at line 89 of file mitkGridVolumeMapperProperty.cpp.
Referenced by GridVolumeMapperProperty().
| virtual const char* mitk::GridVolumeMapperProperty::GetClassName | ( | ) | const [virtual] |
Reimplemented from mitk::EnumerationProperty.
| static Pointer mitk::GridVolumeMapperProperty::New | ( | ) | [static] |
Reimplemented from mitk::EnumerationProperty.
Referenced by mitk::UnstructuredGridVtkMapper3D::SetDefaultProperties().
| static Pointer mitk::GridVolumeMapperProperty::New | ( | const std::string & | _arg ) | [inline, static] |
Definition at line 50 of file mitkGridVolumeMapperProperty.h.
:
Definition at line 48 of file mitkGridVolumeMapperProperty.h.
| void mitk::GridVolumeMapperProperty::SetVolumeMapperToRayCast | ( | ) | [virtual] |
Sets the mapper to ray casting.
Definition at line 83 of file mitkGridVolumeMapperProperty.cpp.
1.7.2