Go to the documentation of this file.
8 #ifndef vtkMoleculeRepresentation_h
9 #define vtkMoleculeRepresentation_h
12 #include "vtkRemotingViewsModule.h"
33 vtkGetMacro(MoleculeRenderMode,
int)
void SetMoleculeRenderMode(
int mode);
35 vtkGetMacro(UseCustomRadii,
bool)
void SetUseCustomRadii(
bool val);
43 virtual void SetOpacity(
double val);
44 virtual void SetSpecular(
double val);
45 virtual void SetSpecularPower(
double val);
52 void SetMapScalars(
bool map);
74 void SetAtomicRadiusType(
int type);
75 void SetAtomicRadiusScaleFactor(
double factor);
76 void SetBondRadius(
double factor);
77 void SetBondColorMode(
int mode);
78 void SetBondColor(
double color[3]);
79 void SetBondColor(
double r,
double g,
double b);
80 void SetUseMultiCylindersForBonds(
bool use);
81 void SetRenderAtoms(
bool render);
82 void SetRenderBonds(
bool render);
83 void SetAtomicRadiusArray(
const char* name);
96 void UpdateColoringParameters();
106 double DataBounds[6];
113 #endif // vtkMoleculeRepresentation_h
static vtkDataRepresentation * New()
bool AddToView(vtkView *view) override
Making these methods public.
virtual void SetVisibility(bool val)
Get/Set the visibility for this representation.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
Overridden to invoke vtkCommand::UpdateDataEvent.
bool RemoveFromView(vtkView *view) override
Making these methods public.
vtkNew< vtkMolecule > Molecule
virtual int ProcessViewRequest(vtkInformationRequestKey *request_type, vtkInformation *inInfo, vtkInformation *outInfo)
vtkAlgorithm::ProcessRequest() equivalent for rendering passes.
void SetRepresentation(const char *)
No-op.
void PrintSelf(ostream &os, vtkIndent indent) override
representation for showing vtkMolecules
vtkMoleculeMapper * Mapper
virtual vtkDataObject * GetRenderedDataObject(int vtkNotUsed(port))
Returns the data object that is rendered from the given input port.