8 #ifndef vtkMoleculeRepresentation_h 9 #define vtkMoleculeRepresentation_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 representation for showing vtkMolecules
virtual vtkDataObject * GetRenderedDataObject(int vtkNotUsed(port))
Returns the data object that is rendered from the given input port.
#define VTKREMOTINGVIEWS_EXPORT
vtkPVDataRepresentation adds some ParaView specific API to data representations.
bool AddToView(vtkView *view) override
Making these methods public.
virtual void SetVisibility(bool val)
Get/Set the visibility for this representation.
virtual int ProcessViewRequest(vtkInformationRequestKey *request_type, vtkInformation *inInfo, vtkInformation *outInfo)
vtkAlgorithm::ProcessRequest() equivalent for rendering passes.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
Overridden to invoke vtkCommand::UpdateDataEvent.
vtkNew< vtkMolecule > Molecule
bool RemoveFromView(vtkView *view) override
Making these methods public.
static vtkDataRepresentation * New()
void SetRepresentation(const char *)
No-op.
void PrintSelf(ostream &os, vtkIndent indent) override
vtkMoleculeMapper * Mapper