18 #include <vtkProperty.h>
23 SetValue(static_cast<IdType>(VTK_SURFACE));
28 AddRepresentationTypes();
29 if (IsValidEnumerationValue(value))
35 SetValue(static_cast<IdType>(VTK_SURFACE));
41 AddRepresentationTypes();
42 if (IsValidEnumerationValue(value))
48 SetValue(static_cast<IdType>(VTK_SURFACE));
54 return static_cast<int>(GetValueAsId());
59 SetValue(static_cast<IdType>(VTK_POINTS));
64 SetValue(static_cast<IdType>(VTK_WIREFRAME));
69 SetValue(static_cast<IdType>(VTK_SURFACE));
74 AddEnum(
"Points", static_cast<IdType>(VTK_POINTS));
75 AddEnum(
"Wireframe", static_cast<IdType>(VTK_WIREFRAME));
76 AddEnum(
"Surface", static_cast<IdType>(VTK_SURFACE));
81 return Superclass::AddEnum(name,
id);
virtual bool SetValue(const std::string &name)
itk::SmartPointer< Self > Pointer
virtual void AddRepresentationTypes()
virtual bool AddEnum(const std::string &name, const IdType &id) override
virtual void SetRepresentationToSurface()
virtual void SetRepresentationToPoints()
virtual void SetRepresentationToWireframe()
VtkRepresentationProperty()
virtual int GetVtkRepresentation()